This might be a dumb question, but are you sure that the browser isn't showing you a cached version of the page when you use the back button? Have you prevented caching in the HTML or by using timestamps on your request URLs?

I guess it's hard to say without knowing more about the code. Does your "view" action pull data from the cache unless you have marked the cache "dirty", such as after a delete?

Also, as an aside, is this data that all users will have in common? If so, you might want to consider application scope rather than session scope for your cache. In other words, have your sessions hold references to beans that are stored in application scope. This would be better than each session holding a reference to a different bean, when all the beans are the same (with equals but not ==) anyway . . .

Erik


andy wix wrote:

Hi,

The delete action does delete it from the arraylist in the session (as well as the db). That's why I think it must somehow grab the old copy when doing a 'back'.

Regards,
Andy

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger



--------------------------------------------------------------------- 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