2.9.11-stable+timestamp.2014.09.15.23.35.11
in controller:
===========================
def show_update():
r = CAT()
session.UPD_TIMES -= 1
r += DIV(T('Upadating'), ' ', session.UPD_TIMES)
return r
def show()
session.UPD_TIMES = 100
r = CAT()
r += LOAD('bill', 'show_update', args=[id], ajax=True,
times = 100, timeout=5000,
#content=IMG(_src=URL('static','images/loading.gif'), _width=48)
_class='row')
return dict(r=r)
==================================================
Show that session.UPD_TIMES changing twice
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.