Hi,

why do you want to tore it in a table. You create the session
to store variables in it. There is no use in storing it in a
table since the $PHPSESSID changes every time you visit the page
anew.

Johannes

"yanshuldg" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I mean that I have a onlineuser table,which contains two columns,
> sessionid and username.
> When the user is online,I insert his sessionid(created by php) and
username into the sessionid table,and I want to delete the record when the
user is offline,That's:
> How can I judge a sessionid is being used or not?
> or:How can I judge a user is online or not by  his sessionid?
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to