XAMPP and 302 redirects

Problems with the Linux version of XAMPP, questions, comments, and anything related.

XAMPP and 302 redirects

Postby Louigi Verona » 25. September 2010 15:23

Hey guys!

I am having this weird issue.
I have designed a web game which has various forms, which the user submits to, say, try to open a door and such. To remove the messages "Do you want to submit data second time" when the user navigates back, I have used a 302 redirect. It worked fine.

However, when I uploaded the site online, I found that this mechanism does not work, since such a redirection header should be called before any html output. So this is understandable.

Question is - how come it still works in XAMPP locally? Why does a 302 redirect header work, even though it should not? Are there any differences in how Apache behaves locally and online?
Louigi Verona
Posts: 1
Joined: 25. September 2010 15:15

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 6 guests