Where are my glasses?
Posts: 22
176 credits Members referred : 0
« on: Jun 18, 2006, 10:00:47 pm »
The user name can be accessed with $SESSION['user'];
Is there a way to change that? Example:
User: <? echo $SESSION['something_else'] ?>
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
It's time to use PHP5!
« Reply #1 on: Jun 18, 2006, 10:16:44 pm »
Actually not, the session var $SESSION['user'] is used in many functions. But maybe you can exaplain what you try to do...
Where are my glasses?
Posts: 22
176 credits Members referred : 0
« Reply #2 on: Jun 18, 2006, 10:29:03 pm »
No reason other than variable naming uniformity within the web site application I'm building...
« Last Edit: Jun 19, 2006, 02:25:35 am by jbottero »
Where are my glasses?
Posts: 22
176 credits Members referred : 0
Re: Cookie Question
« Reply #3 on: Jun 19, 2006, 02:56:47 am »
As part of the web application that I'm using the access_user class, I need to capture the user name for a different use. I would use $_SESSION['user'], correct?
Moderator Community Supporter?
Jedai Sword Master
Gender:
Posts: 6691
34714 credits Members referred : 374
As part of the web application that I'm using the access_user class, I need to capture the user name for a different use. I would use $_SESSION['user'], correct?
yes, right.
... and please post questions in the related or a new thread!
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=2928