Problems with Forms Auth and Session State.
DanR_at_REMOVETHISTOGETTOME-warshawgroup.com
Date: 07/02/03
- Previous message: Teemu Keiski: "Re: Page level forms Authentication"
- Next in thread: Matjaz Ladava: "Re: Problems with Forms Auth and Session State."
- Reply: Matjaz Ladava: "Re: Problems with Forms Auth and Session State."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 1 Jul 2003 18:17:59 -0400
Clearly Forms Authentication manages it's Authorization state using a
different cookie than the Session cookie. I am running into the problem
(particularly while developing) that my Auth cookie is still valid while my
session data is gone/has been deleted. Anyone else running into this?
The whole idea is to have the ASP.NET framework manage an 'isLoggedIn' sort
of framwork, so that I don't have to build my own. What I am doing, then, is
using Forms auth to auth the user and set the Auth cookie. Then I stick
stuff in session.
I often find myself in a state where the Session is void, but the Auth
framework is still allowing me to get to pages as though I am a logged in
user.
Does that make sense? I can post code, but you folks should know what I
mean. Anybody else seeing this? What do you do for session management?
-DanR
- Previous message: Teemu Keiski: "Re: Page level forms Authentication"
- Next in thread: Matjaz Ladava: "Re: Problems with Forms Auth and Session State."
- Reply: Matjaz Ladava: "Re: Problems with Forms Auth and Session State."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|