Forum Moderators: open

Message Too Old, No Replies

session veriables between 2 servers

how can I send send info from 1 server to another

         

smitko

11:53 am on Feb 12, 2004 (gmt 0)

10+ Year Member



You can use a session variable to pass info between two page. How will you do it if it is between 2 different ASP servers and you do not want to pass a query string or cookie?/ or can you hide the query string?

RossWal

6:33 pm on Feb 12, 2004 (gmt 0)

10+ Year Member



Welcome to WebmasterWorld.

You can do an http post, either from the client or from the server. From the client simply make it the action on the form. From the server, microsoft has a dll for this, search msdn for 'httppost activeX object'. Or you can also do a server.transfer(), it's like a response.redirect(), but it doesn't involve the client.

Ross

TheNige

1:10 am on Feb 13, 2004 (gmt 0)

10+ Year Member



If you are using .Net you can set the application up to use SQL server to store the session state. This assumes that your two web servers are acting as part of a web farm.

If they are simply just 2 different servers with 2 different applications your best bet is to use querystring or post as mentioned.