|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
session time
Question. How would I go about increasing the session time of a user, before
they are logged out for inactivity? The reason I want to do this, is because players may have the site open, while actually playing a game. But when they come back to report, they are no longer logged in, but it appears that they are. I assign the cookie when they login using the following code: response.cookies("username") = username Response.Cookies("username").Expires=#May 1,2020# But I don't remember writing anything that says how long the session is for. I think default is 30 minutes? can someone help? Thanks Jeff Jeff wrote:
Show quote > Question. How would I go about increasing the session time of a user, This was easily found by searching at aspfaq (hint, hint <grin>):> before they are logged out for inactivity? > > The reason I want to do this, is because players may have the site > open, while actually playing a game. But when they come back to > report, they are no longer logged in, but it appears that they are. > > I assign the cookie when they login using the following code: > > response.cookies("username") = username > Response.Cookies("username").Expires=#May 1,2020# > But I don't remember writing anything that says how long the session > is for. I think default is 30 minutes? > http://www.aspfaq.com/show.asp?id=2066 -- Microsoft MVP - ASP/ASP.NET Please reply to the newsgroup. This email account is my spam trap so I don't check it very often. If you must reply off-line, then remove the "NO SPAM" |
|||||||||||||||||||||||