unwanted session timeout

R

Racer X

I have a simple form connecting to an Access database where users log in,
fill out the form, and submit. Everything works fine.

However, sometimes it takes a user 20 minutes or more to fill out the form.
When the user then hits "submit" he is given the login page instead of the
response page I have built in. If the user fills the form out in less than
20 minutes or so, it works fine.

I have Session.Timeout=720 (2 hours) but this hasn't changed anything.

Does anyone know what I'm missing? I'm pretty new at asp so forgive me if
it's something simple.

Thank you in advance,
Rob
 
T

TomB

How about creating a cookie for the user, when they hit submit, if their
session is invalid, give them a new one based on the content of their
cookie.
 
R

Racer X

TomB said:
How about creating a cookie for the user, when they hit submit, if their
session is invalid, give them a new one based on the content of their
cookie.

Thanks for that, but as a newbie I'm not quite sure I follow...

Are you saying re-log them in invisibly based on cookie data? That might
work to get them logged back in, but their data is still lost. (Not actually
lost as it can be recovered via the back button, but most users "think" it's
lost.)

In your suggestion will the users not "lose" their data and be directed
straight to my response page, and if so could you enlighten me a little
more?

Thanks!
Rob
 
R

Racer X

HarryD said:
you can also set the default time-out in the properties of the website
itself.

Could you tell me how to do that? I control the website, but not the web
server as it is hosted with an ISP.

Thanks.
Rob
 
B

Bite My Bubbles

how about this.

Have no session timeout at all. Turn that off.

Then assuming the user is logged into a domain,

Check the rights of the request.variables("logon_user")
against the user database.


That will handle your security, as well as your timeout
 

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
474,095
Messages
2,570,616
Members
47,232
Latest member
helpplease!

Latest Threads

Top