Re: [Zope] Session Variable Error

2005-04-28 Thread Asad Habib
Andreas, you misunderstood me. What I said is that #1 does not work but #2 does. #1. #2. - Asad On Thu, 28 Apr 2005, Andreas Jung wrote: > > You said you set the variable through: > > > > > You wrote that this does not work: > > "(REQUEST.SESSION.get('undergraduateProjectsDirected')).appe

Re: [Zope] Session Variable Error

2005-04-28 Thread John Ziniti
Asad Habib wrote: Actually, it does exist as I mentioned in my original message. If it did not exist, then would yield a value of None for it. Also, if this were the case, then simply changing the name of the variable would not solve the problem. I think that Andreas is pointing out an inconsisten

Re: [Zope] Session Variable Error

2005-04-28 Thread Andreas Jung
You said you set the variable through: You wrote that this does not work: Of course it does not work because in both cases the names of the session vars are completely different.. so why should this work? -aj --On Donnerstag, 28. April 2005 13:56 Uhr -0400 Asad Habib <[EMAIL PROTECTED]> wrot

Re: [Zope] Session Variable Error

2005-04-28 Thread Dennis Allison
On Thu, 28 Apr 2005, Asad Habib wrote: > I have a session variable called 'undergraduateProjectsDirected' that I > declare using the following syntax: > > > > When I try to append items to this list variable, I get the following > error: > > AttributeError: 'NoneType' object has no attribute '

Re: [Zope] Session Variable Error

2005-04-28 Thread Asad Habib
Actually, it does exist as I mentioned in my original message. If it did not exist, then would yield a value of None for it. Also, if this were the case, then simply changing the name of the variable would not solve the problem. - Asad On Thu, 28 Apr 2005, Andreas Jung wrote: > > > --On Donner

Re: [Zope] Session Variable Error

2005-04-28 Thread Andreas Jung
--On Donnerstag, 28. April 2005 13:44 Uhr -0400 Asad Habib <[EMAIL PROTECTED]> wrote: I have a session variable called 'undergraduateProjectsDirected' that I declare using the following syntax: When I try to append items to this list variable, I get the following error: AttributeError: 'NoneTyp

[Zope] Session Variable Error

2005-04-28 Thread Asad Habib
I have a session variable called 'undergraduateProjectsDirected' that I declare using the following syntax: When I try to append items to this list variable, I get the following error: AttributeError: 'NoneType' object has no attribute 'append' I know for a fact that this variable exists since