If I understand ... this would do the job 

Am I right?

<cfset a= random(a,b)>
<script language=javascript>
self.location.href='MyFile.cfm?refresh=#a#'
</script>

> -----Message d'origine-----
> De:   Gena [SMTP:[EMAIL PROTECTED]]
> Date: Tuesday, August 22, 2000 9:26 AM
> �:    [EMAIL PROTECTED]
> Objet:        Re: Caching pages
> 
> If browser "see" different url - it download this page from server, not
> from
> cash
> 
> Regards,
> Gennadi
> 
> ----- Original Message -----
> From: Gilles Ratte <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 22, 2000 10:46 PM
> Subject: RE: Caching pages
> 
> 
> Can you explain a little further...
> I don't see how you do this with a random refresh
> 
> thanx
> 
> > -----Message d'origine-----
> > De: Gena [SMTP:[EMAIL PROTECTED]]
> > Date: Tuesday, August 22, 2000 5:24 AM
> > �: [EMAIL PROTECTED]
> > Objet: Re: Caching pages
> >
> > > Is there a way to keep browsers from caching a page?
> >
> > Yes
> >
> > > I have a CF page that does a calculation, and if the person hits the
> > back
> > > button and goes back to the page the data is not updated.
> >
> > Like this:
> >
> > <cfset a= random(....)>
> >
> > MyFile.cfm?refresh=#a#
> >
> >
> > Cheers
> >
> > >
> > > Thanks
> > > Chad
> > >
> >
> --------------------------------------------------------------------------
> > ----
> > > Archives: http://www.mail-archive.com/[email protected]/
> > > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> in
> > the body.
> > >
> >
> >
> --------------------------------------------------------------------------
> > ----
> > Archives: http://www.mail-archive.com/[email protected]/
> > To Unsubscribe visit
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
> or
> > send a message to [EMAIL PROTECTED] with 'unsubscribe'
> in
> > the body.
> --------------------------------------------------------------------------
> --
> --
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=sts&body=sts/cf_talk or
> send
> a message to [EMAIL PROTECTED] with 'unsubscribe' in the
> body.
> 
> 
> --------------------------------------------------------------------------
> ----
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
> send a message to [EMAIL PROTECTED] with 'unsubscribe' in
> the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebarRsts&bodyRsts/cf_talk or send a message 
to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to