Ron Lusk on 5 May 2006 15:50:51 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Signout sheet


By the way, this has an interesting effect (same as a refresh meta tag, I suppose): sessions don't time out, if the refresh period is shorter than the session timeout period.  This can cause a problem if your security policy dictates session expiration after a few minutes.

On 5/5/06, Ron Lusk <ronlusk@gmail.com> wrote:
periodically_call_remote

Periodically calls the specified url (options[:url]) every options[:frequency] seconds (default is 10). Usually used to update a specified div (options[:update]) with the results of the remote call. The options for specifying the target with :url and defining callbacks is the same as link_to_remote.

 


On 5/5/06, Randy Schmidt < x@altorg.com> wrote:
I am making a web-based signout sheet where the users can use live
search to filter the list of employees and and set away and come back
is all ajaxified. I was wondering how I would periodically update the
list of employees. For example, employee 1 has the page open on their
screen and employee2 signs out, I want the screen for employee 1 to
update like every second or so...I just couldn't think of how to do it
exactly.

Thanks!
--
Randy Schmidt
x@altorg.com
267.334.6833
_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk






--
Ron Lusk
ronlusk@alum.mit.edu
_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk