Thanks but the methods such as onBeforeRender seem not be called on browser 
back.

Chris


> Am 10.05.2015 um 22:54 schrieb Marcel Barbosa Pinto <[email protected]>:
> 
> You could override the onRender method that is executed every time the page
> is rendered on the browser.
> Em 10/05/2015 17:43, "Chris" <[email protected]> escreveu:
> 
>> Hi all,
>> 
>> I would like to measure the time the user stays at a certain page. I would
>> do this by querying the system’s time when loading the page (in the page
>> constructor) and the system time when clicking on a link that refers the
>> user to the next page.
>> However, if the user hits the browser back button, the last version of the
>> page is displayed without loading the page via its constructor.
>> 
>> What would be the best solution to measure the time spent on a page?
>> 
>> Thanks, Chris
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>> 
>> 

Reply via email to