Posted on: 6/30/2014 1:54:11 AM | Views : 430

Hello everyone, I have a problem with my web application. I am developing two seperate web applications hosting on www.example.com and www.customer.example.com. Now I am testing the web application in Visual Studio locally. However, when i ran both applications at the same time, I got "this webpage has a redirect loop problem." I noticed that the port number on localhost are different. On page load, I checked if a session exists like this.
On www.example.com (First application)
If Not Session("admin_id") Is Nothing Then Response.Redirect("~/admin/default.aspx", False) End If On www.customer.example.com (Second application)

Go to the complete details ...