Possibilities of two web applications under one URL!

I have two web applications developed using ASP.Net. I like to provide a link in app A to access the aspx page in app B. This I can access this both apps using the same url.

Is it possible? if possible, how should I proceed?

Suresh

0


source to share


4 answers


The web app (mine) has a definition with a unique url. So no, you can't have two separate web apps under the same url. However, you can have multiple applications on the same server, within your own virtual directories . Thus, you can:

http://www.mydomain.com/ApplicationA



and

http://www.mydomain.com/ApplicationB

+3


source


The only way to do this is to send

  • Another GET request line to access A or B
  • Another COOKIE indicating if you want A or B
  • Server-side discovery of some other data (i.e.: user's IP address, client's custom string, etc.)


However, this sounds like BadIdea ™ and can be a maintenance headache.

+1


source


What is the purpose of this? Not that something is wrong on its own, but it does have a few flags of something to avoid. Perhaps if you clarify your question by indicating that you need to share the URL, we can provide an answer that will help you rather than just guessing your requirements.

0


source


Are you looking for Server.Transfer ?

0


source







All Articles