Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
iam already describe in web.confige
XML
 <system.web><sessionstate>
    mode="InProc"
    cookieless="true"
    timeout="30" />
</sessionstate></system.web>



but session time out
Posted
Updated 29-Aug-14 19:56pm
v2

It depends on server memory if memory full then session will be cleared.
So in server use
C#
mode="StateServer"
 
Share this answer
 
The following link for a thread of same issue as you have and that is accepted answer so it could be helpful for you. Please go through following link.

http://stackoverflow.com/questions/10580274/how-to-stop-session-timeout-after-20minutes-in-asp-net[^]
 
Share this answer
 
Yes Sandeep Singh Shekhawat...

You are right it also needs to modify Application Configuration settings inside IIS also.
 
Share this answer
 
Comments
Nelek 1-Sep-14 5:25am    
Please don't post solutions to chat with people asking or answering. The messages are not always sorted by date, so it can be a bit difficult to follow them correctly.
The best option is to use the "Have a question or comment?" (or the tiny "reply" on another comment). Another advantage is, that the person you write to will get a notification, otherwise it could be that he/she doesn't see your additional message.
Bhavikkumar Chaudhari 1-Sep-14 6:03am    
Thanks Nelek !!!

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