If you want to actually remove the file you can try:

def remove_session(user):
      session._unlock(response)
      os.unlink(response.session_filename)
      session.clear()

I am not 100% sure.

On Jan 29, 7:35 am, Bruno Rocha <[email protected]> wrote:
> I want to clean session (remove / delete) the session file
>
> *auth.settings.logout_onlogout = lambda user: remove_session(user)*
>
> def remove_session(user):
>     ????????????
>
> Does anybody implemented that kind of function?
>
> I will wait for someone to share it before starting code my own...
>
> --
>
> Bruno Rocha
> [http://rochacbruno.com.br]

Reply via email to