Re: migration of web service session

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hi bkohler,

I have no idea why you'd want to do this so maybe I'm not understanding
you correctly. Is your requirement something like this fictional one?

Imagine you have a two servers. One is used for shopping and one used
for checkout so you redirect them to http://server2/checkout.aspx when
they're ready to make a purchase or two. You now need to copy across
the session state from server1 otherwise you have no idea what is in
the user's basket? So you need some mechanism for server2 to
copy/clone/steal/borrow the session from Server1?

If it is, I can't think of any obvious solutions without you
implementing your own session mechanism. Also, the domain is different
so the session cookie wouldn't be the same, otherwise I'd suggest using
out-of-proc as above.

I guess the next obvious question is, why do you need to do this?

Josh
http://www.thejoyofcode.com/

.



Relevant Pages