Need to turn off the ReturnUrl when a user logs out.

Discussion in 'ASP .Net' started by cmessier@gmail.com, Jun 5, 2006.

  1. Guest

    Hello all,

    I'm using ASP.Net 2.0 to create a small web application that uses forms
    authentication. Currently, when a user logs out, a ReturnUrl is set in
    the QueryString. However, if at the login screen, I try to login as a
    different user, it still tries to send me back the ReturnUrl. The
    desired behavior would be that the login screen always sends the user
    to the DestinationPageUrl, regardless if the ReturnUrl is in the query
    parameter or not.

    Thanks in advance for any help.

    Let me know if this makes sense.

    Cameron
     
    , Jun 5, 2006
    #1
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Kevin Spencer
    Replies:
    2
    Views:
    631
    Cheung, Jeffrey Jing-Yen
    Jul 8, 2003
  2. Andy Crawford

    How to turn Strict "off"?

    Andy Crawford, Jul 10, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    798
    Cowboy \(Gregory A. Beamer\)
    Jul 11, 2003
  3. Andrew Crawford

    Re: How to turn Strict "off"?

    Andrew Crawford, Jul 12, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    472
    Kevin Spencer
    Jul 13, 2003
  4. =?Utf-8?B?Tm9yZW1hYw==?=

    FormsAuthentication ReturnUrl - need it to be Absolute

    =?Utf-8?B?Tm9yZW1hYw==?=, Sep 20, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    5,610
    =?Utf-8?B?Qm9iIFRoYXllcg==?=
    Mar 20, 2007
  5. robert112
    Replies:
    1
    Views:
    629
    Juan T. Llibre
    Apr 26, 2007
  6. Simon Clark
    Replies:
    0
    Views:
    189
    Simon Clark
    Feb 2, 2005
  7. Steve

    Cookies expiring when user logs out?

    Steve, Jul 5, 2007, in forum: ASP .Net Security
    Replies:
    6
    Views:
    340
    Steve
    Jul 6, 2007
  8. M Yager
    Replies:
    1
    Views:
    222
    Robb Meade
    Jul 2, 2003
Loading...