Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape & Opera - Header: Location when using POST

Status
Not open for further replies.

gmail2

Programmer
Jun 15, 2005
987
IE
I've created a form which uses POST and also specifies the target as an iframe which is hidden from the user. That way because the main page never reloads the user input is never lost and I can give error message back to the user without having to reload the page. I do this by saying if something failes then send Header Location: (I'm using PHP by the way !!)

Anyway, in IE and firefox this works fine - the header is sent to the iframe - however in netscape and opera the header is sent to the parent page rather than the iframe - why is this?
 
Sorry - forgot to mention. If you use GET instead of POST in the above - the header is returned to the IFRAME instead of the parent window. That's why I'm curious why it behaves this way
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top