Chris Seberino wrote:
> Purpose of data/ directory? Is it for sessions somehow?
>
> Why TG1 didn't need special dir for sessions?
>
> Sessions are saved in RAM...so why is info saved on the hard drive?
>
> Possible not to use like in TG1?
>
TG2 uses the Beaker framework to manage sessions (and cache). Beaker
provides for any of:
* memory
* flat-file
* DBM file
* SQLAlchemy DB
* memcached
storage. It also does locking (using a file-based locks) of the
sessions. The various back-ends allow for e.g. sharing sessions among
multiple processes. You normally will specify that directory this uses
as something like /var/local/myapp/... for production use, the
%(here)s/data directory is simply a convenient location for development
boxes. As for turning it off, I don't know myself.
HTH,
Mike
--
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---