View Full Version : Session time out
vkdixit
03-27-2009, 09:54 AM
Hi all,
I am using 3 sessions in my asp index page
session("aa")
session("aa")
session("aa")
i want to set the timeout of all session with 365 days.
is it possible, if yes ..... how?
brazenskies
03-27-2009, 10:51 AM
asp has a maximum session timeout of 1440 minutes(24 hours)
I believe you can get around that though by....
open IIS
click 'properties' on the website in question
click 'home directory' tab
click 'configuration'
choose the 'options' tab
in session timeout enter '525948' - (That's how many minutes in a year!)
shakir
03-29-2009, 03:55 PM
Can set in IIS , also code for asp is <% Session.Timeout = seconds%>
Old Pedant
03-29-2009, 09:31 PM
Shakir: Now you are down to only TWO DAYS after the SAME ANSWER by somebody else. I'm not sure if this is an improvement or not.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.