English 中文(简体)
利用头盔地点和IE9海滩进行转头处理的问题
原标题:Problem with redirecting using header location and IE9 cache

我在使用PHP头顶点与IE9同时存在问题。

关于电子商务网站,我使用诸如/cart/add/id-of-product.htm(cart/add/233.htm)等链接,在汽车上添加产品。 后面的网页将产品添加到汽车上,并将用户转至/cart.htm。 所有这一切在FF中都是完美的。 甚至在E9公司工作,直到有人试图在汽车上再添加同样的产品。 IE认为,他可以直接上到www.cart.htm网页,并在我试图将产品添加到汽车上时跳出我的代码。 有一些IE藏匿关于转头的信息,但为什么? 添加到 car子后面的链接清楚显示链接/cart/add/233.htm,但如果你点击,那就只是绕过页。 我试图在后面加上一个频率(/cart/add/233.htm?263663746),但这不是事。

Does anyone know how to avoid this? I want to redirect the user after they added a product to the cart, but how do I avoid this IE thing?

感谢你们的时间!

问题回答

RFC允许的互联网探索者关卡 HTTP/3xx 如果你不希望某个特定方向被搁置,那么,你需要使用一个吉大港山区,而不是一个未来的螺旋或顶峰。 你显然不想使用吉大港山区。

(如果你做了适当工作,就会试图在URL中进行随机盘问,但你在那里做了一些错误。)





相关问题
Brute-force/DoS prevention in PHP [closed]

I am trying to write a script to prevent brute-force login attempts in a website I m building. The logic goes something like this: User sends login information. Check if username and password is ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

定值美元

如何确认来自正确来源的数字。

Generating a drop down list of timezones with PHP

Most sites need some way to show the dates on the site in the users preferred timezone. Below are two lists that I found and then one method using the built in PHP DateTime class in PHP 5. I need ...

Text as watermarking in PHP

I want to create text as a watermark for an image. the water mark should have the following properties front: Impact color: white opacity: 31% Font style: regular, bold Bevel and Emboss size: 30 ...

How does php cast boolean variables?

How does php cast boolean variables? I was trying to save a boolean value to an array: $result["Users"]["is_login"] = true; but when I use debug the is_login value is blank. and when I do ...

热门标签