Form Authinication problem
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngconfig' list.


John Hamman {Hamman Interactive}
-- Moved from [aspngvs] to [aspngconfig] by Ken Schaefer <Click here to reveal e-mail address> --

Does anyone know how i can set up the web.config file to allow diferent
pages in diferent folders use a diferent login page?
john

Reply to this message...
 
    
Glavich, Paul C
Possibly use a different web.config in each directory. Haven't tried this
but the theory suggests it should work.

* Paul Glavich
Professional Web Services
Email: Click here to reveal e-mail address
(Currently no fixed phone or street address)

-----Original Message-----
From: John Hamman {Hamman Interactive} [mailto:Click here to reveal e-mail address]
Sent: Tuesday, 21 May 2002 9:49 AM
To: aspngconfig
Subject: [aspngconfig] Form Authinication problem

-- Moved from [aspngvs] to [aspngconfig] by Ken Schaefer
<Click here to reveal e-mail address> --

Does anyone know how i can set up the web.config file to allow diferent
pages in diferent folders use a diferent login page? john

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
Scott Watermasysk
You can only set this in the root directory web.config file, which means you
can only use one login page. You can use a separate web.config file in each
folder to allow/deny specific users, but you can only set the login page at
the root.

Your alternatives are to set up multiple applications (virtual roots) or
allow your login page to function differently according to the Querystring:
ReturnUrl.

Regards,
Scott

________________________________________
Scott Watermasysk
Click here to reveal e-mail address
ASP.Net information you can really REUSE!
http://TripleASP.Net

NJ .Net Users Group http://NJDNUG.org

-----Original Message-----
From: Glavich, Paul C [mailto:Click here to reveal e-mail address]
Sent: Tuesday, May 21, 2002 12:32 AM
To: aspngconfig
Subject: [aspngconfig] RE: Form Authinication problem

Possibly use a different web.config in each directory. Haven't tried this
but the theory suggests it should work.

* Paul Glavich
Professional Web Services
Email: Click here to reveal e-mail address
(Currently no fixed phone or street address)

-----Original Message-----
From: John Hamman {Hamman Interactive} [mailto:Click here to reveal e-mail address]
Sent: Tuesday, 21 May 2002 9:49 AM
To: aspngconfig
Subject: [aspngconfig] Form Authinication problem

-- Moved from [aspngvs] to [aspngconfig] by Ken Schaefer
<Click here to reveal e-mail address> --

Does anyone know how i can set up the web.config file to allow diferent
pages in diferent folders use a diferent login page? john

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
John Hamman {Hamman Interactive}
nah, cause <authinication> tag can only go under the root. I've allready
tested that. You will get a parser error.
john

-----Original Message-----
From: Glavich, Paul C [mailto:Click here to reveal e-mail address]
Sent: Tuesday, May 21, 2002 12:32 AM
To: aspngconfig
Subject: [aspngconfig] RE: Form Authinication problem

Possibly use a different web.config in each directory. Haven't tried this
but the theory suggests it should work.

* Paul Glavich
Professional Web Services
Email: Click here to reveal e-mail address
(Currently no fixed phone or street address)

-----Original Message-----
From: John Hamman {Hamman Interactive} [mailto:Click here to reveal e-mail address]
Sent: Tuesday, 21 May 2002 9:49 AM
To: aspngconfig
Subject: [aspngconfig] Form Authinication problem

-- Moved from [aspngvs] to [aspngconfig] by Ken Schaefer
<Click here to reveal e-mail address> --

Does anyone know how i can set up the web.config file to allow diferent
pages in diferent folders use a diferent login page? john

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.362 / Virus Database: 199 - Release Date: 5/7/2002

Reply to this message...
 
    
Glavich, Paul C
Maybe make em all Virtual directories? (ie. Their own application)

* Paul Glavich
Professional Web Services
Email: Click here to reveal e-mail address
(Currently no fixed phone or street address)

-----Original Message-----
From: John Hamman {Hamman Interactive} [mailto:Click here to reveal e-mail address]
Sent: Tuesday, 21 May 2002 10:19 PM
To: aspngconfig
Subject: [aspngconfig] RE: Form Authinication problem

nah, cause <authinication> tag can only go under the root. I've allready
tested that. You will get a parser error. john

-----Original Message-----
From: Glavich, Paul C [mailto:Click here to reveal e-mail address]
Sent: Tuesday, May 21, 2002 12:32 AM
To: aspngconfig
Subject: [aspngconfig] RE: Form Authinication problem

Possibly use a different web.config in each directory. Haven't tried this
but the theory suggests it should work.

* Paul Glavich
Professional Web Services
Email: Click here to reveal e-mail address
(Currently no fixed phone or street address)

-----Original Message-----
From: John Hamman {Hamman Interactive} [mailto:Click here to reveal e-mail address]
Sent: Tuesday, 21 May 2002 9:49 AM
To: aspngconfig
Subject: [aspngconfig] Form Authinication problem

-- Moved from [aspngvs] to [aspngconfig] by Ken Schaefer
<Click here to reveal e-mail address> --

Does anyone know how i can set up the web.config file to allow diferent
pages in diferent folders use a diferent login page? john

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.362 / Virus Database: 199 - Release Date: 5/7/2002

| [aspngconfig] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngconfig.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
    
JPadams@aol.com
I believe you put the authenticated user list in the root web.config file and
authorized users in the web.config file in your subdirectories.

Regards,
J.P. Adams
Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com