Images Blocked while using Forms Authentication

Discussion in 'ASP .Net' started by Ofer_Adivi, Jan 29, 2007.

  1. Ofer_Adivi

    Ofer_Adivi Guest

    I'm using Forms Authentication in my site.
    And my login page did not show the images at run time. while i'm drop
    the Forms Authentication it seems to be good.

    This is my Code

    <authentication mode="Forms">
    <forms name="appNameAuth" loginUrl="StartUpLogin.aspx"
    protection="All" timeout="30">
    <credentials passwordFormat="Clear">
    <user name="ofer" password="oferadiv" />
    </credentials>
    </forms>
    </authentication>

    What am i doing wrong?
    Ofer_Adivi, Jan 29, 2007
    #1
    1. Advertising

  2. Ofer_Adivi

    bruce barker Guest

    because you have the site protected, the images can not be displayed
    until a successful login. make the image dir not require a login. see
    location section of your web config.

    -- bruce (sqlwork.com)

    Ofer_Adivi wrote:
    > I'm using Forms Authentication in my site.
    > And my login page did not show the images at run time. while i'm drop
    > the Forms Authentication it seems to be good.
    >
    > This is my Code
    >
    > <authentication mode="Forms">
    > <forms name="appNameAuth" loginUrl="StartUpLogin.aspx"
    > protection="All" timeout="30">
    > <credentials passwordFormat="Clear">
    > <user name="ofer" password="oferadiv" />
    > </credentials>
    > </forms>
    > </authentication>
    >
    > What am i doing wrong?
    >
    bruce barker, Jan 29, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric
    Replies:
    2
    Views:
    1,356
    Tommy
    Feb 13, 2004
  2. The Colonel
    Replies:
    1
    Views:
    414
    The Colonel
    Nov 8, 2006
  3. JEFF
    Replies:
    1
    Views:
    996
    =?Utf-8?B?YnJpYW5zW01DU0Rd?=
    Nov 12, 2007
  4. Grzegorz Kokosiñski
    Replies:
    1
    Views:
    310
    Chris
    May 26, 2008
  5. Eric
    Replies:
    2
    Views:
    450
Loading...

Share This Page