Re: User.Identity.IsAuthenticated problem
From: Pat (naijacoder_at_hotmail.com)
Date: Mon, 29 Aug 2005 13:59:55 +1000
What do you have set on IIS ?
Do have Anonymous Acces checked..
And another question where is your web.config located?
"Jorik" <firstname.lastname@example.org> wrote in message
> Hi Dominic,
> I tried fiddler and Cookies are working.
> The weird thing is that I can login just fine, Cookie is set, sessions
> are being used and everything..
> If I force a logout, the cookie expires, sessions are emptied.
> Only when I try to go directly to a page after a forced logout it
> doesn't redirect me to the login page. It just goes straight to the
> requested page, without creating sessions I need to retrieve data.
> gr, J
> Dominick wrote:
> > Hello Jorik,
> > you are still redirected to the login page?
> > maybe you are rejecting cookies? forms auth is based on cookie.
> > use a tool like fiddler to trace the requests and if a cookies is issued
> > and accepted by your browser (www.fiddlertool.com)
> > ---------------------------------------
> > Dominick Baier - DevelopMentor
> > http://www.leastprivilege.com
> > > Hi,
> > >
> > > I've got a weird problem. I'm using Forms Authentication for my web
> > > app. Everything is working as planned..... on localhost! As soon as I
> > > put the app on the server it fails. User.Identity.IsAuthenticated
> > > returns False where on localhost it returns True.
> > > Any ideas on what might cause this? Settings on the server i'm
> > > forgetting maybe??
> > > thnx
> > >