I have heard that there is a general session. Such a session can be seen, the management of all users. But I do not find the information or samples. If it means session fixation or same like that. Would you have examples?
Here's a quick example to help you understand sessions. They are lost everytime you close your browser. But, open this file and refresh your page. You will see it increments. <html> <pre> <?php
//start the session session_start();
$_SESSION['count']++;
echo($_SESSION['count']);
?> </pre> </html>
Lolalola
10:28 pm on Jul 20, 2009 (gmt 0)
No no no no... You don't understand. I now what is simply session.
You smaple is: $_SESSION['count']++; echo($_SESSION['count']);
But this see only one user(one computer or browser).
I need this: if one user active your script, other searchers(user or ...) saw the change
penders
8:36 am on Jul 21, 2009 (gmt 0)
Ah. I'm not aware that there is anything built in to PHP that will handle a 'general/master' session for ALL users. (?)
IMHO you would use individual user sessions to control writing to a central location/database. All users would then have access to this database.