[Zope] FSSession used in Python???

Dan Narkiewicz zopedan@hotmail.com
Fri, 07 Jul 2000 15:39:20 EDT


I want to write my own Product in python that uses FSSession to store a very 
minimum amount of information... For the life of me i cannot figure out how 
to correctly create an instance of an FSSession that can be manipulated 
inside my own python written Zope product... Any help would be.. well... 
helpful..

At the moment the code looks somethign like this:


---------Start Python code-----------------
from Products.FSSession.FSSession import FSSession

  --- a class definition ---
        def FStest(self):
                """fssession test"""
                self.a = FSSession()   <---- error appears here
                self.a.set('hey','there')
                return 'done'
----------End Python code--------------

-----Start DTML-------
<dtml-var "Zope_object_name.test()">
-----End DTML-------


----The error----

Error Type: TypeError
Error Value: not enough arguments; expected 2, got 1




________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com