MobileBlur

session_examples.py at [a162dcef14]
Login

session_examples.py at [a162dcef14]

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





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)