>That doesn't force the session to expire when the browser closes. It simply
>causes the cookies used by the browser to associate itself with that session
>to be discarded when the browser is closed.

True. I was thinking of using cookies though.

But now I think I will try to put this in the database for every user when a 
new page is loaded:
dtLastAccessed = #CreateODBCDateTime(now())#
Then it dosen't matter if the session still is active, because if the user 
dosen't surf to any page, the database won't be updated.

Now I only need a way to get the dtLastAccessed from the database when a new 
session is started, but only read from the database once during the whole 
session.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:204750
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to