Hello everyone,
I have the following problem: I need for different users of my web
application to have different Session timeouts. From looking at the
Twisted sources, it seems to me that Session timeout is hardcoded at 30
minutes or something like that. But I need for SOME of my users to have
this limit much longer, e.g. visiting the site, then not clicking on
anything for 6 hours (or visiting other sites in the meantime), then
getting back to my site and STILL BE LOGGED IN. But most of the other
users should still have the original (30 mins?) limit.
What is the cleanest way to implement this?
My application doesn't use Factories at all, I simply use the parts of
Twisted as includes in my application - which is written in 100% Python.
Unfortunately, I don't understand cookies very well, so it's not easy
for me to write my own "Session" class from scratch...
Thanks
--
Frantisek Fuka
(yes, that IS my real name)
(and it's pronounced "Fran-tjee-shek Foo-kah")
----------------------------------------------------
My E-mail: fuka(a)fuxoft.cz
My Homepage: http://www.fuxoft.cz
My ICQ: 2745855
Hi,
I'm starting to write my own nevow site and truly love it
my question is regarding formless.List.
I took one of dp's examples from http://soundfarmer.com/content/code/formpost3.tac
Which shows how to create a form with a list of form objects (formless.List )
My question:
Suppose I would like to define dynamicly the size of the list.
Instead of :
addresses = [Address(), Address(), Address()]
Something like :
addresses = getDeferredFromSomewhere()
addresses.addCallback(….)
Is there any simple way of doing it?
Thanks in advance
-- Aragon