returnurl issue

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

  1. mtullock

    mtullock

    Joined:
    Jan 24, 2012
    Messages:
    1
    Likes Received:
    0
    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. Advertisements

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 (here). After that, you can post your question and our members will help you out.