RE: How to show images in the Logon Page when Forms Authentication is
- From: EagleRed@xxxxxxxxxxxxxxxxxxx <EagleRedHighFlyingBirdscom@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 7 May 2009 16:11:10 -0700
What folder/directory contains your logon page? How are you referencing your
images. In most cases relative paths are used locate the images. I am
assuming that all your pages in your root folder work fine, but the logon
page is in a subfolder. In this case you may need to modify the relative
path to your image folder. If your images are located in an images subfolder,
you might reference them using the syntax, "~/images/imagefile.jpg". Here
the "~" is the virtual root of your application.
Let us know how this works.
Eagle
"GregoryJ" wrote:
I have a Logon.aspx web page in my root folder of my web-site. I'm using.
Forms Authentications to authenticate my users. The Forms Authentication
aspect works fine. The problem I'm having is that my Logon Page needs to
display some images that are in my /Image folder.
When the Logon.aspx page loads all images on my Logon.aspx page do not show
up, even though the URL Links are correct. In design more everything looks
fine. In fact, if I turn off Forms Authentication the images appear.
I'm assuming the image files are not accessible because they don't have
access to them.
How can I get my logon form to show the images before the user has logged on?
Thanks.
- Follow-Ups:
- References:
- Prev by Date: RE: Populating MembershipUserCollection Throws Exception
- Next by Date: RE: How to show images in the Logon Page when Forms Authentication
- Previous by thread: How to show images in the Logon Page when Forms Authentication is
- Next by thread: RE: How to show images in the Logon Page when Forms Authentication
- Index(es):
Relevant Pages
|