473,320 Members | 1,831 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

random unexpected ASP.NET session expirations

We are experiencing an intermittent problem with our software.
Sometimes users' sessions expire prematurely and users lose
information (for instance entered on the form they just submitted).
Even though session timeout is set to 20 minutes, sometimes user will
get session expired after 2 minutes in the site.

Session state has following configuration:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user
id=sa;password="
cookieless="false"
timeout="20"
/>

So, suspission is that either the cookie with the sessionID gets
affected somehow, or that the ASP.NET worker process gets restarted.

I was trying to locate ASP.NET session cookie, but did not find it in
the normal place where IE stores other cookies. That confused me. So
were does IE stores ASP.NET session cookies?

Anybody else experienced similar problems with ASP.NET sessions.

I don't know if that makes any difference for cookies, but from the IE
perspective the webserver's domain name is 'localhost'.

Thanks in advance.

Best regards,
IUnknown Interface
Nov 17 '05 #1
1 1762
How to u locate the ASP.NET session cookie? I believe that the ASP.NET
session cookie is a non-persistence cookie, so you won't find it being
saved in your hard disk, and that's by design.

Tommy,

iu**********@yahoo.com (IUnknown) wrote in message news:<2b*************************@posting.google.c om>...
We are experiencing an intermittent problem with our software.
Sometimes users' sessions expire prematurely and users lose
information (for instance entered on the form they just submitted).
Even though session timeout is set to 20 minutes, sometimes user will
get session expired after 2 minutes in the site.

Session state has following configuration:

<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;user
id=sa;password="
cookieless="false"
timeout="20"
/>

So, suspission is that either the cookie with the sessionID gets
affected somehow, or that the ASP.NET worker process gets restarted.

I was trying to locate ASP.NET session cookie, but did not find it in
the normal place where IE stores other cookies. That confused me. So
were does IE stores ASP.NET session cookies?

Anybody else experienced similar problems with ASP.NET sessions.

I don't know if that makes any difference for cookies, but from the IE
perspective the webserver's domain name is 'localhost'.

Thanks in advance.

Best regards,
IUnknown Interface

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: sky2070 | last post by:
Parse error: parse error, unexpected T_OBJECT_OPERATOR, expecting ')' in c:\inetpub\wwwroot\session.php on line 19 can anyone tell me what is wrong with this code??? <? // Define the Session...
4
by: Jefferis NoSpamme | last post by:
I have a query that is showing new items in a store based upon their inventory date. The problem with my Random order sort is that when the "next" link is pressed, the random function is called...
9
by: greeningster | last post by:
I have written an application in Visual C++ for a customer but it seems to crash randomly. Could anyone give me any help on how I could track this down ? Also, there appears there might be...
13
by: Nigel J. Andrews | last post by:
This will be a little vague, it was last night and I can't now do the test in that db (see below) so can't give the exact wording. I seem to remember a report a little while ago about tsearch v2...
2
by: Jack | last post by:
I got the error in event viewer, aspnet_wp.exe was stopped unexpected, because it consumes too much memory when running my asp.net application, does anybody know what's the problem is? Any help...
6
by: Valeri Hristov via .NET 247 | last post by:
I have a problem with a ASP.NET web site. I?m using Windows2000Server SP4, .NET Framework 1.1. The problem is that sometimes(relatively seldom) when browsing the Administration Console(see below) a...
4
by: tshad | last post by:
I am trying to set up an Image authorization where you type in the value that is in a picture to log on to our site. I found a program that is supposed to do it, but it doesn't seem to work. ...
1
by: Kasumo Morris | last post by:
Hello all, Here is an interesting question about the asp.net session cookie in an application with forms authentication. In my web.config I have set both the session and forms...
3
by: Andrew F | last post by:
I'm a linux user and I just upgraded from 2.1 to 2.5 and changed the location of a number of libraries and tools. So far I've tracked most errors, but this one has me scratching my head : $...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.