Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Mobile > Web.config problems

Reply
Thread Tools

Web.config problems

 
 
Toby Riley
Guest
Posts: n/a
 
      08-08-2003
I have a Web application that has at the root level a logon page that work
off forms authentication. Works no problems. However i have a subdirectory
/mobile of which i want to provide a separate logon page and authentication
that overrides the root web application without making it an application in
it own right.

I have tried using another web.config file in the subdirectory but it just
causes an error.

Any suggestions welcome.

Thanks

http://www.velocityreviews.com/forums/(E-Mail Removed)



 
Reply With Quote
 
 
 
 
Michal A. Valasek
Guest
Posts: n/a
 
      08-08-2003
| I have a Web application that has at the root level a logon page that work
| off forms authentication. Works no problems. However i have a subdirectory
| /mobile of which i want to provide a separate logon page and
authentication
| that overrides the root web application without making it an application
in
| it own right.

AFAIK, this is not possible. I am using the following solution: As login
page I am using the mobile version. If request is not made from mobile
device, I'll redirect user to normal login page.

--
Michal A. Valasek, Altair Communications, http://www.altaircom.net
Please do not reply to this e-mail, for contact see http://www.rider.cz


 
Reply With Quote
 
 
 
 
Earl Beaman[MS]
Guest
Posts: n/a
 
      08-11-2003
Hi Toby,

Michael is correct. If you want a subfolder to do it's own authentication,
it must be an application.
You can certainly have web.configs in each of the folders, whether it's an
app or not, but there are certain sections that can only be put into an
application, such as authentication. As you have found out, a web.config
that has one of these sections and is not in an application will cause a
config error.

Michael seems to have a good workaround for this, I encourage you to give
his approach a try.

Thanks,
Earl Beaman
Microsoft, ASP.NET

This posting is provided "AS IS", with no warranties, and confers no
rights.


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving the web, charset problems and symbols problems Sak Na rede Ruby 0 01-30-2009 05:05 AM
Problems, problems for newbie Shelly ASP .Net 1 09-03-2007 02:10 AM
Problems compiling simple C++ code (also problems with std::string) Susan Baker C++ 2 06-26-2005 01:43 AM
Re: sound problems and modem problems Harold Potter Computer Support 5 12-04-2003 04:12 PM



Advertisments