Jump to content

Sessions


Stevo

Recommended Posts

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
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.