Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Security > Multiple sites on same server - authentication problem

Reply
Thread Tools

Multiple sites on same server - authentication problem

 
 
Richard Marr
Guest
Posts: n/a
 
      09-01-2005
Hi, hope you can help

I have multiple asp.net sites running on the same physical server,
each with its own sql server database. There is a root folder on the
server called 'websites', and under that one folder for each site, eg
siteA, siteB etc. Each site folder contains its own web.config file at
the root level.

I am using forms authentication, however the problem is that no matter
which site a user attempts to log in to they are presented with the
*first* site's login page, so a login to siteB gets presented with the
login page for siteA.

I've a feeling I must have missed something stupid, but it's eluding
me for the moment. Any ideas anyone?
 
Reply With Quote
 
 
 
 
Dominick Baier [DevelopMentor]
Guest
Posts: n/a
 
      09-01-2005
Hello Richard,


is every "site" marked as an application in IIS?

---------------------------------------
Dominick Baier - DevelopMentor
http://www.leastprivilege.com

> Hi, hope you can help
>
> I have multiple asp.net sites running on the same physical server,
> each with its own sql server database. There is a root folder on the
> server called 'websites', and under that one folder for each site, eg
> siteA, siteB etc. Each site folder contains its own web.config file at
> the root level.
>
> I am using forms authentication, however the problem is that no matter
> which site a user attempts to log in to they are presented with the
> *first* site's login page, so a login to siteB gets presented with the
> login page for siteA.
>
> I've a feeling I must have missed something stupid, but it's eluding
> me for the moment. Any ideas anyone?
>




 
Reply With Quote
 
 
 
 
Richard Marr
Guest
Posts: n/a
 
      09-01-2005
I think I may have sorted this now, thanks - it seems the problem was
the SSL certificate; at the moment there is only one SSL certificate
on the server, and that is configured for siteA. When I attempt to log
in to siteB that by definition calls for a secure page, and so
redirects to the default page associated with the SSL certificate. The
solution, therefore, is to get a new SSL certificate for each site. If
I temporarily take out the https for each of the pages concerned it
works as expected.

On Thu, 01 Sep 2005 07:37:03 -0700, Dominick Baier [DevelopMentor]
<(E-Mail Removed)> wrote:

>Hello Richard,
>
>
>is every "site" marked as an application in IIS?
>
>---------------------------------------
>Dominick Baier - DevelopMentor
>http://www.leastprivilege.com
>
>> Hi, hope you can help
>>
>> I have multiple asp.net sites running on the same physical server,
>> each with its own sql server database. There is a root folder on the
>> server called 'websites', and under that one folder for each site, eg
>> siteA, siteB etc. Each site folder contains its own web.config file at
>> the root level.
>>
>> I am using forms authentication, however the problem is that no matter
>> which site a user attempts to log in to they are presented with the
>> *first* site's login page, so a login to siteB gets presented with the
>> login page for siteA.
>>
>> I've a feeling I must have missed something stupid, but it's eluding
>> me for the moment. Any ideas anyone?
>>

>
>


 
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
Logging in to multiple sites with the same credentials Wael ASP .Net 1 09-19-2007 09:00 PM
Problem in running multiple sites on same IIS server pintoo ASP .Net 1 06-20-2007 03:14 PM
Same header and footer across multiple sites/server. Ryan Fiorini ASP .Net 1 04-19-2005 02:54 PM
multiple user authentication on same server? Jerome ASP .Net 1 03-03-2005 02:47 PM
Deploying multiple asp.net sites under the same folder Dan Avni ASP .Net 0 02-25-2004 11:25 AM



Advertisments