Users online  
Author Message
SMMT





PostPosted: 2004-10-22 8:28:00 Top

java-programmer, Users online Hi,

How can I keep track of users online in a non web j2ee aplication.?
I thought using a Statefull EJB , one for each user created when the user
login and destroyed when he logs out.
Another option is to keep a table in the DB tracking this , maybe a CMP ?
Any sugestion ?
Thank you


 
pmorgan





PostPosted: 2003-9-24 22:05:00 Top

java-programmer >> Users online
I've dome this recently using a small <iframe src="users_online.php"> in
the top right corner.

users_online.php has the <meta refresh> tag set.
<META HTTP-EQUIV="refresh" content="2;URL=users_online.php">



pete


Matias Hohl wrote:
> Hello php-Freaks
> I would like to display the number of users that are online on my page.
> Scripting that is not the problem... but how can I refresh this number all 2
> minutes on a users page?
> I don't want to make always a redirect. Isn't the a possibility like
> streaming? :-)
>
> Greetings,
> Matias from Switzerland
 
gal





PostPosted: 2003-9-24 22:13:00 Top

java-programmer >> Users online You can use XML-HTTP - works both Mozilla 1.x and I.E. 5.x and write it
to a DIV.

Pete M wrote:
>
> I've dome this recently using a small <iframe src="users_online.php"> in
> the top right corner.
>
> users_online.php has the <meta refresh> tag set.
> <META HTTP-EQUIV="refresh" content="2;URL=users_online.php">
>
>
>
> pete
>
>
> Matias Hohl wrote:
>
>> Hello php-Freaks
>> I would like to display the number of users that are online on my page.
>> Scripting that is not the problem... but how can I refresh this number
>> all 2
>> minutes on a users page?
>> I don't want to make always a redirect. Isn't the a possibility like
>> streaming? :-)
>>
>> Greetings,
>> Matias from Switzerland
 
 
gal





PostPosted: 2003-9-24 22:16:00 Top

java-programmer >> Users online yes.
But it think that only since version 1.1 (latest mozilla version is 1.5rc1)

Pete M wrote:
> Does xml_HTTP work with Mozilla ??? !!!!!
>
> pete
>
> al wrote:
>
>> You can use XML-HTTP - works both Mozilla 1.x and I.E. 5.x and write
>> it to a DIV.
>>
>> Pete M wrote:
>>
>>>
>>> I've dome this recently using a small <iframe src="users_online.php">
>>> in the top right corner.
>>>
>>> users_online.php has the <meta refresh> tag set.
>>> <META HTTP-EQUIV="refresh" content="2;URL=users_online.php">
>>>
>>>
>>>
>>> pete
>>>
>>>
>>> Matias Hohl wrote:
>>>
>>>> Hello php-Freaks
>>>> I would like to display the number of users that are online on my page.
>>>> Scripting that is not the problem... but how can I refresh this
>>>> number all 2
>>>> minutes on a users page?
>>>> I don't want to make always a redirect. Isn't the a possibility like
>>>> streaming? :-)
>>>>
>>>> Greetings,
>>>> Matias from Switzerland
 
 
pmorgan





PostPosted: 2003-9-24 22:25:00 Top

java-programmer >> Users online Does xml_HTTP work with Mozilla ??? !!!!!

pete

al wrote:

> You can use XML-HTTP - works both Mozilla 1.x and I.E. 5.x and write it
> to a DIV.
>
> Pete M wrote:
>
>>
>> I've dome this recently using a small <iframe src="users_online.php">
>> in the top right corner.
>>
>> users_online.php has the <meta refresh> tag set.
>> <META HTTP-EQUIV="refresh" content="2;URL=users_online.php">
>>
>>
>>
>> pete
>>
>>
>> Matias Hohl wrote:
>>
>>> Hello php-Freaks
>>> I would like to display the number of users that are online on my page.
>>> Scripting that is not the problem... but how can I refresh this
>>> number all 2
>>> minutes on a users page?
>>> I don't want to make always a redirect. Isn't the a possibility like
>>> streaming? :-)
>>>
>>> Greetings,
>>> Matias from Switzerland
 
 
gal





PostPosted: 2003-9-24 22:27:00 Top

java-programmer >> Users online here you can find example of XML HTTP that will work both I.E & Mozilla
http://webfx.eae.net/dhtml/xmlextras/xmlextras.html

Gal wrote:
> yes.
> But it think that only since version 1.1 (latest mozilla version is 1.5rc1)
>
> Pete M wrote:
>
>> Does xml_HTTP work with Mozilla ??? !!!!!
>>
>> pete
>>
>> al wrote:
>>
>>> You can use XML-HTTP - works both Mozilla 1.x and I.E. 5.x and write
>>> it to a DIV.
>>>
>>> Pete M wrote:
>>>
>>>>
>>>> I've dome this recently using a small <iframe
>>>> src="users_online.php"> in the top right corner.
>>>>
>>>> users_online.php has the <meta refresh> tag set.
>>>> <META HTTP-EQUIV="refresh" content="2;URL=users_online.php">
>>>>
>>>>
>>>>
>>>> pete
>>>>
>>>>
>>>> Matias Hohl wrote:
>>>>
>>>>> Hello php-Freaks
>>>>> I would like to display the number of users that are online on my
>>>>> page.
>>>>> Scripting that is not the problem... but how can I refresh this
>>>>> number all 2
>>>>> minutes on a users page?
>>>>> I don't want to make always a redirect. Isn't the a possibility like
>>>>> streaming? :-)
>>>>>
>>>>> Greetings,
>>>>> Matias from Switzerland
 
 
Keith





PostPosted: 2005-2-12 4:32:00 Top

java-programmer >> Users online Is it possible (and if so how), to show a 'users online' counter on my site
(VB ASP)?

I have seen lots of site that say, xxx members online and xxx guests online.

How can I do this?


 
 
Evertjan.





PostPosted: 2005-2-12 4:40:00 Top

java-programmer >> Users online Keith wrote on 11 feb 2005 in microsoft.public.inetserver.asp.general:

> Is it possible (and if so how), to show a 'users online' counter on my
> site (VB ASP)?
>
> I have seen lots of site that say, xxx members online and xxx guests
> online.

see the de facto NG faq:

How do I count the number of current users / sessions?
<http://www.aspfaq.com/show.asp?id=2491>


--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

 
 
Keith





PostPosted: 2005-2-12 5:25:00 Top

java-programmer >> Users online "Evertjan." <email***@***.com> wrote in message
news:email***@***.com...
> Keith wrote on 11 feb 2005 in microsoft.public.inetserver.asp.general:
>
> > Is it possible (and if so how), to show a 'users online' counter on my
> > site (VB ASP)?
> >
> > I have seen lots of site that say, xxx members online and xxx guests
> > online.
>
> see the de facto NG faq:
>
> How do I count the number of current users / sessions?
> <http://www.aspfaq.com/show.asp?id=2491>

Thank you