Forms authentication keeps logging out after inactivity

Xgen

New Member
When running locally, my site runs fine. However when on the live site, after around 10 seconds of inactivity I keep getting logged out.My web config line for authentication looks like the following:\[code\]<forms name="RaiseFLAuthentication" loginUrl="home.aspx" cookieless="UseCookies" defaultUrl="/myPredictions.aspx" timeout="240" slidingExpiration="false"/>\[/code\]I have also tried putting \[code\]<sessionState timeout="30"></sessionState>\[/code\]but this hasn't worked either.A second issue I am having is that although i have set the defaulturl to myPredictions.aspx, when I go to the url www.website.co.uk and log in, it does not redirect here, it stays as default url. Although again, running locally I have no problem.Can anyone suggest why either of these things are happening and how to fix this?
 
Top