I have a domain where I put many applications. My domains is in smarter ASP. I create a folder for each application.
Then the URI path like it to the next
How to get the right and left part of URL. By example:
http://siteofsites/site/controller/action?parameters
Where:
- "siteofsites" is a domain.
- "site" is my web app.
I need put in a variable.
var leftpart=http://siteofsites/site/
var rigthpart=/controller/action?parameters.
Is there a way to get this?