Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use same object instance on multiple pages
Message
From
04/05/2004 15:45:18
 
 
To
03/05/2004 11:31:55
General information
Forum:
Visual FoxPro
Category:
ActiveVFP
Miscellaneous
Thread ID:
00900416
Message ID:
00900910
Views:
31
Ok... maybe if I rephrase the question I will get a response. <g>

I have a business object that I need to be able to call upon to perform different tasks. This object requires certain properties (ie: data paths, username, etc) to be set prior to calling its methods. I am trying to determine the best way to interact with this object from an AVFP website.

Is it possible to instantiate the object so that it persists for the duration of the web session, thus allowing certain properties to be set only once?

Or is it necessary to save the property settings to the ASP Session between calls and then instantiate another instance of the object for each web page that is rendered?

Or is there a better alternative? FWIW, I'm not concerned with scalability because this is an in-house development that will only be accessed by a few people at any given time.

Dan

>I have created a custom class to manage our internal call list, and I would like to develop a web interface using AVFP that utilizes this class.
>
>How can I instantiate an instance of this class, set various properties, and then be able to access this object's PEMs from multiple web pages?
>
>Thanks, Dan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform