No Login URL when using windows forms authentication

G

Guest

Hello

Sometimes when I run my application, which is configured for forms authentication, it redirects me to

http://my.domain.com/?RedirectUrl=IndexPage.asp

rather than the expected

http://my.domain.com/Login.aspx?RedirectUrl=IndexPage.asp

My forms authentication config is

<authentication mode="Forms"><form
loginUrl="Login.aspx" requireSSL="false" protection="All
name="MYCOOKIE" timeout="30
slidingExpiration="true"></forms></authentication><authorization><deny users="?" /></authorization

Any ideas? I am using VS.NET 2003 on WinXP with IIS6 and SQL Server 2000

Thank

-- Jak
 
G

Guest

H

Have you given the Credentials Tag? How you handled the credentials

Sooraj P
Microsoft India Community Star
 
G

Guest

The credentials are handled by my own code. The login redirect works most of the time, but for unknown reasons, it fails to work for a period of time - don't know for how long.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top