Yes - two virtual directories pointing to the same real directory would work.
Trouble is this application will be used with 100+ companies so managing those
virtual directories would probably get out of hand pretty quick.
As a follow up to my original post I was able to get my HTTPModule in the
pipeline and wired up to the AuthorizeRequest event where I placed
EventLog.WriteEntry for debugging.
I was surprised to find that the AuthorizeRequest Event fired numerouse times as
the page went from Login.aspx to Default.aspx. I am using a Master Page with 3
images and I am guessing that each AuthorizeRequest event that is firing must be
for the individual pieces that make up the entire page?
On 21 Mar 2007 12:52:07 -0700, "Alexey Smirnov" <al************@gmail.com>
wrote:
>On Mar 21, 8:46 pm, Jay Pondy <jpo...@bellsouth.netwrote:
>Thanks for the quick response jobo - your code will extract the Company from the
URL but it won't get ASP.Net to process the SomePage.aspx.
After doing some more research it appears that what I want to do is in fact
called URL re-writing and is covered in this article:
I think, you can also have two virtual directories 'ABCCompany' and
'XYZCompany' in IIS that points to a real directory with
SomePage.aspx, etc.