Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

.net Session.SessionID same on different computers

Posted on 2014-04-28
7
Medium Priority
?
54 Views
Last Modified: 2016-07-11
We are having an issue with Session.SessionID not getting a new ID for multiple users. A few users from different IP locations get the same Session.SessionID causing wrong Session Variable values to be returned. One computer is getting the same ID between Chrome and IE.

The server was restarted and the computers are still receiving the same SessionID. We changed from SQL Server Session to InProc Sessions and the same SessionID is still being generated for the same users.

We are just setting Sessions Variables and Not using forms authentication as this is being handled separately.

The server is Windows 2012 with IIS 8.0.

Please let me know if you need additional information.
0
Comment
Question by:youritstaff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40027420
Is your server behind a load balancer or reverse proxy?
0
 

Author Comment

by:youritstaff
ID: 40027441
Yes, behind load balancer. But we have it directing to one server since this issue has started.
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40027459
If you remove the load balancer from the equation altogether, do you still experience the issue?
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 

Author Comment

by:youritstaff
ID: 40027511
I'm checking with the infrastructure group to see if they can make that happen. Have you seen issues like this in the past with SessionIDs and Load Balancers?
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 40027690
I haven't, but another team in my group had issue with session hijacking. I double-checked with them, and their issue turned out to be related to AppFabric, though.
0
 

Accepted Solution

by:
youritstaff earned 0 total points
ID: 40034304
We found the issue. Believe it or not, it was the url. The user that sent the invitation had the SessionID embedded in the url. A handful of users consistently used it.

I don't understand why IIS wouldn't create a new id if that particular one didn't exist anymore. Are there any suggested best practices to prevent this in the future? I saw where some are creating the SessionIDs based on user/IP/browser/etc. But I would think that IIS 8.0 would try to do a better job at handling this vulnerability.

Thanks for your assistance.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question