Master Page not applying properly

Last post 08-31-2004 12:37 AM by yaip. 1 replies.

Sort Posts:

  • Master Page not applying properly

    08-30-2004, 10:17 PM
    • Contributor
      4,773 point Contributor
    • yaip
    • Member since 10-27-2003, 10:29 AM
    • Los Angeles, CA
    • Posts 1,145
    I have an application which has a Master Page. My startup page is default.aspx and in my web.config, I have <forms loginUrl="~/ContentPages/login.aspx" />. For all anonymous users I am redirecting them to login.aspx.

    On my Master Page I have a LoginStatus. So if the user signs out, the login.aspx is displayed with my Login control. This control also has "Remember me" which I check while logging in. If I close my browser and rerun my app, I get default.aspx with the themes of master pages applied correctly.

    If I log out, I am redirected to my login.aspx page (as expected). But this time all my Master Page settings are lost. None of them are applied to login.aspx.
    Thanks
    I love computers because: MY WISH IS THEIR COMMAND :)

    <Website>
    <Gadget>
  • Re: Master Page not applying properly

    08-30-2004, 11:55 PM
    • Contributor
      4,773 point Contributor
    • yaip
    • Member since 10-27-2003, 10:29 AM
    • Los Angeles, CA
    • Posts 1,145
    Update:

    Looks like themes are not being applied to unauthenticated user. Is it true? If Forms authentication is turned on, will the Theme apply to loginURL?
    Thanks
    I love computers because: MY WISH IS THEIR COMMAND :)

    <Website>
    <Gadget>
Page 1 of 1 (2 items)