Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I tried all this suggestion but its not working till gets expired in 20r 3 minutes.


plz help!...


Actually I hosted website but in that i found problem that after few minutes my log in session gets expired and automatically comes to log in page so how can i increase session time of log in page.


so help me out to resolve this problem...
Posted
Updated 29-May-12 20:46pm
v2

see this link you may get some idea
Alert Session Time out in ASP.NET[^]
 
Share this answer
 
 
Share this answer
 
v2
 
Share this answer
 
This answer by Mr. Prasad_Kulkarni on this link is pretty awesome. check that out.

session time handling[^]
 
Share this answer
 
set the session out time web.config
HTML
<connectionstrings>
<add connectionstring="Server=.\SQLEXPRESS;Database=database name;Integrated Security=true" name="ConnectionString">Timeout=45/>
</add></connectionstrings>



Timeout=45 there are set the time
 
Share this answer
 
Refer these link..........
[^]
[^]
 
Share this answer
 
v2
 
Share this answer
 
in web config insert this line in system.web element

HTML
<sessionstate timeout="60" />


i give you link i think that will help you

Exploring Session in ASP.NET[^]
 
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