break in sessions

G

Guest

I have an asp app that uses session variables. The downside is if the
connection to the server is broken at any point during a user's session, the
user cannot get his/her data to the server.

I know that the user's form or data entry sessions should be shorter and the
user should be sending / saving data to the server often so that there is
less likelihood of losing a lot of data but do you have other suggestions?
For example parsing usernames and passwords in every send to the server - is
this likely to impact performance? Also, If the server or connection is still
down will the user know to just wait for the server to come up or the
connection to be established to try and resend when the first error appears.

Any suggestions of what a better solution might be?

Thanks in advance.
 
G

Guest

Sounds like using cookies to just denote whether or not their login was
successful (and the user is currently logged in) is a much better way to do
things. Then they can leave and come back w/in the expiration time and still
be logged into the site if they were successful the first time.
 

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

Top