the back button is the bane of all web programmers!

grrrr!!!!!!


--- "Amit Agarwal (amagarwa)" <[EMAIL PROTECTED]> wrote:

> All these solutions would work but all of them have some catches. One
> solution that should work fine is to set the "no-cache"
> directive(meta tag)
> in the html page so that it expires after the first load. And every
> time
> user presses the back button, the browser would connect to server to
> reload
> the page.
> 
> The link that was sent few mins back 
> http://www.theserverside.com/articles/article.tss?l=RedirectAfterGet 
> 
> does talk about this solution from the struts perspective. However,
> it can
> be implemented with or without struts.
> 
> HTH,
> -Amit
> 
> 
> -----Original Message-----
> From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] 
> Sent: Monday, October 04, 2004 10:36 AM
> To: Struts Users Mailing List
> Subject: Re: back button
> 
> 
> You may want to try this on the page you don't want your users to be 
> able to go back to:
> 
> <body onLoad="location.replace(this.href);return false;">
> 
> Standard disclaimer: I have not tried this, I'm just coming up with
> it 
> off the top of my head... Even if it does work, I can't vouch for how
> 
> cross-browser it is, and it will not help if they have scripting 
> disabled.  But, if those things can be factored out of the equation, 
> this might do the trick for you.
> 
> -- 
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> 
> andy wix wrote:
> > Hi,
> > 
> > As usual I think I must be missing something fundamental!
> > It would be pretty serious to leave the back functionality -
> someone
> > could delete a contact, then press back and see the name again.  If
> they 
> > subsequently do another delete, there's trouble!
> > 
> > I'm thinking this problem is not simply due to the caching - if I 
> > loaded
> > the page from the db each time the browser would still have its own
> copy 
> > of what-was-once there.  I think this must be a problem which
> occurs in 
> > many projects?
> > 
> > Regards,
> > Andy
> > 
> > _________________________________________________________________
> > Want to block unwanted pop-ups? Download the free MSN Toolbar now!
> > http://toolbar.msn.co.uk/
> > 
> > 
> >
> ---------------------------------------------------------------------
> > 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]
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



                
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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

Reply via email to