You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Andrea Del Bene <ad...@ciseonweb.it> on 2012/02/06 16:11:11 UTC

Best way to clean all sessions

Hi,

what is the best way to clean all sessions at once? I want to get rid of 
all sessions' data when I terminate Wicket application.

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


Re: Best way to clean all sessions

Posted by Andrea Del Bene <ad...@ciseonweb.it>.
It is exactly what I needed! Thank you!
> http://tomcat.apache.org/tomcat-7.0-doc/config/manager.html#Persistence_Across_Restarts
>


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


Re: Best way to clean all sessions

Posted by Martin Grigorov <mg...@apache.org>.
See
org.apache.wicket.pageStore.DiskDataStore#destroy()
org.apache.wicket.DefaultPageManagerProvider#newDataStore()

http://tomcat.apache.org/tomcat-7.0-doc/config/manager.html#Persistence_Across_Restarts

On Mon, Feb 6, 2012 at 6:10 PM, Andrea Del Bene <ad...@ciseonweb.it> wrote:
> if I turn off Tomcat and turn it on later, pressing F5 I see the page I was
> on when I stopped Tomcat. I think is due to DiskDataStore which saves page
> versions into file.
> How can I clean Data Store files when Wicket Application is terminated?
>
>> Hi,
>>
>> What exactly is not cleared ?
>> See org.apache.wicket.Application#internalDestroy()
>>
>> On Mon, Feb 6, 2012 at 5:11 PM, Andrea Del Bene<ad...@ciseonweb.it>
>>  wrote:
>>>
>>> Hi,
>>>
>>> what is the best way to clean all sessions at once? I want to get rid of
>>> all
>>> sessions' data when I terminate Wicket application.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>>> For additional commands, e-mail: users-help@wicket.apache.org
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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


Re: Best way to clean all sessions

Posted by Andrea Del Bene <ad...@ciseonweb.it>.
if I turn off Tomcat and turn it on later, pressing F5 I see the page I 
was on when I stopped Tomcat. I think is due to DiskDataStore which 
saves page versions into file.
How can I clean Data Store files when Wicket Application is terminated?
> Hi,
>
> What exactly is not cleared ?
> See org.apache.wicket.Application#internalDestroy()
>
> On Mon, Feb 6, 2012 at 5:11 PM, Andrea Del Bene<ad...@ciseonweb.it>  wrote:
>> Hi,
>>
>> what is the best way to clean all sessions at once? I want to get rid of all
>> sessions' data when I terminate Wicket application.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>
>


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


Re: Best way to clean all sessions

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

What exactly is not cleared ?
See org.apache.wicket.Application#internalDestroy()

On Mon, Feb 6, 2012 at 5:11 PM, Andrea Del Bene <ad...@ciseonweb.it> wrote:
> Hi,
>
> what is the best way to clean all sessions at once? I want to get rid of all
> sessions' data when I terminate Wicket application.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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