Re: [web2py] Like the 1st example in the web2py book, can I customize my session.counter to count all sessions?

2014-12-02 Thread Richard Vézina
Make a counter table with a column count and update the first row of the table each time there is an unique IP address every day... Or you can implement other rule... In your footer you will display the count db.counter(1).count # You select row 1 content that is you count You update your

[web2py] Like the 1st example in the web2py book, can I customize my session.counter to count all sessions?

2014-12-01 Thread Gideon George
Please what I can do if I want to display the number of visits to each page of my site without restricting it to just individual sessions? Unlike the code below where it displays number of visits for a particular session, I want a situation where by I can put something like this at my