Client variables are similar to a session variable but they can only store simple values (not structures like sessions) but they can be stored in a database which multiple servers can read from. This allows for scalability as your session information is shared between servers that are load balanced.
What I have always done to save information like that is to set a cookie after I set a session variable. Inside that cookie I have encrypted the username and password of the person. I would then do a check to see if the session is available and if it is not then re log them in with the cookie information (of course if it is defined also) otherwise send them to the login screen. It is usually much more secure though to have the person re login if they drop a window. J.J. Merrick daniel kessler wrote: > I didn't use session variables because if they drop the browser window and > then bring up a new one and go back, it seems to keep the variable > information whereas a cookie is just dropped, like it's associated with the > page instead of the memory space. > > What would a client variable be? > >>From what I can remember, and it has been a while since I have used > >>CFcookie but since CFlocation does a header push to the browser that the >>cookie doesn't get set if cfcookie is used prior to a cflocation. >> >>I would suggest using session or client variables which set a cookie >>anyways to keep state. >> >> >>J.J. Merrick >> >> >>Daniel Kessler wrote: >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:213737 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54