[Zope] SESSION ques

AM list_subscriber@neurobs.com
Tue, 11 Feb 2003 16:55:27 -0800


So there is no concept of scope like in cookies here.

But if I set some session variables via my custom user folder when they 
log in, those too are cleared, however if I move to another page or 
reload the page the variables are kind of recreated ( i guess ). So if 
there is no concept of scope why are the UF-set session vars recreated. 
( I dont set them up in the validate method, they are set up once only 
when the user logs in for the first time with a new browser id. )

or is that just part of how UFs work??


Thanks,
AM


Chris McDonough wrote:

>If you mean that "if I call SESSION.clear(), will it clear all the
>values I've put in a session, regardless of when they were set", the
>answer is yes.
>
>On Tue, 2003-02-11 at 19:23, AM wrote:
>  
>
>>I have kidn of asilly ques regarding sessions and scope.
>>In my setup when a user logs in certain session variables are set up. 
>>Now if on a page down a certain path I do a SESSION.clear(), will it 
>>clear *everything* or just any session variables that I set up during 
>>that REQUEST.
>>
>>Thanks
>>AM
>>
>>-- 
>>==================================================================
>> Aseem Mohanty							   
>> Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
>> (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
>>==================================================================								  	
>> "I saw `cout' being shifted "Hello world" times to the left and  
>>  stopped right there!!"                        -- Steve Gonedes  
>>================================================================== 
>>
>>
>>
>>_______________________________________________
>>Zope maillist  -  Zope@zope.org
>>http://mail.zope.org/mailman/listinfo/zope
>>**   No cross posts or HTML encoding!  **
>>(Related lists - 
>> http://mail.zope.org/mailman/listinfo/zope-announce
>> http://mail.zope.org/mailman/listinfo/zope-dev )
>>    
>>
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://mail.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists - 
> http://mail.zope.org/mailman/listinfo/zope-announce
> http://mail.zope.org/mailman/listinfo/zope-dev )
>
>
>  
>

-- 
==================================================================
 Aseem Mohanty							   
 Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 
 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
==================================================================								  	
 "I saw `cout' being shifted "Hello world" times to the left and  
  stopped right there!!"                        -- Steve Gonedes  
==================================================================