FormsAuthentication and GetRedirectUrl

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe

    FormsAuthentication and GetRedirectUrl

    Hello,

    I'm using FormsAuthentica tion for a single page. If the user tries to go
    direct to the page they are prompted to login. This all works fine. But if
    the user doesn't have a user account and clicks the Create user account link
    the GetRedirectUrl no longer has the original page they were going to.
    Instead it has the default from the web.config.

    Is there any way to preserve the original URL past the login page?

    Ideally if the user clicks to create account, I want to transfer them to the
    page to create it. Once done I want to direct them to their original page
    which will prompt them to login.

    I hope this makes sense.

    Thanks,
    Joe


Working...