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

Home » Imported messages » comp.lang.php » Is there a way to distinguish an auto-refresh from a manual page load?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Is there a way to distinguish an auto-refresh from a manual page load? [message #177117 is a reply to message #177114] Thu, 23 February 2012 00:27 Go to previous messageGo to previous message
Scott Johnson is currently offline  Scott Johnson
Messages: 196
Registered: January 2012
Karma:
Senior Member
On 2/22/2012 2:26 PM, The Natural Philosopher wrote:
> Cos I want to make a page slightly different depending...
> ..I cant think of any parameter I might pass that would be affected by
> autorefersh or not tho.
>
> Maybe javsacript and a timer would enable one?
>
> Ideas?

I am pretty sure it can only be done in JS.

I played around with it some time back.

I think I used cookies with name and timestamps.
Was not fool-proof however.

Good Luck.
[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
Read Message
Read Message
Read Message
Previous Topic: simplexml adding 'encoding' attribute to xml declaration
Next Topic: strtotime() not able to handle 04/29 correctly???
Goto Forum:
  

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

Current Time: Sun Dec 01 00:22:44 GMT 2024

Total time taken to generate the page: 0.04369 seconds