Click here to Skip to main content
15,893,644 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more: (untagged)
[when the session is null we are by default directed to home page.]

At first when we login and perform transactions we carry the session values from one page to second page.At this second page if we remain idle for some time, the session automatically clears off. This causes us to reach back to home page . How to avoid this?

We have included the following code in the web.config file,but still we are having the same problem.

<system.web>
<sessionstate timeout="1000">
Posted

1 solution

deepthy.p.m wrote:
following code in the web.config

What ?

The behavior as per design I guess.Your sessions might be timing out.
Read this [^]
And many more:[^]
 
Share this answer
 


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