iis - ASP.NET 4 Response.Redirect not working from / but is from /index.aspx -


i have basic test page, button , on button click call

response.redirect("b.aspx") 

this works fine when page loaded http://myhost/index.aspx. when same page loads via http://myhost/, redirect doesn't work (the same page reloads normal postback).

the thing i've been able determine response code / 200, whereas /index.aspx it's correctly 302

the server iis7 running asp.net4.

i have tried using true , false second param in redirect() no difference.

thanks dan

index.aspx not default homepage aspx.

try default.apx when try type www.yoursite.com load default.aspx

hope helps


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -