Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Object in Code - Basics
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00461449
Message ID:
00461511
Views:
17
Michael,
What did you come up with? I'm using a session table with fields for all of the properties I need and storing the session ID as a hidden variable. Linked with a timeout procedure and an occasional sweep through the table to blank records that have timed out it's working fine.

The client didn't want cookies or anything similar left on the users' computers, so it had to be a table.

Barbara

>Nevermind - I worked it out.
>
>>I've been using VISUAL Object Properties to hold values for a little while, but now I find I'd like to create one in code (since I'm doing web applications, there are really no visual objects I need to use).
>>
>>What I'd like to do is have a central function I can use to populate object properties user-specific values (user pkey, access level, fullname, etc.) that I can pull from my user table - so that I can call this function from most of my other functions. Of course, these values need to be isolated from other calls by other users.
>>
>>First, I don't really know whether to create the object in the common function or in the calling function. Second, I'm not sure of the syntax used in each of the functions....
>>
>>Some pseudo-code would be nice...
>>
>>I happen to be using WWWC.
>>
>>TIA
>>Michael
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform