> > Not to mention is_new() and is_expired()... > They are self-explanatory, but one has to search the api docs or this group or dir(session) to find them. clear seems to be inherited from dict, but there's no guarantee of what it does as it could overridden by the Session class, etc, etc, etc... . Also a use might want to know what does the framework do in a lower level when a session is cleared, like removing files for the case of calling clear ... . And a comparison with .forget would be useful ... . This is the docstring output for .clear ... . So it's not so obvious what .clear does for a web2py app ...
Help on method clear in module gluon.globals: clear(self) method of gluon.globals.Session instance -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.