J
Jay Pondy
Given these two virtual paths
http://mysite.com/ABCCompany/SomePage.aspx
http://mysite.com/XYZCompany/SomePage.aspx
Is there any way in ASP.Net 2.0 to parse out the 'ABCCompany' and 'XYZCompany'
strings from the URLs listed and have SomePage.aspx be common to both paths
WITHOUT upsetting how ASP.Net processes SomePage.aspx.
The idea being to make it look like each company has their own set of pages when
in reality they are all the same set of pages.
We are looking for a simple way to make a distinction about which company is
using the web site without asking them to pick their company during a log in. We
want to parse the company out of the URL before ASP.Net gets hold of the page.
I'm not sure if this would be called URL re-writing or what so I just need a
shove in the right direction or maybe there is a better way of doing this.
Thanks
http://mysite.com/ABCCompany/SomePage.aspx
http://mysite.com/XYZCompany/SomePage.aspx
Is there any way in ASP.Net 2.0 to parse out the 'ABCCompany' and 'XYZCompany'
strings from the URLs listed and have SomePage.aspx be common to both paths
WITHOUT upsetting how ASP.Net processes SomePage.aspx.
The idea being to make it look like each company has their own set of pages when
in reality they are all the same set of pages.
We are looking for a simple way to make a distinction about which company is
using the web site without asking them to pick their company during a log in. We
want to parse the company out of the URL before ASP.Net gets hold of the page.
I'm not sure if this would be called URL re-writing or what so I just need a
shove in the right direction or maybe there is a better way of doing this.
Thanks