|Posted: 15 October 2010 at 8:47am
I use ISAPI_Rewrite with much success on one of my sites, however, I have a new issue and I think it will solve my problem, but I wanted to verify before I undertake the project.
Here is my scenario:
I have one main website: www.mysite.com
I have several other sites such as: www.myLOCATIONsite.com
Due to several issues, most important session vars and cookies across domains
I was hoping I could use rewite rules so that if the user goes to on of the LOCATION sites, I could redirect them to mysite and have the URL show that they are at LOCATION.
The issue is that I cannot login the user at the main site and have him access the functions of the other sites. Now my site is one app that uses HOST HEADERS to determine which site the user initially came from.
I was hoping I could have the user:
2) I would detect this and redirect them to www.mySITE.com but the URL would show myLOCATIONsite.com
3) I could create cookies, sessin vars, login, etc. and do everything as if the user was at mySITE.com, but it would appear to them that they were at myLOCATIONsite.com
I hope this all makes sense as it is very hard for me to put it into words what I am trying to accomplish.
Any help would be greatly appreciated!!