Web Servers General Talk - http header to mimic JavaScript's location.replace

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers General Talk > June 2004 > http header to mimic JavaScript's location.replace





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author http header to mimic JavaScript's location.replace
jabaltie

2004-06-14, 8:47 am

I use JavaScript's location.replace method to have the response of a form to fall over the form itself.

The problem is that this technique only works with small forms, those ones that can be sent using GET method.

I wonder if there is a way to do the same issuing some kind of http header.

That is, a http headers that tells the browser to make the page "fall over" the one where it was requested.

Thanks in advance for your support !
Klaus Johannes Rusch

2004-06-15, 5:48 pm

jabaltie wrote:
> I use JavaScript's location.replace method to have the response of a
> form to fall over the form itself.
>
> The problem is that this technique only works with small forms, those
> ones that can be sent using GET method.
>
> I wonder if there is a way to do the same issuing some kind of http
> header.
>
> That is, a http headers that tells the browser to make the page "fall
> over" the one where it was requested.


Location: http://www.example.com/


--
Klaus Johannes Rusch
KlausRusch@atmedia.net
http://www.atmedia.net/KlausRusch/
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com