Cookie per user login

From: Khoi Ha (khoiha@yahoo.com)
Date: 03/25/03


From:     Khoi Ha <khoiha@yahoo.com>
Date: Tue, 25 Mar 2003 12:10:58 -0800


Hi all,

Can anyone enlight me how to create cookie per user login. Currently a
user login to my site it automatically redirects to the login page. The
user would have to get authenticate and authorize to see some protected
pages.
I have a condition where on the same machine, 2 different users can be
logged in. The current implementation that I have is 1 cookie per
machine.
I'm using FormsAuthenticationTicket to store the user's principal and
identity. But the HttpCookie is using
FormsAuthentication.FormsCookieName as name.
On the application http handler, the FormsAuthentication.FormsCookieName
is used to retrieve user's data.
I need your help. Thank you.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!