Quote:
Originally Posted by oranoos3000
hi
I has write a script with php for login member
that after arrival member to site a variable session with name username
($_session['username'] )
is created and the other page in site is used that value is username for each user and username is unique for each user
my question is this
if several member login at one time this variable session with one name
for all users that login ,now how is this variable session with name username on the
server?is this variable unique or identify for each user?
thanks alot
A session is exactly how it sounds, it keeps track of each users session on your site and is valid for that browser session. If userA logs in then for them $_session['username'] = userA . If userB logs in, $_session['username'] = userB for them. If you want to test this try logging in using Firefox with one username and then log in using a different browser under another username and you'll see how it will work.