A Question About Using A Php User Class And Session Variables

From: Date: Thu, 21 Aug 2014 16:39:51 +0000
Subject: A Question About Using A Php User Class And Session Variables
Groups: php.general 
Request: Send a blank email to php-general+get-323775@lists.php.net to get a copy of this message
Hi all, Newbie learning about php Classes… I have a question about using a php user class and session variables. Let's say that I have managed to create a user class that finds a particular person from the database query. As I move about the site from page to page it would be nice to be able to use the current user inside the user class without needing to re – look them up in the database multiple times Q: so is there a way to combine the current active user in the class with session variables so that they can be used multiple times? If so, how would this work? -- Thanks, Dave - DealTek dealtek@gmail.com [db-14]

« previous php.general (#323775) next »