473,669 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Bizarre loss of session state

I have created a website that responds to the following two domain names:

logintest.carr-engineering.com
logintest.onual umni.org

If you open either of these websites on their own, everything works fine.
However, if you open both of them simultaneously in two frames of a
frameset, wierdness ensues. To demonstrate this, open the following link:

http://logintest.onualumni.org/frametest.htm

Postback the top frame by clicking the button and everything is fine.
Postback the bottom frame and the SessionID changes every single time!
Strange, eh? (the postback handler for the button is a blank function)

Now, open the following link (both domains point to the same place):

http://logintest.carr-engineering.com/frametest.htm

THIS time if you postback the top frame you get a new SessionID every time,
but if you postback the bottom frame it works correctly. The ONLY thing that
has changed between these two tests is the domain name used for the overall
frameset.

If you open either of these sites in its own window, it works correctly.

This behavior is really killing one of my ASP.NET apps which resides in its
own frame as part of a larger frameset hosted on another domain. The
constantly changing SessionID means that nobody can log in...

Has anybody seen this before? Any ideas where to go next? Anybody else think
this is bizarre?

If you want the VisualStudio project files to try this for yourself, just
drop me an email and I'll send it to you.

Thanks!!
Michael Carr
Nov 18 '05 #1
1 1346
More information ...

I have verified that this bizarre behavior only occurs with Internet
Explorer. I tried Netscape 7.1 and did not observe the same thing occuring.

Also... after a while of testing this with IE, it suddenly stopped changing
the SessionID when I did a postback. After I rebooted my client machine,
however, it started doing it again. ...stranger and stranger!

Michael Carr

"Michael Carr" <mc***@umich.ed u> wrote in message
news:#o******** ******@TK2MSFTN GP10.phx.gbl...
Has anybody seen this before? Any ideas where to go next? Anybody else think this is bizarre?

Nov 18 '05 #2

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

Similar topics

5
3594
by: David Shorthouse | last post by:
Hey folks, I have IIS running on a dynamic IP so have had to make use of www.dyndns.org to make sure that a call to the site's WWW address will make it to the appropriate IP. There is an option in the www.dyndns.org account settings to mask a redirect, which essentially makes a frameset and hides the actual WWW address. This is a nice feature, but the problem is I have a number of asp forms that permit posting data to an Access database...
4
2065
by: John Wilcher | last post by:
Environment: Windows 2000 Server, IIS 5.0, ASP .Net Framework 1.1, VB .Net source code We are experiencing a condition that manifests itself as a loss of all session objects. Intermittently (read as: no discernable pattern at this point), HTTP requests from users result in a 'Server Application / Error.' The user requests a page and the non-custom, Microsoft standard error page is shown with the above message. We have verified that...
2
2590
by: Steve Remer | last post by:
OK, I think I understand session state pretty well. I've done additional research on Google over the last few days to fill in any holes. To begin with, I'm using StateServer and not InProc for SessionState mode in my web.config. In fact, that's the only mode Verio shared hosting supports. That should eliminate about 70% of the reasons Session objects get destroyed from what I can tell.
1
3176
by: Steve Remer | last post by:
My application (relevant code snippets below) originally used Session variables in order to maintain state from page to page. After being unable to solve the mystery of why those variables were intermittently inaccessible, (all Session variables gone, not using InProc Session state mode), I moved to a cookies-based solution. Now I have cookie contents that are intermittently inaccessible. Someone suggested using session variables to...
14
2070
by: Michael Carr | last post by:
I have an intermittent problem that occurs on a very small number of browsers that access my website. The strange thing is this: my site works perfectly for 99.9% of browsers. The behavior described below occurs for 0.1% of users, and so far I've only seen it on IE 6.0. My ASP.NET website is set up like this: 1. Logon page - Collect username / password and verify against the DB. If OK, store the UserID in Session and redirect to Main...
4
2755
by: Chris | last post by:
When a request comes into a page on my ASP.net site and a session is not found, I want to detect whether the request is an initial request or if the user did have a session going that has now been lost and show an explanatory message before restarting the session. Rather than tagging a 'session in progress' flag on the end of every request querystring I'd like to detect it using data sent in every request. One idea I had was that when...
4
1343
by: Urs | last post by:
Two questions: 1) What possibly causes HttpApplication from being unloaded or recycled? 2) How can I prevent HttpApplication from being unloaded or recycled (to prevent loss of session state...) ? Thanks for any hints. Urs
11
3643
by: Glenn | last post by:
Hi I've been experimenting with managing state using the Session object. I've created a simple WS with a couple of methods, one which sets a string value, another that retrieves it. Each method has the WebMethodAttribute.EnableSession set to true. When I run the test page the session is maintained. However, using a console application, in between setting the string value and attempting to
3
1990
by: Martin Kulov [MVP] | last post by:
Hi, I am wondering if this problem is still valid for ASP.NET 2.0. "To maintain session state across different Web servers in the Web farm, the application path of the Web site (for example, \LM\W3SVC\2) in the Microsoft Internet Information Services (IIS) metabase must be the same for all of the Web servers in the Web farm. The case also needs to be the same because the application path is case-sensitive."
0
8383
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
8894
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...
1
8587
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
8658
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
6210
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
5682
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
4206
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...
0
4384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2792
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.