V> Here's the question: If a member logs out (session_destroy()) or closes V> the browser, the session data is gone, right?
yes V> How, then, would I go about storing information about the member's activity on the site? By adding into your site, any of those custom tracking things. For example, if you wanted to note that they clicked on a link to an article, then the script that serves that article would insert such a note into a table in the db designed specifically for that purpose. What you would be noting would be the ID of the user, not the value of PHPSESSID, because that's just a random string for the period of time that the user is logged in. V> The next time they log in, I'd like to greet them with a message that says V> "Hi, $username. You last visited the site on $date and you viewed the V> following articles: $article1, $article2." Easy enough, if you have tables and little insert snippets scattered about to handle that. - Julie --> Julie Meloni --> [EMAIL PROTECTED] --> www.thickbook.com Find "Sams Teach Yourself MySQL in 24 Hours" at http://www.amazon.com/exec/obidos/ASIN/0672323494/thickbookcom-20 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php