Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session ID GONE ??? (Only in deployment)

Status
Not open for further replies.

need2progam

Programmer
Jun 28, 2006
4
US
I have a parent (ASPX) Page where I call window.showModalDialog ...

var MyArgs = new Array(Parm1, Parm2, Parm3);

var WinSettings =
"center:yes;dialogHeight:400px;dialogWidth:400px" ;

var URL = "PopUpChild.aspx";

//code stops here until popped window is closed
var MyArgs = window.showModalDialog(URL, MyArgs, WinSettings);

I also have in code behind of the parent and child page..
Response.Write(Me.Session.SessionID)

In development I run the parent page click a link pops the child. They both have the same session ID. I deploy to the web server and the parent page has a valid session ID the child page has nothing. I was almost expecting a different session ID or something because things were not working on the child page… but it I have nothing. I did not think I could have a window spawned with out a session. How does that happen?

Any ideas why I am loosing session when popping a window through show modal dialog method in a deployed environment?

Thanks in advance for any help you can give.
Carly
 
It certainly doesn't sound quite right, does it... but it's not a Javascript problem in my experience. The best place to take this would be the ASP.NET forum - forum855. It is most likely something they have come across before -- or they'd be better able to suggest a more suitable forum.

I'm assuming you are using the same configuration for the test browser in each case?


Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top