Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

session timeout

Status
Not open for further replies.

MandoThrasher

Programmer
Jul 12, 2002
49
US
Can you set a session timeout value on a per user basis? I've got an admin backend and when the user successfully logs in I set a session variable. But the session times out after 40 minutes and the user has to log in again. Would I be better off setting a cookie? That seems to make it less secure in my opinion. I'd rather set the session timeout to a longer period for that user. Any ideas?
 
Session.Timeout = 100
' this sets to a 100 minutes

do this on the condition for the users
---------------------------------------
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
From a practical standpoint, I'd want to make the administrator's timeout SHORTER rather than longer (they have access to more & therefore need more security). After all, 40 minutes is long time to have a site open w/o accesing a different page - don't you think? Get the Best Answers! faq333-2924
Merry Christmas!
mikewolf@tst-us.com
[angel][santa][elf][reindeer][santa2]
 
keep in mind closed door operations also on a bases for setting longer timeout's. 40 minutes isn't that long when in working atmosphere.

Although I don't think I would ever let them sit in wait state that long either, I can see why some might give the option. ---------------------------------------
{ str = "sleep is good for you. sleep gives you the energy you need to function";
ptr = /sleep/gi;Nstr = str.replace(ptr,"coffee");alert(Nstr); }
---------------------------------------
for the best results to your questions: FAQ333-2924

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top