Re: FormsAuthentication - Weird Behaviour
From: .NET Follower (amitagarwal-NET_at_SoftHome.net)
Date: 02/09/04
- Next message: DJ Dev: "Re: Checkboxes checked in runtime datagrid"
- Previous message: Craig Deelsnyder: "Re: RegularExpressionValidator?"
- In reply to: dotCore: "FormsAuthentication - Weird Behaviour"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 9 Feb 2004 09:22:37 +0530
just go step by step
monitoring from login ,in the temp internet files
whether the cookie is set ,
on set method
a cookie is stored in there
and on signout it is removed ....
so just observe there..
-- Thanks and Regards, Amit Agarwal Software Programmer(.NET) "dotCore" <corehun_04@hotmail.com> wrote in message news:OlOl6656DHA.2056@TK2MSFTNGP10.phx.gbl... > Hi, > > I have VS2003.NET, XP Pro and SQL 2000. The .NET framework is 1.1 The > problem I am having with the source code is that I cannot authenticate any > user. The sproc returns the user name from database which also means that > the user should be authenticated. It runs the SetAuthCookie method with > success. The resulting page is no different than the initial page. The login > component is still there. When I try to access an admin page directly it > cannot find any cookie. IIS for sure uses 1.1 framework. The browser > security is at minimum and accepts all kind of cookies. Do you think that > this hass something to do with web.config settings. A workmate of mine > mentioned that there has been some changes in web.config structure from 1.0 > to 1.1 and it may affect the forms authentication process. > > Your help is highly appreciated in this urgent problem. > > Thanks > > ch > > P.S. Just to try, I created a new web project and put a label on a page > which shows Request.IsAuthenticated.ToString() and a loginUrl having a > single button which onclick runs FormsAuthentication.SetAuthCookie(). Before > and after clicking the button label shows false. > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
- Next message: DJ Dev: "Re: Checkboxes checked in runtime datagrid"
- Previous message: Craig Deelsnyder: "Re: RegularExpressionValidator?"
- In reply to: dotCore: "FormsAuthentication - Weird Behaviour"
- Messages sorted by: [ date ] [ thread ]