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 variables on multiple servers

Status
Not open for further replies.

TheJFM

Programmer
Jun 13, 2002
65
GB
I have an ASP project that works fine on a partiular web server.

Due to security consideration a new element is being run on another server.

The new element is accessed through a redirect to the second server's web server by http:/[server]/[root]////

I have solved the problem of passing session values to the new element and of assigning them to new sesion variables.

However the new sesion variables only exist in the first page. As soon as a new page is loaded they disappear.
 
Are you reassigning the new session variables on every page or just your first page?

I have seen something like this before where the session variables were being written over after the first page. This was resolved by first checking that the session variables were empty before assigning anything to them.

Tony
reddot.gif WIDTH=400 HEIGHT=2 VSPACE=3

 
Thanks

Yeah I assigning only on the first page.

I have a partial solution

I managed to pass!! the values from the first application to the first frame in the second application then assign them to variables that were passed onward using " /*.asp?n=whatever" and then at that point assigned the values to new sesion variables.

I can't fathom why it works but it does
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top