28, May 2012

session (user) Question - webmaster forum

 
Webdigity webmaster forums
[ Home | Help | Search | Forum's Shop | Archive | Login | Register | Webmaster Directory ]
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: session (user) Question
« previous next »
Pages: [1] Print

Author Topic: session (user) Question  (Read 1590 times)
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: Male
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: Male
Posts: 6691
34714 credits
Members referred : 374


It's time to use PHP5!


« Reply #4 on: Jun 19, 2006, 09:10:37 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?
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
Tags : cookies Bookmark this thread : Digg Del.icio.us Dzone more....

Pages: [1] Print 
Webdigity Webmaster Forums  >  Web Development  >  PhP  >  PHP classes @finalwebsites.com  >  Access_user Class (Moderator: Olaf)
Topic: session (user) Question
« previous next »
Jump to:
User Area
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 01:19:02 pm





Login with username, password and session length

Donate to our community, and get a permanent link back to your site!

Donate to our community, and get a permanent link back to your site!






Web Design Gallery · Whois Lookup · Pagerank · Tag Browsing · Lo-fi version · Syndication · Webmaster forum history · Advertise
Developed by HumanWorks © 2005 - 2012 Webdigity webmaster community · sublime directory
Webdigity Webmaster Forums | Powered by SMF 1.0.12. © 2001-2005, Lewis Media. All Rights Reserved.