FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » User login status?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: User login status? [message #174562 is a reply to message #174560] Fri, 17 June 2011 21:47 Go to previous messageGo to previous message
Tim Streater is currently offline  Tim Streater
Messages: 328
Registered: September 2010
Karma:
Senior Member
In article <itgfmj$fon$2(at)dont-email(dot)me>, Bill B <me(at)privacy(dot)net> wrote:

> On 6/17/2011 4:47 PM, Jerry Stuckle wrote:
>> On 6/17/2011 4:39 PM, Bill B wrote:
>>> On 6/17/2011 4:06 PM, Luuk wrote:
>>>> On 17-06-2011 21:13, Bill B wrote:
>>>> > On 6/17/2011 2:53 PM, Luuk wrote:
>>>> >> On 17-06-2011 13:25, Co wrote:
>>>> >>> On 15 jun, 20:33, Luuk<L...@invalid.lan> wrote:
>>>> >>>> On 15-06-2011 00:57, Jerry Stuckle wrote:
>>>> >>>>> On 6/14/2011 4:22 PM, Co wrote:

[massive snip]

> Jerry, I took Luuk's original suggestion (from above, "i meant to logg
> the user off when they have not clicked for a defined number of minutes
> (after 10, or 15 minutes, or so....)) to mean that some PHP routine
> would check how long it has been since activity, then log the user out.
> If I have missed the mark on that one, I agree with you, the
> conversation is over.

I haven't followed this in detail, but I could imagine a timer in some
JavaScript that you write for the browser page will after some time
cause you to send a request to the server to log the guy off.

> If not, then is this not a question of focus? If <object> has included
> the swf, where is the focus? On the page (containing the PHP code) or on
> the swf? If it is on the swf, then conversation over. But if there is
> still focus on the page with the PHP code, would it not be possible to
> have PHP code that does what Luuk referred to?

There is no PHP code in your page in the browser. That will have been
executed before the page reaches the user's browser. So, if you're
driving it from client-side i'll have to be JS.

--
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted" -- Bill of Rights 1689
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: radio button change after going to next page
Next Topic: Stats comp.lang.php (last 7 days)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 06:01:28 GMT 2024

Total time taken to generate the page: 0.07848 seconds