Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use same object instance on multiple pages
Message
 
To
05/05/2004 21:31:42
General information
Forum:
Visual FoxPro
Category:
ActiveVFP
Miscellaneous
Thread ID:
00900416
Message ID:
00901503
Views:
20
We're apartment threaded, but it's probably never a good idea to store entire objects in the Session.
>In my searching, I found a reference that stated that only objects declared as both free and apartment threaded should be stored in the Session object. Not sure if this is correct though.
>
>>Yeah, I seem to remember some advice against saving entire objects to the Session. Probably too much of a memory drain or something. I'm glad the other method works. BTW, any settings in AVFP are done in the init method in main.prg. It also uses the VFP Session Class which also sets some base properties...
Previous
Reply
Map
View

Click here to load this message in the networking platform