----- Original Message -----
From: "David Simcik" <[EMAIL PROTECTED]>
To: "CGI Perl Beginners" <[EMAIL PROTECTED]>
Sent: Monday, October 22, 2001 6:48 PM
Subject: Expiring Form Content


> Howdy!
> Got a bit of a newbie question here (naturally)-how does one expire form
> content after a user has submitted the form? As annoying as it may be, I
> would like that wonderful dialog box to popup in IE and ask me if I want
to
> "attempt" to repopulate the form (even if it would be unsuccessful).
> Thoughts (aside from I'm a big raving idiot...)
>
> Thanks. ;-)
> David

if I correctly understand u send back to client next thing:

Content-type: text/html

<html>
<head>
    <meta http-equiv="Content-Script-Type" content="text/javascript">
    <script>//<!-
        function f() {
            if (self.confirm("Refill form?")) {
                self.location.replace(/*Yes refill form address or
scriptname goes here*/);
            } else {
                self.location.replace(/*Goto further*/);
            }
//->*/</script>
</head>
<body ></body>
</html>

I think that's the answer you need
I tested it ON My CPU attach that 3 files

rep1_cgi.dat

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to