This doesn't work right every time.
A better idea is to put the HTTP headers in the real HTTP header like:

print <<"EOF";
Content-type: text/html
Pragma: no-cache
Cache-control: no-cache
Expires: Thu, 01 Jan, 3200 10:10:10 GMT

EOF

Teddy,
Teddy's Center: http://teddy.fcc.ro/
Email: [EMAIL PROTECTED]

----- Original Message -----
From: "Greenhalgh David" <[EMAIL PROTECTED]>
To: "Alexander Blüm" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, July 06, 2003 9:17 AM
Subject: Re: disabling the use of browser history


<head>
....
<META http-equiv="Pragma" content="no-cache">
....
</head>

HTH

Dave


On Saturday, July 5, 2003, at 10:12  pm, Alexander Blüm wrote:

> hello!!!
>
> I'm writing a database frontend based on perl-CGI.
>
> Each query is being cached in a file with the current session-ID. The
> reason for this doing is that some queries do take a very long time to
> process and have a large output. If I want to see the next 50 results
> using the SQL 'LIMIT' and 'OFFSET' option this would require to rerun
> the query, which is unnecessary, since the database is used rarely.
>
> Either way, I need to disable the use of the browsers function to "go
> back" or "forward" - it may result in unexpected or wrong outputs.
>
> wasn't this done somehow with the HTML headers or javascript?
>
> I remember something with the word "expire"...
>
> Any help would be greatly appreciated.
> TIA
>
>
> cheers,
> Alex
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



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

Reply via email to