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

DLL updates and sessions

I am using forms authentication and an in-proc session
state in my application. I noticed that updating a dll in
the bin directory while a session is in progress gives
rise to an error. i.e. the scenario is as follows:
1. user goes to page A which has a link to page B
2. a dll is updated after page A has rendered but before
the link to page B is clicked
3. the link to page B is followed

I am accessing the Session property of the Page object in
page B's OnLoad event and in the above sequence of events
I get an "Object reference not set to an instance" error.

It's OK that the old session is abandoned when I update
the dll but why does ASPX throw this error (rather than
starting a new session)?

Thanks.
Amit

Nov 17 '05 #1
0 1101

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

Similar topics

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...
0
by: MarionEll | last post by:
TechDoc Summer Workshops program updates, accommodation deadlines, act now The TechDoc Summer Workshops http://www.tech-doc.org/summer2004/ take place June 28-30 at the Marriott Crystal...
0
by: MarionEll | last post by:
XML 2004 Conference & Exposition –“From Syntax to Solutions” November 15-19, 2004 – Marriott Wardman Park Hotel, Washington, D.C. http://www.xmlconference.org XML 2004 is just 3...
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...
0
by: MarionEll | last post by:
XML 2004 Conference & Exposition –“From Syntax to Solutions” November 15-19, 2004 – Marriott Wardman Park Hotel, Washington, D.C. http://www.xmlconference.org XML 2004 is just 3...
0
by: Marcel - IDUG Europe 2005 | last post by:
Visit the IDUG Europe Conference Blog for Daily Updates and Conference Information IDUG 2005 - Europe Blog New for this year's conference, IDUG 2005 - Europe has created a blog to give you...
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...
2
by: McGeeky | last post by:
Are there any best practices on releasing updates of an ASP.Net application to a virtual directory in a production environment? E.g. is it okay to simply copy over changes to ASP.Net pages in to...
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: 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: 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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...
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,...

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.