Authentication problem for domain with or without www

Last post 05-14-2007 3:31 AM by XiaoYong Dai – MSFT. 1 replies.

Sort Posts:

  • Authentication problem for domain with or without www

    05-10-2007, 2:20 AM
    • Member
      83 point Member
    • priccopricco
    • Member since 07-23-2003, 5:10 AM
    • Posts 49

    Hi,
       I have an application with authentication with forms that works good.
    The application accept navigation with both http://www.domain.com and http://domain.com
     

    The problem is that if a user log in throght the url with www and after he browses to an url without www he appears as not logged (and viceversa if login without www and navigate with www).

    Is there a way to set a value in config to allow a logged user to be recognized regardless of www or not www?

    Thanks in advance!

     

  • Re: Authentication problem for domain with or without www

    05-14-2007, 3:31 AM

    Hi

    This thread might help: Cookie domain naming problem

    (set the domain of my sites login cookie (forms authentication) so that a single cookie works for both http://www.mydomain.com and http://mydomain.com)

    http://forums.asp.net/thread/369569.aspx

    Best Regards
    XiaoYong Dai
    Microsoft Online Community Support

    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Page 1 of 1 (2 items)