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

Sessions lost with new assembly

I have a 24x7 asp.net site for a client in the survey
business. This runs on a single web server and we use
InProc as the session choice. Authentication is required
for all users.

I'm running into a problem when I upload a new version of
the assembly/dll. All users that are logged on lose their
sessions and when they click the Submit button they get
sent back to the Login page. Since the surveys are quite
detailed, they are less than happy campers when they find
out they have to re-enter all of their data!

I now try to upload changes late at night when this will
affect the least number of users but that is just a
workaround.

Is there a way around this? Would using SQL Server as the
session manager help? If not, what????

Thanks,

Ross Terman
rterman @xeq.com

Nov 18 '05 #1
2 1051
Rad
yes, either of the two "out-of-process" modes would help in situation like
this.
"RossT" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
I have a 24x7 asp.net site for a client in the survey
business. This runs on a single web server and we use
InProc as the session choice. Authentication is required
for all users.

I'm running into a problem when I upload a new version of
the assembly/dll. All users that are logged on lose their
sessions and when they click the Submit button they get
sent back to the Login page. Since the surveys are quite
detailed, they are less than happy campers when they find
out they have to re-enter all of their data!

I now try to upload changes late at night when this will
affect the least number of users but that is just a
workaround.

Is there a way around this? Would using SQL Server as the
session manager help? If not, what????

Thanks,

Ross Terman
rterman @xeq.com

Nov 18 '05 #2
When you deploy assembly/dll in your application bin directory, then
application will reccyle i.e your appdomain is restarted. Hence session
values are lost. To avoid this go for stateserver mode or sqlserver mode.
For more details, check out this support link
http://support.microsoft.com/default...b;en-us;324772

--
Saravana
Microsoft MVP - ASP.NET
www.extremeexperts.com

"RossT" <an*******@discussions.microsoft.com> wrote in message
news:05****************************@phx.gbl...
I have a 24x7 asp.net site for a client in the survey
business. This runs on a single web server and we use
InProc as the session choice. Authentication is required
for all users.

I'm running into a problem when I upload a new version of
the assembly/dll. All users that are logged on lose their
sessions and when they click the Submit button they get
sent back to the Login page. Since the surveys are quite
detailed, they are less than happy campers when they find
out they have to re-enter all of their data!

I now try to upload changes late at night when this will
affect the least number of users but that is just a
workaround.

Is there a way around this? Would using SQL Server as the
session manager help? If not, what????

Thanks,

Ross Terman
rterman @xeq.com

Nov 18 '05 #3

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

Similar topics

8
by: Ron Vecchi | last post by:
I know this has been asked before but I out of all the posts I've read regarding using Directory.Move and then the application restarting itself I have found no answer except that Sessions are...
7
by: Ron Vecchi | last post by:
I've been searching to find an answer but can not. I have a site that started out using the defaul session cookieless="false" Most pages have an IFrame located on them. I decided to change to...
9
by: AndersBj | last post by:
Hi all, I have a web application that uses State Server for session handling. The web application randomly loses all session variables. The sessions are not always lost, sometimes I can use the...
3
by: Amil Hanish | last post by:
I have a localized language website. When I make a simple text change to a language, all user sessions are abandoned because the resource file is recompiled. Any way to avoid this and allow new...
3
by: AlonR | last post by:
Hi, We're experiencing random user sessions losses on our web applications, and are researching for any useful information which may shed light on this problem. Environment: In our...
22
by: magic_hat60622 | last post by:
Hi all. I've got an app that dumps a user id into a session after successful login. the login page is http://www.mydomain.com/login.php. If the user visits pages on my site without the www (i.e.,...
10
by: joeriggs | last post by:
Having trouble with an application which is using SQL Server 2000 to store session state. The App is ASP.NET 2.0 on Win2003. Occasionally all sessions are lost at once, causing the app to break....
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...
0
by: Pheasant Plucker® | last post by:
Hi there, Not sure if this is the correct ng and I am not a programmer so excuse me but here goes...:-) We have a custom application that has a hook or calls either the Outlook calendar or...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.