MobileBlur

session_examples.py at [eba4a35a21]
Login

session_examples.py at [eba4a35a21]

File applications/examples/controllers/session_examples.py artifact 83a6e5ca77 part of check-in eba4a35a21





def counter():
    """ every time you reload, it increases the session.counter """

    if not session.counter:
        session.counter = 0
    session.counter += 1
    return dict(counter=session.counter)