Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

forms authentication + IIS

Status
Not open for further replies.

JohnBeton

Programmer
Feb 9, 2004
21
BE
Hi,

I'm trying to set up forms authentication on my webproject but i can't get it to work and that's really driving me crazy...

I read like every tutorial on this matter and did everything like they say, but still no succes...

Could it be that it is some kind of setting in IIS that blocks it from working. I'm using IIS 5.0 with default settings (made no modifications after install) on win 2000

any help is very appreciated...
John
 
It may help if you describe the way in which Forms authentication is not working.

Can you clarify a bit please.

Rhys

"Vampireware /n/,a project, capable of sucking the lifeblood out of anyone unfortunate enough to be assigned to it, which never actually sees the light of day, but nonetheless refuses to die."

"I see dead pixels!
 
good point :)

This is how it is set up:
I have a base directory with the main page: /schippersweb/index.aspx
This page is public and contains links to other pages wich are secured: fe: /schippersweb/nl/index.aspx
The web.config file in /schippersweb/nl/ denies unauthorized users and refers them to /schippersweb/login.aspx
(everything fine so far)

the login.aspx page is a standard login form, and looks up credentials in a database. When the user exists and has a valid password, he should redirectFromLoginPage, but that's where it fails:
I keep getting redirected to the login page.

A cookie is definitely created in the cookies folder. altough it hasn't got the name i provided in the name-attribute from the forms element in the web.config . I'm not sure if that's normal...

I hope you can help me with this...
please ask if more info is needed
thanks already
 
I have a similar issue, whether using authorisation cookies or standard cookies

Im beginning to think its My Laptop thats causing the issue, not the code.

But John, Id expect to see the cookie name as you specified it!

K
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top