如何在链接中打开302重定向? [英] How to Ie open a 302 redirect inside a link?

查看:245
本文介绍了如何在链接中打开302重定向?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,即打开URL首先需要调用InternetConnect,例如www.google.com调用InternetConnect和www.google.com param,但是!

------- ---------------------

如果打开带代码的php

header(位置:http: //www.microsoft.com);

获得302重定向,现在当要调用internetconnect时,网站www.microsoft.com已经显示最终确认

- -----------

...请告诉我,IE如何在链接中打开302重定向?什么是API?

usually,ie open to a URL first need call a InternetConnect ,such as www.google.com call InternetConnect with www.google.com param,but!
----------------------------
if open a php with code
header("Location: http://www.microsoft.com");
get a 302 rediret,now when ie to call a internetconnect,site www.microsoft.com already show final
-------------
at all.....pls tell me ,IE how to open a 302 rediret inside a link?what's a API?

推荐答案

响应代码由Web服务器发送。代码在300-399之间,服务器告诉浏览器资源当前/暂时/永久不可用于请求的URL,但可以在不同的位置找到。对于Web浏览器的用户来说,如果他必须阅读该重定向消息然后手动导航到新地址,那将非常不方便,因此任何Web浏览器都会自动跟随重定向。
Response codes are sent by the web server. With codes between 300-399, the server tells the browser that the resource is currently/temporarily/permanently not available on the requested URL, but can be found instead at a different location. For the user of a web browser, it would be terribly inconvenient if he had to read that redirection message and then manually navigate to the new address, consequently any web browser automatically follows the redirection.


这篇关于如何在链接中打开302重定向?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆