Home
Get Started
Downloads
Web Forms
MVC
AJAX
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:764007
More Search Options
RSS Available
Matching Posts
Re: Sessions being reassigned to different IP addresses
I finally found the answer. It's an issue with IIS7. Read more here: http://lionsden.co.il/codeden/?p=446
Posted to
State Management
(Forum)
by
lionscub
on 2/18/2010
Re: Sessions being reassigned to different IP addresses
The entire session, sessionVariable, and sessionID appear to be duplicated. We did agree not to use the IP for tracking, and I'm not. It's just one of the values I store in a sessionVariable that is being copied, and it is the one that I touch the least, so it is the best example of a sessionVariable that is being copied. There is no code pulling it from a cached or static value. It just pulls from the request and stores in the session. After that it is only compared to. You could rename
Posted to
State Management
(Forum)
by
lionscub
on 2/7/2010
Re: Sessions being reassigned to different IP addresses
New information: It is not that the session is reassigned to the second computer, but copied there. Once the problem is detected the webApp clears and abandons the session, forcing the second user to the home page. I see in the log that the first user still has the ability to continue working without any issue.
Posted to
State Management
(Forum)
by
lionscub
on 2/7/2010
Re: Sessions being reassigned to different IP addresses
First of all, thanks for your help on this. It's driving me nuts. The simplest exampel is the IP address. This function checks if it is the same IP, and if the sessionVariable is empty fills it. private void CheckIPs() { if (Session[SessionVariables.IP.ToString()] != null) { if (Session[SessionVariables.IP.ToString()].ToString() != Request.ServerVariables["REMOTE_ADDR"]) { string errorMessage = "The IP address in the session does not match the one in the request:" + Environment
Posted to
State Management
(Forum)
by
lionscub
on 2/7/2010
Re: Sessions being reassigned to different IP addresses
Ah, I forgot to answer that one, sorry. We are using ASP.Net sessions. The purpose of storin the IP in the session was just to verify that the session variables are indeed being crossed over and it gives me a reference point to be able to go back and pull up the specific log for the two IPs involved in each incedent. The logs are broken up by Request.ID. I'll add now the sessionID to a session variable and compare that.
Posted to
State Management
(Forum)
by
lionscub
on 2/7/2010
Re: Sessions being reassigned to different IP addresses
I know the Session and IP aren't connected. I already considered the possibility of the user unplugging his modem, or some other action that can cause a reset of the IP. "It's not just a case of the user unplugging his modem, resetting his IP, because we are seeing it far too often, and at least one case we know of a user actually ended up with the information from a different user in his account ." The case where the user saw the wrong data, the data he saw was from a user in a
Posted to
State Management
(Forum)
by
lionscub
on 2/7/2010
Sessions being reassigned to different IP addresses
I have a webApp running on IIS 7. We are seeing sessions assigned to two IP addreses. It's not just a case of the user unplugging his modem, resetting his IP, because we are seeing it far too often, and at least one case we know of a user actually ended up with the information from a different user in his account. In a log that shows some of the session information for each IP address I found the session itself associated with both IP addresses, not just the session variables, but even the session
Posted to
State Management
(Forum)
by
lionscub
on 2/6/2010
Re: Error with globalization in aspx web page
I'm getting the same error in a site that I'm trying to move over from .NET 2.0 to .NET 3.5 (which should be a simple thing). It works fine on my development machine, but not on our test server. I've tracked the problem to line: < add tagPrefix = " asp " namespace = " System.Web.UI " assembly = " System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35 " /> I have no idea why that would be causing the problem, and without
Posted to
Localization
(Forum)
by
lionscub
on 1/14/2010
Re: Left of space
The first parameter of the Substring command is the beginning of the text you want. The second is how many characters you want and it is an optional parameter. If you want everything to the right of the first space you can simply do this: Dim strRightOfSpace = strFullText.Substring(strFullText.IndexOf(" ") + 1)
Posted to
Getting Started
(Forum)
by
lionscub
on 10/27/2009
Re: rtl div Scrollbar in firefox 3.5.3
Check out this post: http://lionsden.co.il/codeden/?p=440
Posted to
HTML, CSS and JavaScript
(Forum)
by
lionscub
on 10/26/2009
Page 1 of 46 (459 items) 1
2
3
4
5
Next >
...
Last »