Forms Authenication Cookie expires randomly (only on production server)

P

Pete

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top