[Seaside] 2.3.2 ==> 2.5a: Session

Julian Fitzell julian at beta4.com
Fri Jun 18 19:36:45 CEST 2004


Hmm... not sure off the top of my head.  Where are you calling "self 
session" from?  Is it in an #initialize method, or class-side, or a 
#renderContentOn:, or...?

Julian

Sebastián Sastre wrote:

> Hi,
>  
>     I was trying to move my odb connection to make a connection for each 
> session but I'm also was unable to locate it.
>  
> Intutively I call in a component 'self session' but it allways is 
> returning nil
>  
>     any clue?
>  
> Sebastián Sastre
> ssastre at seaswork.com.ar <mailto:ssastre at seaswork.com.ar>
> www.seaswork.com.ar <http://www.seaswork.com.ar/>
> 
>     -----Mensaje original-----
>     *De:* seaside-bounces at lists.squeakfoundation.org
>     [mailto:seaside-bounces at lists.squeakfoundation.org] *En nombre de
>     *Bany, Michel
>     *Enviado el:* Viernes, 18 de Junio de 2004 07:49
>     *Para:* The Squeak Enterprise Aubergines Server - general discussion.
>     *Asunto:* RE: [Seaside] 2.3.2 ==> 2.5a: Session
> 
>     Try this
> 
>             session := WACurrentSession value
> 
>     or from inside a component
> 
>             self session.
> 
>     -----Original Message-----
>     From: seaside-bounces at lists.squeakfoundation.org
>     [mailto:seaside-bounces at lists.squeakfoundation.org]On Behalf Of Marco
>     Paga
>     Sent: Friday, June 18, 2004 12:41 PM
>     To: seaside at lists.squeakfoundation.org
>     Subject: [Seaside] 2.3.2 ==> 2.5a: Session
> 
> 
>     Hi.
>     I can't locate my session on the new 2.5 system. I tried to use
>     WACurrentSession in any way I could think of but nothing worked.
> 
>     Thanks in advance
>     marco
>     _______________________________________________
>     Seaside mailing list
>     Seaside at lists.squeakfoundation.org
>     http://lists.squeakfoundation.org/listinfo/seaside
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside

-- 
julian at beta4.com
Beta4 Productions (http://www.beta4.com)



More information about the Seaside mailing list