[web2py] Re: Make variable available to all sessions in memory

2015-12-16 Thread Anthony
cache.ram is limited to a single server, but if you need to span multiple servers, you could set up something like memcache. Anthony On Wednesday, December 16, 2015 at 10:37:41 AM UTC-5, Gary Cowell wrote: > > No, it'd be one pass phrase for the whole thing. Like a vault key. > > There'd be anot

[web2py] Re: Make variable available to all sessions in memory

2015-12-16 Thread Gary Cowell
No, it'd be one pass phrase for the whole thing. Like a vault key. There'd be another page for entering two of them so you can change the phrase, decrypt, encrypt pass the whole thing. cache.ram sounds a possibility, I'll look into that, I recall some discussions a while back that this wasn't s

[web2py] Re: Make variable available to all sessions in memory

2015-12-16 Thread Anthony
Is there a passphrase per user, or just one for the whole app (perhaps entered by an admin user)? In either case, I suppose you could use cache.ram, but if there is a passphrase per user, you would need a unique key for each user (e.g., the user ID), and you would also need to do some occasiona