即使请求其他页面,URL仍然相同 [英] URL still be same even though requesting other pages
问题描述
当我请求不同的页面时,它会转到我要求的页面,但URL仍然显示相同,除了USERLOGIN.aspx之外没有显示任何内容。
当它是Java脚本时,它工作正常。但是在我们实现了CSS3之后,它显示出来了。
请帮我解决这个问题。,
When i request a different pages,It will go to correct page what i have requested, but the URL still shows same, its not showing anything other than USERLOGIN.aspx.
when it was in Java script, it was working fine. But after we implementing CSS3 , it is showing like that.
Please help me to resolve this.,
推荐答案
i没有改变任何。 cs在这里编码。我使用了相同的Response.redirect。,我唯一改变的是使用CSS3以获得更好的外观和感觉
i haven''t change any .cs coding here. I have used same Response.redirect ., The only thing i have changed is using CSS3 for better look and feel
更改样式对浏览器没有影响URL。那时候有些奇怪的事情发生了。检查您是否已将 Response.Redirect
替换为 Server.Transfer
?还要在所需的页面上放置一个调试器并检查当前路径和URL引用。
Changing styles have no effect on browser URL. There is something weird going on then. Check if you have replaced Response.Redirect
with Server.Transfer
? Also put a debugger and check current path and URL referrer on the required pages.
1)你可能有一个iframe
2)你可能有病毒
3)使用IE9 Developer Toolbar或Fiddler查看网络活动。第一个也可用于检查DOM结构。
1) You might have an iframe there
2) You might have a virus
3) Use IE9 Developer Toolbar or Fiddler to see network activity. The first one can be also used to check the DOM structure.
可能是,
您正在使用Server.Transfer进行页面重定向
may be,
you are using Server.Transfer for page redirecting
这篇关于即使请求其他页面,URL仍然相同的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!