RE: RE: How can i know when a users redirects to other page

2010-03-02 Thread Martin Asenov
l.com] Sent: Tuesday, March 02, 2010 12:35 PM To: users@wicket.apache.org Subject: Re: RE: How can i know when a users redirects to other page just answered what he was asking;-). Another thing is if this is the best solution for the use case. Maybe another possibility is to have a background job

Re: RE: How can i know when a users redirects to other page

2010-03-02 Thread Ernesto Reinaldo Barreiro
just answered what he was asking;-). Another thing is if this is the best solution for the use case. Maybe another possibility is to have a background job that does clean unused files from time to time. Best, Ernesto On Tue, Mar 2, 2010 at 11:28 AM, Sergey Olefir wrote: > > > I'm not sure if s

Re: RE: How can i know when a users redirects to other page

2010-03-02 Thread Sergey Olefir
I'm not sure if session invalidation will be carried out if server stops/crashes. Although I think the session invalidation mechanism is still the most reliable of all that was proposed (my personal first reaction was "you can't do it reliably" -- although after reading the thread I have to agree

Re: RE: How can i know when a users redirects to other page

2010-03-02 Thread Ernesto Reinaldo Barreiro
n this? > > Thank you all for the help! > > Best regards, > Martin > > -Original Message- > From: Edward Zarecor [mailto:edw...@indeterminate.org] > Sent: Tuesday, March 02, 2010 1:46 AM > To: users@wicket.apache.org > Subject: Re: RE: How can i know when a

RE: RE: How can i know when a users redirects to other page

2010-03-01 Thread Martin Asenov
2010 1:46 AM To: users@wicket.apache.org Subject: Re: RE: How can i know when a users redirects to other page Would on session expiry be a better place to handle this? Implementation would be simple and you could avoid ever needing to regenerate a file if that is useful to you. It also natu

Re: RE: How can i know when a users redirects to other page

2010-03-01 Thread Edward Zarecor
Would on session expiry be a better place to handle this? Implementation would be simple and you could avoid ever needing to regenerate a file if that is useful to you. It also naturally handles the case where a user doesn't leave the page. Ed. On Mar 1, 2010 10:09 AM, "Martin Asenov" wrote:

Re: How can i know when a users redirects to other page

2010-03-01 Thread Riyad Kalla
ch 01, 2010 5:31 PM > To: users@wicket.apache.org > Subject: Re: How can i know when a users redirects to other page > > Just an idea... Use a component instantiation listener and "delete" the > file, if it exists, whenever any other page is created. > > Regards, > &

RE: How can i know when a users redirects to other page

2010-03-01 Thread Martin Asenov
Thank you all for the support, I highly appreciate it! Regards, Martin -Original Message- From: Ernesto Reinaldo Barreiro [mailto:reier...@gmail.com] Sent: Monday, March 01, 2010 5:31 PM To: users@wicket.apache.org Subject: Re: How can i know when a users redirects to other page Just

Re: How can i know when a users redirects to other page

2010-03-01 Thread Ernesto Reinaldo Barreiro
rs on page under a download link. I want to delete the file when the > user goes in another page. > > Regards, > Martin > > -Original Message- > From: Riyad Kalla [mailto:rka...@gmail.com] > Sent: Monday, March 01, 2010 4:31 PM > To: users@wicket.apache.org

RE: How can i know when a users redirects to other page

2010-03-01 Thread Martin Asenov
To: users@wicket.apache.org Subject: Re: How can i know when a users redirects to other page Martin can you explain your use-case, namely what is the importance of seeing which page a user is no-longer on? Seems like a super-easy way to do this would be to extend a base-page that updates a

Re: How can i know when a users redirects to other page

2010-03-01 Thread Riyad Kalla
Martin can you explain your use-case, namely what is the importance of seeing which page a user is no-longer on? Seems like a super-easy way to do this would be to extend a base-page that updates a Session metadata element with the current page the user is on and allow a listener to be notified wh