Re: cookieless Forms Authentication - please help...
- From: Jesse Houwing <jesse.houwing@xxxxxxxxx>
- Date: Thu, 15 Jun 2006 02:47:15 +0200
studio60podcast@xxxxxxxxx wrote:
I'm writing an ASP.NET 2.0 application using the new Membership
providor and I'm having trouble.
I have created the roles, logins, login controls, etc... and I can log
in to the site. However, as soon as I'm successfully
authenticated, I click on a link and it challenges me for
credentials again! Doesn't matter which links I click, they all do
it.
I'm also having trouble with cookies. I want to use cookies, but I
can't get them to work in either IE7 or IE6. Here is my
<authentication> section from web.config:
<authentication mode="Forms"> <forms loginUrl="login.aspx"
defaultUrl="/default.aspx" name="secAuthCookie" cookieless="UseUri"
protection="All" slidingExpiration="true" timeout="90" path="/"
/> </authentication>
I've tried setting cookieless to all of it's possible values,
UseCookies, UseUri, AutoDetect, etc... and none of them are working.
Am I missing something? Please help! I've been stuck on this for
two days now! Thanks! Jason
Does your application use hardcoded urls back to the webserver? Or javascript location changes you've written yourself?
In that case you need to make sure that these calls copy the authentication token into the uri before redirecting.
Jesse Howuing
.
- References:
- cookieless Forms Authentication - please help...
- From: studio60podcast
- cookieless Forms Authentication - please help...
- Prev by Date: Re: Replacing ISAPI web authentication filter with .NET solution?
- Next by Date: Re: more bugs: "The path is not of a legal form"
- Previous by thread: cookieless Forms Authentication - please help...
- Next by thread: Re: Which one - Visual Studio 2003 or 2005?
- Index(es):
Relevant Pages
|