troubleshooting Question

How to force user to re-login after my session variable expires in ASP.Net?

Avatar of ASPNet_Developer
ASPNet_Developer asked on
ASP.NETVisual Basic.NETWCF
4 Comments1 Solution1019 ViewsLast Modified:
I am user FORMS AUTHENTICATION in my web application.
<system.web>
  <authentication mode="Forms">
    <forms loginUrl="Login.aspx"
           timeout="3000"
           protection="none"
           cookieless="false" />
  </authentication>
</system.web>


I have a session variable sessionID. When my session variable expires of is set to less than zero. I would like to force the user to re-login again. Right now even when after I set  timeout="3000". I still able to user some of the webpages. What did I miss? Can any please suggest what I should do.
Thanks.
ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 4 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros