473,782 Members | 2,492 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Debugging and Session Resetting

Has anyone encountered this problem? I start debugging my application and
the session get reset (as far as I can tell). I then stop and restart and
everything is fine.

Basically the symptoms are as follows: after starting the application,
everything is fine and the session variables are set. I get to my 'main'
page and click on a button to search or go to another page and the
application crashes because the session variables contain 'nothing' Stopping
and restarting fixes the problem.

This happens fairly consistently.
Apr 4 '06 #1
3 1480
If you cross virtual directory or IIS application boundries, the
session variables will get reset. Where is the "other" page located?

Apr 4 '06 #2
re:
If you cross virtual directory or IIS application boundries, the
session variables will get reset.
Wouldn't a more accurate description be that "a new session is started" ?

The session variables in the first application will *still* be there,
if you return before the session times out.

In other words, they are not "reset" just because you visit a different application.


Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== =====
"sirfunusa" <si*******@hotm ail.com> wrote in message
news:11******** **************@ t31g2000cwb.goo glegroups.com.. . If you cross virtual directory or IIS application boundries, the
session variables will get reset. Where is the "other" page located?

Apr 4 '06 #3
The entire application resides in the same virtual directory. The problem
doesn't occur after I stop the app and restart, once I've encountered the
problem.

Thanks.

"sirfunusa" wrote:
If you cross virtual directory or IIS application boundries, the
session variables will get reset. Where is the "other" page located?

Apr 4 '06 #4

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

Similar topics

8
18771
by: riprod | last post by:
Someone in the IIS newsgroup suggest I post this here, so sorry in advance for the cross posting. I have a Win 2003 SP1 with IIS 6 and host about 40 websites, most of them useing ASP/VB with access databases. The server is a Dell Dual 2.4Ghz XEON with 512Mb Ram. Every few days I get the error 'HTTP/1.1 New Session Failed' and the server stops showing the sites. It comes right after a bit and then the error comes back. I
5
2676
by: Jon Booth | last post by:
I want to write an apsx page that when loaded does not refresh Session.Timeout. It is going to be running in an iframe and refreshing every couple of minutes. example. User has 15 minutes left until session expires. iframe.aspx loads and session still has 15 minutes left. Is this possible? I was trying to grab session.timeout at the begininning of the page (init)
2
1865
by: Dinkster | last post by:
BackGround: - We are new to ASP - We thought we would experiment with using the session object (in proc) to store a small amount of data. - We get different results when cookieless is set to "true" veses "false". - Our simple test app involved updating a counter that was stored as an item in the Session Object. We allow resetting the counter to zero, and adding or subtracting one from the counter. - We were trying to determine when a "NEW...
0
3228
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs converted/developed with VB.NET. What I want from debugging is to be able to step into the methods in the DLLs called from ASP scripts using Visual Studio .NET. Background: For typical script debugging issues, you can read and follow the two documents on...
3
1764
by: No One | last post by:
This seems to be related to the ViewState error that is now starting to plague ASP.Net apps. When the Application Pool is recycled, the Session seems to be getting reset. When this is done, session information is lost and my app forgets what rules a user has. I'd rather not recode to read this from the database for every page, but I wonder if I have no other choice. Anyone else notice the Session resetting?
1
1164
by: Mike | last post by:
Hey guys need some help on session state. I'm trying to create an ASP.NET page to add items to it. W.G. if your out there I could still use some help! I'm not quite sure how to get it to work. Page loads User selects a value from a drop down list uses a button to add item into a variable
3
2236
by: usenet | last post by:
Hi all, I've created a custom session handler that saves session data to a MySQL database. If the database server is down, I'd like to fallback to PHP's default session handler (files) until the server comes back up. After calling session_set_save_handler(), is there a way to tell PHP to ignore this setting and revert to temp files for session storage? If I try an ini_set on session.save_handler upon detecting that the DB server is...
6
8625
by: awebguynow | last post by:
I'm writing a pretty complex webapp, that ideally will have 2-3 popup windows, but I am losing my session information when I open a new window. Is there a way to retain or replicate Session information ? I've used <atag with target="_blank". I don't know if using a Window name would have any effect at all. other similar topics: multiple session with window.open? 'fork' a session HELP! resetting admin session
1
7188
by: =?Utf-8?B?TWlrZSBNY0FsbGlzdGVy?= | last post by:
I have not been able to find anything about this problem, so it must be configuration on our server, somehow... What we are observing is on Windows Server 2003/IIS 6 our AJAX UpdatePanels are not resetting the IIS Session timer. Thus, if the default IIS Session Timeout of 20 minutes is used, our logged-in users are always receving Session timeout in 20 minutes, regardless of what UpdatePanel activity is happening on the .aspx page. ...
0
9479
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10311
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10146
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10080
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9942
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7492
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6733
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5378
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4043
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.