Jump to content

[SOLVED] Need help on how to calculate the time the user spend to the webpage


andz

Recommended Posts

I need a code that will calculate the time the user spend to the webpage. After specific timeline for example 1 minute, after 1 minute, the user will be redirected to login page.

 

anyone could help. hopefully its written in php and not in javascript.

 

thanks

Yes, i'll be using sessions for this.

 

If the user isn't logged in and try to view the webpage, user will be given specified time to stay and read to that webpage but after the given time lapsed, user will be redirected to login page.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.