By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,784 Members | 3,536 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,784 IT Pros & Developers. It's quick & easy.

Session timeout and SQL server

P: n/a
Hi

We have a webapp that stores a Customer object and other information in
session variables, and a CustomerID in a cookie.
Since the app is being run on a webfarm, the session variables are being
stored in SQL server.

We don't want the app to 'timeout', so if a user comes back to a page and
the session has timed out, the CustomerID is read back from the cookie and
the object is recreated.

My question is, can this create a problem, i've noticed that even though the
session has expired, the same sessionID is used for the new session. Can
this cause a conflict in SQL server? In other words, does ASP.NET uses the
sessionID as a primary key to retrieve the session variables from SQL
Server? And if so, will it cause SQL Server to return data that was
theoretically in the old session?
Marco
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.