开发者

see code when cross-posting page with Server.Transfer

开发者 https://www.devze.com 2022-12-23 13:06 出处:网络
When I use S开发者_如何学Pythonerver.Transfer the browser keeps the Previous Page on the URL bar. Also, when I try to view the source code of the page, shows the previous page code. I need to see the

When I use S开发者_如何学Pythonerver.Transfer the browser keeps the Previous Page on the URL bar. Also, when I try to view the source code of the page, shows the previous page code. I need to see the current page code. Any help?

Thank you


In IE8 the developer toolbar allows you to view the original and current DOM of the page. In Firefox, you can use the Web Developer plugin to allow you to view the current page source.


If you use Response.Redirect() instead of Server.Transfer you have less of these problems though at the cost of having more round trips to your server.

0

精彩评论

暂无评论...
验证码 换一张
取 消