hi
i want to write online user module for my site and i want to check
$_SESSION['userID'] to find all users id who loged in
but when i echo this code its return only current user detail
how i can see all sessions?
foreach($_SESSION as $k => $v)
{
echo $k."--".$v;
}
or how i handle online
Il Sun, 04 Aug 2013 13:32:55 +0430, Farzan Dalaee ha scritto:
> hi i want to write online user module for my site and i want to check
> $_SESSION['userID'] to find all users id who loged in but when i echo
> this code its return only current user detail how i can see all
> sessions?
You can't.
>
On Sun, Aug 4, 2013 at 11:02 AM, Farzan Dalaee wrote:
> hi
> i want to write online user module for my site and i want to check
> $_SESSION['userID'] to find all users id who loged in
> but when i echo this code its return only current user detail
> how i can see all sessions?
>
> foreach($_SESSIO
You mean when user logged in i add new record to table and when logged out i
delete the row? So if user close the browser without logout how can i find user
is online or not?
Sent from my iPhone
On Aug 4, 2013, at 14:44, Matijn Woudt wrote:
>
>
>
> On Sun, Aug 4, 2013 at 11:02 AM, Farzan D
On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
> You mean when user logged in i add new record to table and when logged out i
> delete the row? So if user close the browser without logout how can i find
> user is online or not?
>
> Sent from my iPhone
>
> On Aug 4, 2013, at 14:44, Mat
And why everytime I reply to the list am I getting an automated reply
from this email address
Belgacom Webteam [no-reply]
Thanks,
Ash
http://www.ashleysheridan.co.uk
Ashley Sheridan wrote:
And why everytime I reply to the list am I getting an automated reply
from this email address
Belgacom Webteam [no-reply]
Because of the way the list is set up ...
We all get every bounce message as a result of posting to PHP lists since WE are
set as the reply-to addre
On Sun, 2013-08-04 at 12:27 +0100, Lester Caine wrote:
> Ashley Sheridan wrote:
> > And why everytime I reply to the list am I getting an automated reply
> > from this email address
> >
> > Belgacom Webteam [no-reply]
>
> Because of the way the list is set up ...
> We all get every bounce message
On 4 aug. 2013, at 12:51, Ashley Sheridan wrote:
> And why everytime I reply to the list am I getting an automated reply
> from this email address
>
> Belgacom Webteam [no-reply]
>
>
>
> Thanks,
> Ash
> http://www.ashleysheridan.co.uk
>
>
So that's why I was getting those emails as well
On 04 Aug 2013 at 11:28, Ashley Sheridan wrote:
> Like Matijn said, unless you're using some kind of client-side method to
> continually poll the server, you can't know if they've just closed their
> browser. There are Javascript events for exiting a page, but they don't
> work correctly on Safa
On Sun, 2013-08-04 at 13:27 +0100, Tim Streater wrote:
> On 04 Aug 2013 at 11:28, Ashley Sheridan wrote:
>
> > Like Matijn said, unless you're using some kind of client-side method to
> > continually poll the server, you can't know if they've just closed their
> > browser. There are Javascript
> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
>>
>> You mean when user logged in i add new record to table and when logged out i
>> delete the row? So if user close the browser without logout how can i find
>> user is online or not?
>>
>> Sent from my iPhone
>>
>> On Aug 4, 2013,
Maybe someone can take them off of the list? ;)
(hint, hint)
No one moderates the list so there is little chance :(
On 4 Aug 2013, at 14:36, Farzan Dalaee wrote:
> I need to inspect each visitor to show how online or who offline for chat
> Like facebook chat
PHP sessions is a really bad mechanism to use to accomplish this. In the past
I've used memcached or redis for presence indicators. Both allow you to se
Farzan Dalaee wrote:
>
>
>> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
>>>
>>> You mean when user logged in i add new record to table and when
>logged out i delete the row? So if user close the browser without
>logout how can i find user is online or not?
>>>
>>> Sent from my iPho
On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan
wrote:
>
>
> Farzan Dalaee wrote:
> >
> >
> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
> >>>
> >>> You mean when user logged in i add new record to table and when
> >logged out i delete the row? So if user close the browser without
>
>
>
> On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan
> wrote:
>>
>>
>> Farzan Dalaee wrote:
>> >
>> >
>> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
>> >>>
>> >>> You mean when user logged in i add new record to table and when
>> >logged out i delete the row? So if user
Matijn Woudt wrote:
>On Sun, Aug 4, 2013 at 4:00 PM, Ashley Sheridan
>wrote:
>
>>
>>
>> Farzan Dalaee wrote:
>> >
>> >
>> >> On Sun, 2013-08-04 at 14:56 +0430, Farzan Dalaee wrote:
>> >>>
>> >>> You mean when user logged in i add new record to table and when
>> >logged out i delete the row? So
On Sun, 4 Aug 2013 14:02:07 +0200, Camilo Sperberg wrote:
>
> Sent from my iPhone 6 Beta [Confidential use only]
You need not apologize. :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Aug 04, 2013 at 05:58:53PM +0100, Ashley Sheridan wrote:
[snip]
>
> I'm not saying the method is bad, but the way Facebook does it isn't
> great, I'm constantly seeing people online who "sign out" when I open
> up a message box. Now that might be genuine, but I'm not *that*
> unpopular!
20 matches
Mail list logo