Click here to Skip to main content
16,020,261 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to increases session timeout limit in my asp.net application (Global.asax) I have set it to 90 minutes using

VB
Sub Session_OnStart()
    Session.Timeout = 90
End Sub

in my global.asax BUT actually it is not increasing from 20 minutes. I have also made changes to Web.config

VB
system.web>
    sessionState timeout="90"  />


Please advise.
Posted
Comments
Aravindba 24-Jan-14 3:13am    
if u set 90 mins,then session time limt is 90 mins,try to use 20 * 60 * 1000; this for 20 mins

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900