Netscape and Mozilla create make new HTTP requests when a user asks to view
source or print.  This drives me nuts.  I want to see source of the page I'm
looking at.  If there are any Moz or NS people on the list, please enlighten
us to the reasoning behind this behavior.

Troy

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject: Re: [Zope] How to prevent the user from going


These lines, at least as group, ought only be used on process only pages.
Never on page that an application stops on and renders to a browser.
In addition to these lines, I always make it a practice to do DB or file
system processes on a page that I post to, that includes the lines below,
and when done, redirect with querystring variables to the calling page.
This way the user can click refresh and back all day and you won't get
dupes or constraint errors, etc.



> ------------ Original Message -----------
> From: Oliver Bleutgen <[EMAIL PROTECTED]>
> Date: Thu, 25 Jan 2001 21:11:43 +0100
> 
> > I use this on asp pages, you will have to modify for zope syntax, but
it
> > works
> > very well for your need:
> 
> > Response.buffer = true
> > Response.Expires = -1
> > Response.AddHeader "Pragma", "no-cache"
> > Response.AddHeader "cache-control", "no-store"
> 
> IIRC there's one catch though, It may be stopping netscape
> from being able to print the page. The silly thing then just prints
> "this page is expired from cache". 
> 
> cheers,
> oliver
> 
> 
> 




_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to