Rich,
This is how the user scope operates now, in the sense that since it’s attached to a session cookie, once the browser window is closed, the cookie is lost and the user session can’t be further used. If, however you are asking to allow someone to leave a browser open for an extended amount of time, say overnight, and retain the user scope, then that’s easily done by setting the variabletimeout to a very high number, perhaps several days, a week or even longer. You can do this for the user sessions on only the desired domain by just assigning user$variabletimeout when those particular users login. I do not suggest that you set the user scope variabletimeout to zero, which would be no timeout, this will cause memory usage to increase indefinitely. I do suggest that you use the smallest amount of time that is acceptable and consider asking the user if they want a long timeout. You’ll want to monitor memory usage after you make this change. At this time, there is no automatic way to clean up active user sessions when the same user logs in again, however it is possible to write such a utility. Robert From: Richard V. Jasinski [mailto:[email protected]] Sent: Sunday, July 01, 2012 4:10 PM To: [email protected] Subject: TeraScript-Talk: User variable time out I have a client that wants to have their user variables to only time out when they close the browser. Doable? Downside? This is a low volume site. Also can it be specific to a domain ? _____ To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body. _____ To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body. ---------------------------------------- To unsubscribe from this list, please send an email to [email protected] with "unsubscribe terascript-talk" in the body.
