Stevo Posted July 15, 2006 Share Posted July 15, 2006 How do I access to all sessions which are momentary active, and collect the informations from them.For sample I want to see ho is present on the site. Sorry for bad language.And thanks. Quote Link to comment https://forums.phpfreaks.com/topic/14693-sessions/ Share on other sites More sharing options...
SharkBait Posted July 15, 2006 Share Posted July 15, 2006 There is a tutorial on PhpFreaks about tracking users on your website via their session IDs. Though you need to be running MySQL or some sort of database to help keep track.Think it's this one: http://www.phpfreaks.com/tutorials/62/0.php Quote Link to comment https://forums.phpfreaks.com/topic/14693-sessions/#findComment-58611 Share on other sites More sharing options...
Stevo Posted July 15, 2006 Author Share Posted July 15, 2006 Can I see sessions information without MySQL database.If I know Id sessions. Quote Link to comment https://forums.phpfreaks.com/topic/14693-sessions/#findComment-58614 Share on other sites More sharing options...
pixy Posted July 15, 2006 Share Posted July 15, 2006 I think there's a way to store sessions on the server, but the "point" is the store them on the user's computer so it remember's their information. The tutorial posted is really the only way to do it. You detect the session information from the user and put it in the table and show if they've been active in X amount of time. Quote Link to comment https://forums.phpfreaks.com/topic/14693-sessions/#findComment-58616 Share on other sites More sharing options...
ShogunWarrior Posted July 15, 2006 Share Posted July 15, 2006 Sessions ARE server-side based, cookies are client-side. However, sessions are set up so that the server-side and client-side only have access to the active session.However, by using MySQL or if you have access to the [b]tmp[/b] directory you might be able to do something. Quote Link to comment https://forums.phpfreaks.com/topic/14693-sessions/#findComment-58621 Share on other sites More sharing options...
Stevo Posted July 15, 2006 Author Share Posted July 15, 2006 Thanks. Quote Link to comment https://forums.phpfreaks.com/topic/14693-sessions/#findComment-58623 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.