MobileBlur

session_examples.py at [6548f791b4]
Login

session_examples.py at [6548f791b4]

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





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)