Re: Pyramid web-app and accounting, tracking/limit user navigation on the website

2013-02-27 Thread Fabio Dive
Thank you! On Tue, 26 Feb 2013 08:49:42 -0800 (PST) Jonathan Vanasco wrote: > With digital media you can run a companion ajax call to 'ping' the > server every n seconds - but that isn't very secure. that method is > largely used for performance and audience analytics. > > if you want to 'secu

Re: Pyramid web-app and accounting, tracking/limit user navigation on the website

2013-02-26 Thread Jonathan Vanasco
With digital media you can run a companion ajax call to 'ping' the server every n seconds - but that isn't very secure. that method is largely used for performance and audience analytics. if you want to 'securely' track video streams, you'd need to do that within the server that is serving them -

Re: Pyramid web-app and accounting, tracking/limit user navigation on the website

2013-02-26 Thread Fabio Dive
On Mon, 25 Feb 2013 13:53:27 -0800 (PST) Jonathan Vanasco wrote: > - Stash a "session_start" timestamp in the session > - At the start of every request, run a function to check the > "session_start" timestamp against `now`. if your criteria is met, you > can invalidate the session, update the da

Re: Pyramid web-app and accounting, tracking/limit user navigation on the website

2013-02-25 Thread Jonathan Vanasco
- Stash a "session_start" timestamp in the session - At the start of every request, run a function to check the "session_start" timestamp against `now`. if your criteria is met, you can invalidate the session, update the database, and redirect the user. depending on how you set up your requests,

Pyramid web-app and accounting, tracking/limit user navigation on the website

2013-02-25 Thread Fabio Dive
Hello all! Is there any way to do accounting with pyramid python? I would like to develop a web application where the users navigation time is tracked. When the preconfigured usage time is passed, the session get invalidated and the user get logged out. I already have all the code for administer