Quantcast

cake_sessions in DB and how do I use the data?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

cake_sessions in DB and how do I use the data?

MetZ
Okei,, so I am trying out the save sessions to DB and make use of them in my views.

My cake_sessions table are been updated just fine with my sessions data, but now I am wondering how to access this data.

Couple things I want to to is:

1) Display current logged in users => There are 3 logged in users => Perhaps list the users ul li user 1 /li li user 2 /li li user 3 /li </ul
2) Display current visitors on site => There are 12 visitors browsing the site right now.


Can I do this with the cake_sessions AS-IS or do I need to make something custom row/stuff to display what I need?

Thanks for all your help on this!
-Tom


--
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/cake-php?hl=en-US.
 
 
Loading...