You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Andrew M." <bu...@nm.ru> on 2007/03/15 09:55:16 UTC

How to clear tapestry components cache at the beginning of new session?

Hi all!
I use the "@Input" component to display user name, when user is logged in. 
The problem is that when user logs out(ends session) and then logs in using
another account, the "@Input" component displays old user name. 
(as a matter of fact,  whole page shows old content, not only that @input)

If he presses "refresh button" (F5 in most browsers), "@input" shows new
user name.

It is ok, if browser's caching is off. But I don't wanna depend on browser's
options.
It is ok, when "JAVA_OPTS=-Dorg.apache.tapestry.disable-caching=true" , but
it is a bad way, cause of perfomance decreasing.

How to resolve this problem? Thank you.



-- 
View this message in context: http://www.nabble.com/How-to-clear-tapestry-components-cache-at-the-beginning-of-new-session--tf3407046.html#a9490558
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org