The thing about this is, what variables would I use regarding all active sessions, and the data that is stored in each session? Say there are three people logged on, each with the variable $name stored in their session which is their username - How do I get a list of all the names from the sessions along with their session ID's?
On Thursday 14 February 2002 11:06 am, you wrote: > Maybe you can put a small iframe in the HTML which will refresh on some > basis (3secs for example), and in the HTML of this html you do the popup - > window() or alert(). what you choose. the message which is sent(from the > peer1 to server) is stored in db (or file) but have to stored somewhere > till it is sent to the end user. > > Best regards, > Andrey Hristov > ----- Original Message ----- > From: "James Taylor" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, February 14, 2002 9:02 PM > Subject: [PHP] Sessions > > > Speaking of sessions, I was wondering if something like this is even > > possible: Users log on, each has their own unique session.. Is it > > possible to do some sort of instant messaging deal with this? Like, on > > the main page is displays everyone that's logged on, then you maybe > > choose their name from a form, type in a message, then a pop-up box > > appears with the message to the user? > > > > I only know how to use sessions for authentication, something like this > > I'd have no idea where to start. If it is possible, could someone point > > me in the right direction? > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php