Wrox Programmer Forums
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 18th, 2005, 01:11 PM
Registered User
 
Join Date: Aug 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Forms Authentication

I'd like to know about the Forms Authentication in ASP.Net.
I have some forms including

1. login.aspx
2. default.aspx
3. admin_panel.aspx .....

I write the following code in web.config.

<authentication mode="Forms">
    <forms name="myproject" loginUrl="login.aspx" />
</authentication>

<authorization>
    <deny users="?" />
</authorization>

I only want to do forms authentication for admin pages.
I don't want default.aspx to be included in forms authentication.

How should I do??? Please help me.

Thanks,
TW
 
Old August 18th, 2005, 05:55 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

This is the classic ASP area of the forum

Wind is your friend
Matt









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