SunQuest
           PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 3rd, 2008, 09:25 AM
Peuplarchie's Avatar
Peuplarchie Peuplarchie is offline
Stand
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Québec
Posts: 146 Peuplarchie User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 12 h 31 m 35 sec
Reputation Power: 2
Post php4 - Session name with counter number from file and time first logged

Good day to you all,
I'm using session and I would like to give a variable name to the session that the user is in ex :

1 : 192.168.0.200 : 10-01-2008--10h25

1 is the total count visitor for this page (he is the first)(read from file)
192.168.0.200 is his IP
and the date the use logged into the session

Can somebody help me with this ???

Thanks !
__________________
That's why we are not alone on earth, to help each other !
Let's build !

Reply With Quote
  #2  
Old May 7th, 2008, 07:21 PM
icandothat's Avatar
icandothat icandothat is offline
Moderator
Click here for more information.
 
Join Date: Apr 2007
Location: San Diego, CA
Posts: 1,548 icandothat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 Days 2 h 20 m 4 sec
Reputation Power: 3
are you saying that you want to name the SESSION? I'm not sure that's what you're saying you want to do.
why not simply add variables to the session

$_SESSION['count'] =
$_SESSION['IP'] =
$_SESSION['startDate'] =
__________________
There is no spoon.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > php4 - Session name with counter number from file and time first logged


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway