473,397 Members | 2,099 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

Allowing a help page before somebody logs in.

UJ
I have a login page that is specified in my web.config in the authentication
section. The code is:

<authentication mode="Forms">
<forms name="Login"
loginUrl="common/Login.aspx"
protection="All"
path="/"
timeout="30">
</forms>
</authentication>

I want to allow people access to a loginhelp page to explain how to log in.
I have tried putting the following code in web.config but whenever somebody
clicks on the link to the loginhelp page, it goes to the login page (I
assume because they haven't logged in yet.) The code I'm using for the
loginhelp page in web.config is:

<location path="LogonHelp.html">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>

Can anybody give me any insight as to what I'm doing wrong?

TIA - Jeffrey.
Nov 19 '05 #1
2 1040
Try replacing the "?" with a "*" in the <allow users> section.
See if that helps.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"UJ" wrote:
I have a login page that is specified in my web.config in the authentication
section. The code is:

<authentication mode="Forms">
<forms name="Login"
loginUrl="common/Login.aspx"
protection="All"
path="/"
timeout="30">
</forms>
</authentication>

I want to allow people access to a loginhelp page to explain how to log in.
I have tried putting the following code in web.config but whenever somebody
clicks on the link to the loginhelp page, it goes to the login page (I
assume because they haven't logged in yet.) The code I'm using for the
loginhelp page in web.config is:

<location path="LogonHelp.html">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>

Can anybody give me any insight as to what I'm doing wrong?

TIA - Jeffrey.

Nov 19 '05 #2
UJ
Thanks. That appears to have been it. It works now.

"Curt_C [MVP]" <software_at_darkfalz.com> wrote in message
news:16**********************************@microsof t.com...
Try replacing the "?" with a "*" in the <allow users> section.
See if that helps.

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

"UJ" wrote:
I have a login page that is specified in my web.config in the
authentication
section. The code is:

<authentication mode="Forms">
<forms name="Login"
loginUrl="common/Login.aspx"
protection="All"
path="/"
timeout="30">
</forms>
</authentication>

I want to allow people access to a loginhelp page to explain how to log
in.
I have tried putting the following code in web.config but whenever
somebody
clicks on the link to the loginhelp page, it goes to the login page (I
assume because they haven't logged in yet.) The code I'm using for the
loginhelp page in web.config is:

<location path="LogonHelp.html">
<system.web>
<authorization>
<allow users="?"/>
</authorization>
</system.web>
</location>

Can anybody give me any insight as to what I'm doing wrong?

TIA - Jeffrey.

Nov 19 '05 #3

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

Similar topics

3
by: pargat singh | last post by:
Hi Everyone, THIS IS SECOND TIME I AM POSTING MY PROBLEM.I have a log file like 123.log and i want to display this log in browser.In ASP page at top i have following. <%Response.Buffer =...
0
by: xo55ox | last post by:
Hi, I have been trying to set up an automated restore process from prod to backup server. First, I schedule the full database backup nightly, transfer the backup file and restore it to the...
0
by: arthernan | last post by:
I have an almost finished page that uses webparts. And this is the expected functionality. A logged on user hits a button and the button opens a WebPart. Then te user logs off, next time he logs on...
2
by: arthernan | last post by:
I have an almost finished page that uses webparts. And this is the expected functionality. A logged on user hits a button and the button opens a WebPart. Then the user logs off, next time he logs...
0
by: Luiz Vianna | last post by:
Hi folks, I´m working on this for a couple of days... I configured membership for my application. I can create user, login, logout, the user screen is save and comes back when him logs back....
7
by: pbd22 | last post by:
hi. i am having probs understanding how to grab a file being uploaded from a remote client. i am using hidden input fields for upload such as: <input id="my_file_element" type="file"...
1
by: craig.buchinski | last post by:
Ok i have created a login, what i want to do is each time a user logs in, i want to direct them to their own web page and not a "community" web page. Any help would be great.
4
by: m.a | last post by:
Hello, I have a page with several control on it. Each control could have several states. I want to send an email that has a link in it and when user click on that link, it redirected to my site...
1
by: Nadeem Ashraf | last post by:
Hi, We are developing a web based application "UltraLearn.com" with a mix of junior/senior Microsoft technologies. That includes Microsoft Silverlight, ASP.Net Ajax and WCF/WF. Recently, we have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
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...

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.