I've got a "works on my machine" situation.
I have a website where I'm passing session values from one page to another using
Session["foo"] = 'blah';
and on page2
var foo = Session["foo"];
foo doesn't exist on page2.
When tracing the page I've found it was using a different sessionid to the original page. When putting a breakpoint on Session_start it looks like for each request the page is starting a new session.
This does not occur on my machine... and thoughts on what I can do to solve on other machines?
The SessionState is InProc
Page1.aspx and Page2.aspx are both part of the same website and
- Privacy is set to accept all cookies on the target machine.
EDIT: Difference between running on my machine and target is that I am using http://localhost/blah locally and http://XX_0001/blah from the other client where XX_0001 is my machine