Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old November 12th, 2003, 11:08 PM
Authorized User
Join Date: Nov 2003
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default a question about authentication!

i try to use <authentication mode="Forms"> to authenticaton my users, i have put "Login.aspx" and "success.aspx" in the folder,and the default page of this folder is "success.aspx",it works very well.

but when i have also put a "register.aspx" in this folder so people could register them. unfortunate,the ones who want to register click the button of register in the "login.aspx", but they would be also redirect to "login.aspx",so they couldn't visit the page of "register.aspx".

how could i resolve it??

  #2 (permalink)  
Old November 13th, 2003, 12:49 AM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

One thing you can do is to create a subdirectory in your web application for the register file, and any other files that you might want to be public for that matter.

In that sub directory, put all of your public pages. Also put a new web.config file that is blank. Include only these lines in it:

            <allow users="*" />

This allows all users to view files in this directory only. There is also supposedly a way to specify authorization in a one page. I did some research but I was not able to find the syntax for it. But I have used what I suggested above so I know at least that works. ;)

Work smarter, not harder.
  #3 (permalink)  
Old November 14th, 2003, 02:13 AM
Authorized User
Join Date: Nov 2003
Location: , , .
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

thank you peter!
i would try it now


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Authentication r_ganesh76 ASP.NET 1.0 and 1.1 Professional 3 January 18th, 2008 11:34 AM
Question about authentication bdines General .NET 4 May 26th, 2005 08:29 PM
Authentication speedyH Beginning PHP 1 September 25th, 2004 11:34 AM
authentication question chris@hitechresource.com BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 June 29th, 2004 02:00 PM
authentication question chris@hitechresource.com SQL Server 2000 0 June 29th, 2004 01:57 PM

All times are GMT -4. The time now is 04:23 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.