returnurl issue

Discussion in '.NET' started by mtullock, Jan 24, 2012.

  1. mtullock

    mtullock

    Joined:
    Jan 24, 2012
    Messages:
    1
    Hi Folks,
    Recently I have a very very annoying issue crop up and cannot seem to get it solved.

    I have a ASP.NET application on my server (IIS) in which default.aspx is the only default content page. I am using forms authentication and everything works well.....apart from one thing.

    If I visit:

    http://<myserver>/PMS

    it turns into:

    http://<myserver>/PMS/Default.aspx?ReturnUrl=%2fpms

    which means that when I log in it redirects me to the homepage again (http://<myserver>/PMS) which in effect logs me out. Therefore I have to log in again when it does take me to the main menu as the second time the returnurl has gone.

    any ideas how I can get it so that the returnurl does not appear when I visit my site?
    mtullock, Jan 24, 2012
    #1
    1. Advertising

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. Tomk

    ReturnURL

    Tomk, Jan 23, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    665
  2. AC
    Replies:
    0
    Views:
    486
  3. Gala Grant

    remove "ReturnUrl=" from url

    Gala Grant, Nov 24, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    783
    Patrick Olurotimi Ige
    Nov 26, 2004
  4. VB Programmer
    Replies:
    1
    Views:
    973
    Steve C. Orr [MVP, MCSD]
    Dec 8, 2004
  5. tshad
    Replies:
    2
    Views:
    11,373
    tshad
    Jan 21, 2005
Loading...

Share This Page