470,810 Members | 1,228 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,810 developers. It's quick & easy.

Is my security cookie timing out?

Hi - I have an app that does not use sessions:

<sessionState mode="Off" stateConnectionString="tcpip="
sqlConnectionString="data source=;Trusted_Connection=yes"
cookieless="true" timeout="600" />

It does use Forms authentication:

<authentication mode="Forms" >
<forms loginUrl="Login.aspx"
name = "Tenni" path="/"
protection="Validation" timeout="600" slidingExpiration="true">
If a user leaves a session idle for a while (15 mins+) then when they go
back to it, it will redirect them to Login.aspx. The url for the displayed
page is then "blah.com\login.asp?RedirectUrl=nextpage.aspx" where
'nextpage.aspx' is the page they WANTED to move to.

I am no expert, but this appears to me that my security cookie is timing
out. I thought my settings in web.config (above) would prevent this.

In my call to System.Web.Security.FormsAuthentication.SetAuthCoo kie I have
tried specifying both a session and non-session cookie - but I get the same

Can someone shed any light, or suggest how I might get more info on what's
going on?

The problem only seems to occur on my production server (hosted at
www.discountasp.net). If I run it hosted on my own development machine, it
never does this(!).



Nov 19 '05 #1
0 906

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

28 posts views Thread by grahamd | last post: by
2 posts views Thread by JamesB | last post: by
11 posts views Thread by David W. Simmonds | last post: by
1 post views Thread by J | last post: by
15 posts views Thread by Edwin Knoppert | last post: by
2 posts views Thread by darrel | last post: by
9 posts views Thread by dino d. | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.