[plug] HTTP return header?

Steve Grasso steveg at calm.wa.gov.au
Fri Jan 11 13:19:19 WST 2002


<a href=\"javascript:history.go(-1)\">Back</A>
will do it from a link.

Regards,
Steve

On Friday 11 January 2002 13:07, J Michael Gilks wrote:
> I am writing a site for Mater Dei College and on the login page I need to
> validate entries on the form before submitting it to the database. Using
> the onSubmit method of the form I check entries and if they are missing
> setfocus to that entry then return false. This should stop the submit
> process, but it doesn't. I get my error message box come up and then the
> form submits anyway. What I would like to do is include a header on the
> action page to redirect back to the login page, with the information
> intact, if this error occurs. I am using Quanta as an IDE, with PHP
> scripting on an Apache server. I am sure there is an appropriate header as
> every browser has a back button which works. I just can't find a reference.
> Can anyone help please.
> Love
> Mike.



More information about the plug mailing list