473,750 Members | 2,182 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Images Blocked while using Forms Authentication

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

<authenticati on mode="Forms">
<forms name="appNameAu th" loginUrl="Start UpLogin.aspx"
protection="All " timeout="30">
<credentials passwordFormat= "Clear">
<user name="ofer" password="ofera div" />
</credentials>
</forms>
</authentication>

What am i doing wrong?

Jan 29 '07 #1
1 1768
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

<authenticati on mode="Forms">
<forms name="appNameAu th" loginUrl="Start UpLogin.aspx"
protection="All " timeout="30">
<credentials passwordFormat= "Clear">
<user name="ofer" password="ofera div" />
</credentials>
</forms>
</authentication>

What am i doing wrong?
Jan 29 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
4839
by: Billy Jacobs | last post by:
I have a website which has both secure and non-secure pages. I want to uses forms authentication. How do I accomplish this? Originally I had my web.config file in the root with Forms Authentication set up and it worked just fine. Then I realized that I needed to have some pages unsecure. I then created 2 directories. One named Secure and the other named Public. I placed my web.config file in my
6
1807
by: Ron Brennan | last post by:
Good evening. An HTML problem maybe, but one that I think can be solved with JavaScript. I have a page which is supposed to display several small JPEG images using elements like: <image src="SmallImages/image1.jpeg" height="40" width="30"></image> The image files are fine - I can open them reliably by double clicking in
4
4837
by: Dave | last post by:
Hi, Is there anyway to mimic forms authentication's loginUrl and RedirectFromLoginPage functionality using Windows authentication? We are developing intranet sites using basic authentication and we want to always redirect a user to a default 'splash' or welcome page that is set to anonymous if they are not logged in. This page would have
2
1788
by: thechaosengine | last post by:
Hi eveyone, If anyone could advise on the following I would be truly greatful: I have a fairly standard set up. An IIS 5.1 website set up with anonymous access allowed in all areas of the site but a secure subdirectory called /secure/ I am using windows forms authentication and this is configured in my web.config file.
2
5831
by: Brian Muth | last post by:
I'm pretty new to the ASP.NET world, and would appreciate some advise regarding Forms authentication. My login page has some GIF images which I'd like displayed. However, because I haven't logged in yet, the GIF images are blanked out, unless I explicitly allow access in the web.config file, as in: <location path="buttons/SignInLogo.gif"> <system.web> <authorization>
1
5736
by: Ted Ngo | last post by:
Hi All, I try to create a login screen using mode="Forms" Web Config: <authentication mode="Forms"> <forms name=".ASPXAUTH" loginUrl="Login.aspx" protection="All" timeout="30" path="/"
1
1694
by: The Colonel | last post by:
I'm using an ImageField in a GridView with the DataImageUrlField set to a URL on the 'Net. The images are not displaying (the URL is correct - I can copy and paste in the browser, they come right up), then I noticed the IE6 "Privacy Report" icon shows up (the eye with a NO sign in the status bar). When I click it, it tells me my images were blocked, but refers to them as cookies. Any way around this? <code>
4
7709
by: R.A.M. | last post by:
Hi, I have created ASP.NET application with forms authentication (Login.aspx). The problem is that although Login.aspx contains CSS styles and JPEG/GIF images, usually the styles are not applied and images are not displayed. I mean, if I run application from Visual Studio at about 80% of times the styles and images are not applied - black and white page without images (only rectangular ares). I am not sure but I think I saw this effect on...
9
4154
by: William Krick | last post by:
I'm currently using the following custom Stylish style sheet in Firefox 2.0.0.11... *{ color: black !important ; background: none !important; background- color: white !important } a:link { color: gray !important } a:visited { color: purple !important } a:hover, a:active { color: red !important } img {display: none !important;}
0
9575
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9394
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9338
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6803
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6080
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.