Ask a Question related to ASP.NET Security, Design and Development.
-
jacob #1
FormsAuthentication.RedirectFromLoginPage is not passed fully qualified url
I have two web applications on the same server:
[url]http://localhost/ModemUpgrade[/url]
and
[url]http://localhost/TestFormAuth[/url]
The web.config of ModemUpgrade:
<authentication mode="Forms">
<forms name=".cuid"
loginUrl="http://localhost/TestFormAuth/MemberLogin.aspx" path="/">
</forms>
</authentication>
PROBLEM:
when I call FormsAuthentication.RedirectFromLoginPage from
MemberLogin.asp,
I notice that ReturnUrl=/ModemUpgrade/Agree.aspx
This keeps me on [url]http://localhost/TestFormAuth/MemberLogin.aspx[/url]
because it doesn't have the fully qualified url
([url]http://localhost/TestFormAuth/MemberLogin.aspx?ReturnUrl=http://localhost/ModemUpgrade/Agree.aspx[/url])
needed to complete the redirect
If I manually surf to:
[url]http://localhost/TestFormAuth/MemberLogin.aspx?ReturnUrl=http://localhost/ModemUpgrade/Agree.aspx[/url]
the whole thing works...Please advise. Thanks.
jacob Guest
-
Fully qualified addresses?
I would like the web site addresses to be fully qualified, rather than relative. Is there any way to force Contribute do do this, other than by... -
FormsAuthentication.RedirectFromLoginPage And Frames
Hi! I have a page called Login.aspx that handles login (takes username, pass and compares to a database). If the user is authenticated,... -
soap-webmethod with fully qualified Parameternames in dotnet?
Hi, The two XML examples you show are equivalent, and the SOAP spec and XML spec's both stipulate that either should be able to be processed by a... -
Problem with FormsAuthentication.RedirectFromLoginPage
I am having problem with redirection from http-https-http First an http application gets redirected to https application for authentication... -
Fully Qualified Name Components
I know that there is a routine that will return the four components of a fully qualified name but I can't locate the name of that routine. I...



Reply With Quote

