Ask a Question related to ASP.NET Security, Design and Development.
-
Pete #1
Forms Authenication Cookie expires randomly (only on production server)
Hi,
I really hope someone can give me some ideas with this problem I'm having.
I've got a site that's been running just fine for the last couple of months
that uses Forms Authentication. I have two methods of login on the site, a
login.aspx page that does redirects & a bit on the default.aspx page that
adds a sec cookie. Users have the choice of directly logging in on the
default page or being prompted when they try to access protected resouces
via the login page. All pretty standard stuff.
Recently this seems to have stopped working. I cannot seem to persist a
login session for more than a couple of minutes (the length of time seems
random) and my "remember me" functionality that worked flawlessly before
has completely stopped remembering a thing once the browser has been closed
;-(.
I've not made any changes to either my code or the web.config files in
either the app root or the protected folders & I don't see this issue on my
development server.
Relevant web.config setting shown below:
<authentication mode="Forms">
<forms name=".ASPXAUTH" loginUrl="xxx.aspx" timeout="100000"
slidingExpiration="true" />
</authentication>
<sessionState mode="InProc" stateConnectionString="tcpip=xxxxxx"
sqlConnectionString="data source=xxxx;user id=xxx;password=xxx"
cookieless="false" timeout="100000" />
I've added some trace output to the global.asax App_Start, App_End,
Session_Start, Session_End to see if anything odd was happening with the
server sessions (shown below)
Application Started: 28 Nov 2003: 06:44:26
Session Started: 28 Nov 2003: 06:44:27
Session Started: 28 Nov 2003: 06:57:47
Session Started: 28 Nov 2003: 06:58:56
Application Started: 28 Nov 2003: 07:28:44
Session Started: 28 Nov 2003: 07:28:44
Session Started: 28 Nov 2003: 07:45:22
Session Started: 28 Nov 2003: 07:46:18
From what I can see this is ok.
I'm really stuck with this, can anyone offer me a suggestion as to what to
try next???
thanks
Pete
Pete Guest
-
Updating MX7 on a production server
How does one apply a hotfix or other update to MX7 on a production server that has RDS disabled? I've disabled RDS, as per Macromedia's... -
Forms-based authentication expires before timeout
Hi, I'm having a problem with the forms-based authentication. The user is getting timed out before long before the timeout period has passed.... -
FOLLOW UP : Forms Authentication Randomly Times Out (Windows 2003)
Hi, I didn't get any responses from the first post I made about this so I've done a bit more investigation but I'm still having problems (but only... -
Forms Authentication Cookie via IP Only
Hello, I have a problem with the forms authentication cookie when accessing my site via http://computername/application, however when I access... -
deploying from Windows 2003 staging server to remote production server
What do you guys use to deploy from your staging servers to your remote production servers in team environments? Normally I FTP the files myself,...



Reply With Quote

