473,385 Members | 1,396 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,385 software developers and data experts.

break in sessions

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.
May 15 '06 #1
2 1251
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.
--
KMG Software, Inc.
Thinking Beyond, Above, and Before
http://www.kmgsoftware.com
"Dave" wrote:
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.

May 15 '06 #2
ASP.NET 2.0 supports Profiles which can be thought of as persistent Session
variables as the data is written into the aspnet_Profiles table.

<%= Clinton Gallagher
NET csgallagher AT metromilwaukee.com
URL http://www.metromilwaukee.com/clintongallagher/

"Dave" <Da**@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
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.

May 16 '06 #3

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

Similar topics

2
by: The Plankmeister | last post by:
Hi... I'm trying my hardest to understand fully how sessions work and how best to use them. However, all I can find is information that doesn't tell me anything other than that sessions store...
13
by: jing_li | last post by:
Hi, you all, I am a newbee for php and I need your help. One of my coworker and I are both developing a webpage for our project using php. We have a copy of the same files in different location...
3
by: Maxime Ducharme | last post by:
Hi group We have a problem with sessions in one of our sites. Sessions are used to store login info & some other infos (no objects are stored in sessions). We are using Windows 2000 Server...
3
by: Will Woodhull | last post by:
Hi, I'm new here-- I've been reading the group for a couple of days. Nice group; I like the way n00b33 questions are handled. I've been using a Javascript routine in index.html to determine a...
2
by: Steve Franks | last post by:
According to the docs you tell ASP.NET to use cookieless sessions by setting a value in the config.web file. However, what if I wanted to determine at run time whether or not I wanted to use...
12
by: D. Shane Fowlkes | last post by:
This is a repost (pasted below). Since my original post, I've double checked the system clock and set all IIS Session Timeout values to 10 minutes. Still ...the problem occurs. I've also...
6
by: Daniel Walzenbach | last post by:
Hi, I have a web application which sometimes throws an “out of memory” exception. To get an idea what happens I traced some values using performance monitor and got the following values (for...
13
Frinavale
by: Frinavale | last post by:
One of the most fundamental topics in web design is understanding how to pass information collected on one web page to another web page. There are many different ways you could do this: Cookies,...
3
Atli
by: Atli | last post by:
Introduction: Sessions are one of the simplest and more powerful tools in a web developers arsenal. This tool is invaluable in dynamic web page development and it is one of those things every...
1
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
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.