> I am sending ajax requests to the server every 100 milli secs. And I want > to share a variable between every request that need to be updated on every > request. I tried using global variable but it din't worked. Neither could I > find anything like static variables. >
Why you don't use the session object? # This persists trough requests # until the session is cleared session.myvar = <updated value> -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.