S
Sarah
My local (XP Pro) IIS hosts 2 aspx applications. One is a subdirectory of
the root. The other is a virtual directory.
Both sites uses formsauthentication (and credentials are verified using
separate databases).
Both login forms have the option to persist the formsauthentication cookie
(forever).
Unfortunately though, if I log in to 1 site and persist the cookie, and then
do the same for the second site, when I return to the first, I have lost
authentication and am asked to log in again.
If I only access one of the apps, it works fine and does not ask me to log
in even if I close and reopen the browser, navigate to other external
formsauthentication sites etc.
I understand in production, I can assign different websites to the
applications and that should work fine, but in the mean time, how can I keep
a user logged in to both applications?
Thanks
the root. The other is a virtual directory.
Both sites uses formsauthentication (and credentials are verified using
separate databases).
Both login forms have the option to persist the formsauthentication cookie
(forever).
Unfortunately though, if I log in to 1 site and persist the cookie, and then
do the same for the second site, when I return to the first, I have lost
authentication and am asked to log in again.
If I only access one of the apps, it works fine and does not ask me to log
in even if I close and reopen the browser, navigate to other external
formsauthentication sites etc.
I understand in production, I can assign different websites to the
applications and that should work fine, but in the mean time, how can I keep
a user logged in to both applications?
Thanks