locked
Strange Issue: MyAds & Profile not routing to login even if I am logged out RRS feed

  • Question

  • User-1370353080 posted

    I am not logged in.  But when I click Last tab 'MyAds & Profile' it displays all the advts on the page bottom.  I see 'My Profile' link under Go to... which when clicked results in error since the profile data is not available.  Ideally if I am not logged in it should redirect me to login page but instead does above behaviour.  Anyone know what I am doing wrong?

    As a background information, I copied all the classifieds section files, controls in 1 folder at root.  So my url would be www.myapp.com/classifieds.  I modified web.config to include the loginurl.  Everything works fine except for the above issue.

    Thursday, February 5, 2009 9:10 PM

All replies

  • User-1370353080 posted

    I found the issue.  It was in my web.config.  I was using tilde ~ in the path.  While the correct version is below- 

    <location path="classifieds/MyAds.aspx">
    <
    system.web>
    <
    authorization><deny users="?"/></authorization>
    </
    system.web>
    </
    location>

    Thursday, February 5, 2009 10:39 PM