Skip to main content
GameDev.net gamedev.net
🔒 Locked

ASP Session

Started by knight Apr 16, 2002 at 12:57 AM 1 replies 200+ views
Original Post
knight
knight
hi, what is the maximum numbers of minutes that i can set for a session? can it be unlimited?
Houdini
Houdini
I believe the timeout value is a 32bit unsigned integer, but don''t quote me on that.

As for an unlimited timeout value, I don''t think there is one, and it''s a bad idea either way. If it was unlimited the only way to end the session would be to manually call session.abandon. If the user just switches sites or closes his broswer without "loging out" then the session will never end. Sooner or later your website will start crawling as it runs out of memory from unclosed sessions, then eventually crash.


- Houdini
Houdini
lackluster
lackluster
ACtually, I would like to have the session never timeout while I''m working. I HATE THAT! Knight, try setting it to 0. I think it makes the max value out of that.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.