|
|
 |
Re: FN-FORUM Hopefully a quick question
date posted 4th December 2002 16:04
You'd need some kind of server-side script to record and store the
information. You could set a cookie with a unique ID when the user
visited the site (no expires property means it last only as long as the
users browser session) then a JavaScript timed function to access the
cookie and submit a hidden form to a CGI script which could store the
information. When the user unloads the page, it stops transmitting. I
don't think that would affect the currently loaded page.
A bit more detail than you wanted, but I couldn't make it shorter!
Jake Hulme
On Wednesday, December 4, 2002, at 03:44 PM, Andy Macnaughton-Jones
wrote:
> You could have a javascript timer telling a hidden iframe to update
> itself or use xmlhttp to load a remote page and then do nothing with
> it.
> That remote page would then maintain the "logged in ness" of the user.
> Or as you suggest a java client that polls back to the server - I'm
> sure
> that there must be one out there on the web
>
> -----Original Message-----
> From: Raymond Stone [EMAIL REMOVED]
> Sent: 04 December 2002 15:23
> To: [EMAIL REMOVED]
> Subject: FN-FORUM Hopefully a quick question
> Importance: High
>
>
> Just looking for a brief answer to the following, no specific hints
> needed at the moment.
>
> A client is potentially wanting a system whereby he knows if a logged
> in
> user is still logged in even when the user is not traversing the site
> currently but is sitting on one of the sites pages for a prolonged
> period.
>
> Not sure if this is sensible but my initial thoughts were that it may
> be
> possible to have a java appalet or flash thingy on the site which send
> back a message to the server every so often, or updates itself from the
> server.
>
> The main criteria would be to not need a page refresh.
>
> Does this sound a reasonable thing to do?, is there a better technology
> for this?
>
>
>
> ========
> Advertise with Freelancers.net +Additions+
> http://www.freelancers.net/advert.php
>
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
> ---
> [This E-mail scanned for viruses by Declude Virus]
>
>
>
>
>
> ========
> Advertise with Freelancers.net +Additions+
> http://www.freelancers.net/advert.php
>
>
> Freelancers and Freelance Jobs:
> http://www.freelancers.net
>
> Forum FAQs:
> http://freelancers.netrickery.com
>
> To unsubscribe please email:
> [EMAIL REMOVED]
>
> If you have difficulties unsubscribing please email:
> [EMAIL REMOVED]
>
|
 |
|