Re: User.Identity.IsAuthenticated problem
From: Pat (naijacoder_at_hotmail.com)
Date: 08/29/05
- Next message: Pat: "Re: Limiting access to pages"
- Previous message: Pat: "Re: Get the current logged in user name"
- In reply to: Jorik: "Re: User.Identity.IsAuthenticated problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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?
Patrick
"Jorik" <not_welcome@hotmail.com> wrote in message
news:1123141872.515431.49480@z14g2000cwz.googlegroups.com...
> 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
> > >
>
- Next message: Pat: "Re: Limiting access to pages"
- Previous message: Pat: "Re: Get the current logged in user name"
- In reply to: Jorik: "Re: User.Identity.IsAuthenticated problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|