本文主要是介绍如何让IE6在从https到http的跳转中不出安全提示,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
如果你的产品有从https到http的跳转(在登录的时候经常遇到),遇上IE6的话,会弹出一个安全提示,提示你从正在跳入不安全的网页。这个虽然是合理的,但是对用户来说不是很爽。
网上搜了一下解决方案,其中有个家伙说使用303 See Other的话,可以避免这个问题,详细介绍请移步:http://stackoverflow.com/questions/651772/how-to-redirect-from-https-to-http-without-annoying-error-messages
经过尝试,证实这个方法不行,根据rfc2616介绍:
10.3.4 303 See Other
The response to the request can be found under a different URI and SHOULD be retrieved using a GET method on that resource. This method exists primarily to allow the output of a POST-activated script to redirect the user agent to a selected resource. The new URI is not a substitute reference for the originally requested resource. The 303 response MUST NOT be cached, but the response to the second (redirected) request might b
这篇关于如何让IE6在从https到http的跳转中不出安全提示的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!