开发者

Opera and redirect issues

Has anyone seen or heard of Opera having redirect issues? I have a PHP script that POSTs back to itself, sets up some variables and then redirects to another page. This fails on a Linux box but works with no issues on Windows.

EDIT:

I also need to mention that redirect works well and as expected in开发者_StackOverflow社区 Chrome, FF and IE. Redirect works in ALL browsers, Opera included if I'm on a windows machine. When I move my code to my Linux server, redirect breaks in Opera.

Why does everything work on Windows and not in Linux? How does the browser know the difference? I honestly don't even know where to begin looking.


Saw this sometimes with Konqueror a few years ago - I tend to avoid PRG as it often causes more problems than it solves (as evidenced here) but had a similar problem where more than one consecutive redirect (PRGRG - OMG!) failed.

When I move my code to my Linux server, redirect breaks in Opera.

But that sounds like something completely different. I could understand if it broke everywhere - that'd point to a text conversion problem causing output to the body of the page before the header() cal (and hence the header call would fail). I suggest you look at a wiretap of the requests/responses for the 2 servers and see if you can see a difference.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜