Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi,
My website is hosted on iis 6.0.I trying to access from other machine via host machine ip it show only login page after shows "page cannot be displayed" error for following scenario.


In internet explorer,in 1st i open youtube, in 2nd tab i open gmail, in third tab i open my website remotely then login page working properly but other pages are not displayed.


This scenario is not occur in Other browsers, but my client requirement is strictly use IE

I also tried, added that website in trusted site,also turn off firewall but no success.

Also This problem occur only in IE8,IE9 or other updated version.
Posted
Updated 22-Jun-15 19:30pm
v3
Comments
Sergey Alexandrovich Kryukov 23-Jun-15 1:28am    
"Strictly use IE"? Okay, it calls for a new term (unless someone has already coined it): "requirement abuse".
But seriously, IE should be allowed to use in most cases, despite its destructive features even in later versions.

Anyway, you screwed up something, but your description provides not enough information on the problem. You really need to provide some short but comprehensive code sample demonstrating the problem.

—SA
Mangesh9692 23-Jun-15 1:35am    
Helo thanks for your response,

my code is snippest below,i cant share you whole code,

protected void Page_Load(object sender, System.EventArgs e)
{

try
{

int userid = -1;

if (Session["userid"] != null)
userid = (int) Session["userid"];

// Don't show validation container unless an error occurs
validationContainer.Visible = false;

/*
* Don't display the login page if the user is still logged in
*/
if (userid != -1)
{
Response.Redirect("default.aspx");
}

if (FormsAuthentication.GetRedirectUrl(HttpContext.Current.User.Identity.Name, false).IndexOf("default.aspx") > 0)
lblError.Visible = false;
else
lblError.Visible = true;

}
catch(Exception _e)
{
//Handled Exception

}

}
Sergey Alexandrovich Kryukov 23-Jun-15 1:43am    
This code is unrelated to the browser at all. This is the server-side code. A browser only deals with HTML (JavaScript, CSS) code which comes in a HTTP response. And the same code can cause different response in different browser. Your code sample is neither comprehensive nor relevant.
—SA
Mangesh9692 23-Jun-15 1:46am    
Can you suggest some links,or settings
for above stated scenario
Sergey Alexandrovich Kryukov 23-Jun-15 2:07am    
Sure. http://ASP.NET. Yes, I'm serious. Plus all the literature on how Web works, and also on HTTP and JavaScript. And some documentation and literature on browser compatibility.
Your question is way too vague to tell you anything a lot more certain. Besides, you did not provide any relevant code.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900