Session sharing
Posted
by GeoXYZ
on Stack Overflow
See other posts from Stack Overflow
or by GeoXYZ
Published on 2010-06-14T07:42:52Z
Indexed on
2010/06/14
7:52 UTC
Read the original article
Hit count: 233
Hello,
i have a problem with Session sharing... I have a single web application hosted on a server. I created in IIS 2 different domains for the same application (thus each pointing to same physical path). The first domain is used as main interface, and the second domain is used to change settings (kind of like an admin). If the user logs in (login information is stored in session) the first domain, and then goes to the second one, he is also logged in there, which is OK. but when i try to change something in the session (like email address) from the second domain, the data is changed OK but only in the first domain; in the second one i still have the old data...
also what i've noticed is that when redirecting from first domain to second domain, every postback control posts back to the first domain even though i am on the second one -> this causes encryption errors with the viewstate...
If anyone has any ideas, i would appreciate it... Thank you.
© Stack Overflow or respective owner