CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    80

    Unhappy Login Status Control

    I have a Login Status Control on a subdomain that I have hosted we godaddy. The problem that I am having is that when i click the login status to either direct me to the login page or to log me out, it directs me to subdomain/subdirectory/pagename when its should be directing me to subdomain/pagename. Its basically going to the root directory of my web space and then going into the subdirectory that my subdomain is pointing to and then hitting the pages. It shoudnt need to do this since the subdomain is pointed at the subdirectory and I dont understand why it's behaving like this or how I can fix it. Any help would be appreciated. Thanks.

  2. #2
    Join Date
    Sep 2004
    Posts
    80

    Re: Login Status Control

    Anyone know whats going on with this?

  3. #3
    Join Date
    Sep 2004
    Posts
    80

    Re: Login Status Control

    Nevermind, figured it out. Just specified the login page in the web.config like this:

    <authentication mode="Forms">
    <forms loginUrl="/login.aspx" />
    </authentication>


    Thanks anyways

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured