CGI: Run Script then load page
Roman Suzi
rnd at onego.ru
Sun Aug 5 02:51:03 EDT 2001
On 4 Aug 2001, Lang wrote:
>Any cgi/web person out there,
>
>I wrote a couple cgi scripts that I use to manage a database. When I
>send changes through a form, it calls a script that makes the database
>commit. Once it is done with the commit, it prints out a return
>button (that's all that shows up on the page) which needs to be pushed
>to return to the main page. How do I call the script, run the commit,
>and then return to a given URL as one step instead of two?
Maybe you can use meta refresh?
<head><meta http-equiv="refresh" content="0;url=main.html">
>I think that this is pretty basic, but I can't find an answer.
>Thanks.
But I've heard 1-click is patented. Be careful ;-)
>-Lang
>
Sincerely yours, Roman Suzi
--
_/ Russia _/ Karelia _/ Petrozavodsk _/ rnd at onego.ru _/
_/ Sunday, August 05, 2001 _/ Powered by Linux RedHat 6.2 _/
_/ "By all means, let's not confuse ourselves with the facts!" _/
More information about the Python-list
mailing list