ReturnUrl Null

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to redirect users upon login to the pages they requested using
FormsAuthentication, but keep getting an error because my ReturnUrl is null.
Can anyone help me figure out why is this? I am using C# on a Asp.Net 1.1
page.

HS
 
If they typed in login.aspx directly then there won't be the QueryString.
If you just call FormsAuthentication.RedirectFromLoginPage then it will handle
both scenarios (when there is and isn't a ReturnUrl) for you properly.

-Brock
DevelopMentor
http://staff.develop.com/ballen
 

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

Back
Top