By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,508 Members | 2,904 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,508 IT Pros & Developers. It's quick & easy.

How to share session variables over different servers

P: n/a
Hello,

I was wondering if anyone knew how to send session variables between two
different servers...
My web host gives me two servers, one normal server and one that has SSL on
it. When my web page goes to the SSL server I need to read the session
variables from the original normal server.

Does anyone know how to go about doing this? The obvious way would be to
send a variable with the url and get it with the queryString but I dont want
to do that as the customer can see and change things I don't want them to.

Any advice would be excellent help
Thank you for your time reading my message.
John
Jul 22 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Gazing into my crystal ball I observed "John Sheppard"
<ma*************@dontspambosomofo.com.au> writing in
news:41******@duster.adelaide.on.net:
Hello,

I was wondering if anyone knew how to send session variables between
two different servers...
My web host gives me two servers, one normal server and one that has
SSL on it. When my web page goes to the SSL server I need to read the
session variables from the original normal server.

Does anyone know how to go about doing this? The obvious way would be
to send a variable with the url and get it with the queryString but I
dont want to do that as the customer can see and change things I don't
want them to.

Any advice would be excellent help
Thank you for your time reading my message.


Is this all on the same box? IIRC, you should be able to do this. HTTPS
is a protocal, do it should not make any difference.
--
Adrienne Boswell
Please respond to the Group so others can share
Jul 22 '05 #2

P: n/a

"Adrienne Boswell" <ar********@sbcglobal.net> wrote in message
news:Xn**********************************@64.164.9 8.7...
Gazing into my crystal ball I observed "John Sheppard"
<ma*************@dontspambosomofo.com.au> writing in
news:41******@duster.adelaide.on.net:
Hello,

I was wondering if anyone knew how to send session variables between
two different servers...
My web host gives me two servers, one normal server and one that has
SSL on it. When my web page goes to the SSL server I need to read the
session variables from the original normal server.

Does anyone know how to go about doing this? The obvious way would be
to send a variable with the url and get it with the queryString but I
dont want to do that as the customer can see and change things I don't
want them to.

Any advice would be excellent help
Thank you for your time reading my message.
Is this all on the same box? IIRC, you should be able to do this. HTTPS
is a protocal, do it should not make any difference.
--


It may be on the same box, I'm not sure, its not internally hosted, the web
hosting company is quiet large so im guessing they have lots of computers. I
have tried sharing them and it has not worked before. I will ask the web
hosting guys.

Thank you
Adrienne Boswell
Please respond to the Group so others can share

Jul 22 '05 #3

P: n/a
You'll need to keep your session data in a database and pass an identifier
back and forth either as a cookie (set 2, one for each site), as a form
element, or as a query-string parameter. There is an example here:
http://www.aspfaq.com/cart/

--
--Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com

"John Sheppard" <ma*************@dontspambosomofo.com.au> wrote in message
news:41********@duster.adelaide.on.net...

"Adrienne Boswell" <ar********@sbcglobal.net> wrote in message
news:Xn**********************************@64.164.9 8.7...
Gazing into my crystal ball I observed "John Sheppard"
<ma*************@dontspambosomofo.com.au> writing in
news:41******@duster.adelaide.on.net:
> Hello,
>
> I was wondering if anyone knew how to send session variables between
> two different servers...
> My web host gives me two servers, one normal server and one that has
> SSL on it. When my web page goes to the SSL server I need to read the
> session variables from the original normal server.
>
> Does anyone know how to go about doing this? The obvious way would be
> to send a variable with the url and get it with the queryString but I
> dont want to do that as the customer can see and change things I don't
> want them to.
>
> Any advice would be excellent help
> Thank you for your time reading my message.


Is this all on the same box? IIRC, you should be able to do this. HTTPS
is a protocal, do it should not make any difference.
--


It may be on the same box, I'm not sure, its not internally hosted, the
web
hosting company is quiet large so im guessing they have lots of computers.
I
have tried sharing them and it has not worked before. I will ask the web
hosting guys.

Thank you
Adrienne Boswell
Please respond to the Group so others can share


Jul 22 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.