Login | Register | FAQ
Anonymous

ID for session

+ Post a reply

3 posts Page 1 of 1


ID for session

by Dolce » Tue Dec 31, 2013 8:23 pm

In Chapter 12, it mentioned that every session has an ID, and

"Your session has the following ID: 4ehlr0codd2k5ptg0tcv7bpld2" to identify certain date & time to login

but the ID being used was not explained. This is the worst and unclear tutorial chapter that I have ever went through. I wonder if any professional people hear and give a good explanation of how the ID works in the sessions. Thousand thanks!
User avatar

Dolce

  • Posts: 9
  • Joined: Thu Oct 17, 2013 1:14 am

Re: ID for session

by XainPro » Tue Jan 07, 2014 12:11 pm

Sessions work by creating a unique id for each visitor and store variables based on this ID.

It is used by server to identify the user if 10 users are connected to server then 10 session ids will be created to deal all 10 users separately and save their data uniquely rather then mixing up all 10 users data.

For more detail On session ID you can check

http://php.net/session_id
User avatar

XainPro

  • Posts: 3933
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: ID for session

by Dolce » Wed Jan 08, 2014 1:53 am

Thank You XianPro. It's a bit more clear to me now.
User avatar

Dolce

  • Posts: 9
  • Joined: Thu Oct 17, 2013 1:14 am


+ Post a reply

Page 1 of 1

cron