MobileBlur

session_examples.py at [50a1ba732d]
Login

session_examples.py at [50a1ba732d]

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





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)