Bookmarks

Yahoo Gmail Google Facebook Delicious Twitter Reddit Stumpleupon Myspace Digg

Search queries

Use of assignment to $[ is deprecated at /usr/local/sbin/apxs line 86. , wwwxxx vim, mysql closing table and opening table, 800c5000, setgid operation not permitted, pciehp: acpi_pciehprm on IBM, WWWXXX.DBF, 078274121, info0a ip, should prodicers of software_based services be held liable or not liable for economic injuries

Links

XODOX
Impressum

#1: session time

Posted on 2006-03-18 14:47:10 by jeff

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

Report this message

#2: Re: session time

Posted on 2006-03-18 15:16:09 by reb01501

Jeff wrote:
> 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?
>

This was easily found by searching at aspfaq (hint, hint <grin>):
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"

Report this message