[Javascript] Http header to issue a location.replace
Peter Brunone
peter at brunone.com
Tue May 21 12:32:28 CDT 2002
Jose,
You can't use server-side script to submit a form. What you CAN do if you
want the form not to be submitted twice, is have a user-specific value kept
in a session variable or cookie that says the form has already been
submitted; that way, you can still POST and avoid processing the information
twice even if the user re-submits.
Is this helpful,
Cheers,
Peter
|-----Original Message-----
|From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
|Behalf Of JOSE ADRIANO BALTIERI
|
|Hello list
|
| Have always used location.replace to make a form response
|fall over
|itself.
|
| However, wanna do it from my script, server side. Maybe specifying
|something on my http header.
|
| Does anyone know if this is possible ?
|
| How do you deal if you need a location.replace and your
|form is too
|large and needs to be POSTed ?
|
| TIA !
|
| Obrigado/Thanks a Lot,
|
| Jose Adriano Baltieri
| Analista de Sistemas/Systems Analyst
| CPD - CENTRO / Data Processing Dept
| UNIMEP - Universidade Metodista de Piracicaba/
| UNIMEP - Methodist University of Piracicaba
| PIRACICABA - SP - BRASIL
| Fone : 055 0 XX 19 3124-1858 (english spoken)
| Fax : 055 0 XX 19 3124-1898 (cx postal 42778)
More information about the Javascript
mailing list