View Full Version : Redirecting client-side based on response from server
04-21-2005, 09:55 PM
Any pointers much appreciated!
04-22-2005, 05:28 AM
Let the CGI ouput this meta tag inside the <head> tag based on the data returned.
<meta http-equiv="refresh" content="0; theURL" />
04-23-2005, 12:19 PM
Thanks for the reply. Perhaps I should explain the problem better.
I have a form for the user to submit a query to a CGI program. The CGI is not mine and I dont have the source, so I can't change it. The CGI program will either return the data that I want to display or an error. I want to trap the error before it is displayed and redirect the user to a different form.
Unfortunately I've forgotten how I called the CGI and examined the response without displaying it.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.