473,320 Members | 1,940 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.

Help With Losing Session State In ASP Application

Hi Gang

I need help. I have an ASP application that in a nutshell allows data
entry on a main page. The problem is I'll have users that enter some
data and save it. Then they'll enter some more data and then leave it
for 30 mins, 2 hours or whatever. So when they come back they've lost
the session state and when they try to save their data, the
application goes to a friendly error page saying they've lost the
state.

There has to be a better way to handle this. Could I grab some
session variables stored in cookies and then somehow restart the
session allowing the user to save their information? Do you have any
other ideas.

Please help as this is causing us a lot of grief. I'm sick of telling
our users "Ok everyone please remember to save every ten minutes if
you have the application open." They want to kick the IT guy. :-(

Thanks
Andy
Jan 11 '08 #1
1 2890
Forms aren't typically session dependent.

Sounds like a design/logic issue. What does submitting a data entry form have to do with session state ?
They should be able to submit a form anytime and have the information processed as needed.

Session data should be created after the form is submitted. If the session loss is associated with login authentication, then it is
valid. if the login has expired they should login again.

Cookies may be the answer to preserving some partial data entry if login expiration is the issue.

Data forms could check for existence of cookie info and refill partial entries so the user is not required to refill the entire
form.
"Andy" <an***********@siemens.comwrote in message news:51**********************************@k2g2000h se.googlegroups.com...
Hi Gang

I need help. I have an ASP application that in a nutshell allows data
entry on a main page. The problem is I'll have users that enter some
data and save it. Then they'll enter some more data and then leave it
for 30 mins, 2 hours or whatever. So when they come back they've lost
the session state and when they try to save their data, the
application goes to a friendly error page saying they've lost the
state.

There has to be a better way to handle this. Could I grab some
session variables stored in cookies and then somehow restart the
session allowing the user to save their information? Do you have any
other ideas.

Please help as this is causing us a lot of grief. I'm sick of telling
our users "Ok everyone please remember to save every ten minutes if
you have the application open." They want to kick the IT guy. :-(

Thanks
Andy

Jan 11 '08 #2

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

Similar topics

0
by: Nikander Bruggeman | last post by:
Hi, In a situation where I have 2 servers which are load balanced I keep losing session state, although I store the session state in sql server and use a cookieless session, so that the session...
4
by: Keith-Earl | last post by:
I have been writing ASP.NET apps since the RTM build and have never seen this. I built a simple app that uses session variables on my DEV laptop. All runs well. I have a simple toggle routine...
2
by: atef shehata | last post by:
hi all, i have a serious problem in the production site. i'm using win2k advanced and iis 5. i'm using oop mode to store the session data(aspnet_state server). my problem is : Sometimes ,...
2
by: scott_shuster | last post by:
Hi, I need to preserve state as I'm Response.Redirecting to a page in a subfolder elsewhere in my web. However, everytime I redirect, my session vars are cleared out. Are Session variables...
9
by: Adrian Parker | last post by:
We have a website that works everywhere but on a few PCs on this one site.. Asp.Net 1.1 Server = Windows 2003 Client = XP In the web.config we use - cookieless="false" in the browser settings...
0
by: none | last post by:
Hi, I've got a problem with losing session state in ASP.NET version 2. It does it intermittently - sometimes it tanks - and sometimes it works OK. I've got the ASP.NET state service started...
1
by: =?Utf-8?B?RWFnbGVSZWRASGlnaEZseWluZ0JpcmRzLmNvbQ== | last post by:
I have an application in which I store state in the Session object. There are two paths of execution in the Page_Load method of the default page. In one path the Session state is preserved across...
5
by: chromis | last post by:
Hi there, I've recently been updating a site to use locking on application level variables, and I am trying to use a commonly used method which copies the application struct into the request...
4
by: Arthur Dent | last post by:
Hello all, I have some issue which is driving me crazy in testing my site... Every now and then, the session variables in my site all get cleared out. I assume this is because of something...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: 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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.