[Seaside] Re: [Seaside-commits] aubergines/seaside Seaside2.mc,1.14,1.15

Julian Fitzell julian at beta4.com
Fri May 16 21:22:12 CEST 2003


Nevin Pratt wrote:
> 
> 
> jfitzell at users.sourceforge.net wrote:
> 
>> Modified Files:
>>     Seaside2.mc Log Message:
>> Add #start: to WASession.  This method gets called instead of #start 
>> when a new session is begun.  It is passed the request so you can look 
>> for GET parameters or whatnot.  Then it calls #start.
>>
>>  
>>
> 
> It is passed the Comanche session?
> 
> If so, that is great, as it finally allows reasonable session logging 
> code to now be grafted in.
> 
(I'm gonna copy the list on this, hope you don't mind)

No, it's passed the WARequest.  We don't want to pass Comanche objects 
straight in because that forces the use of Comanche.  But anything we 
want to populate WAResponse with from the comanche session, we could do.

I'm not sure how it helps with loggin though.  #start and #start: are 
only called once at the beginning of a session.

Presumably for logging we'd want to add some more info the the WARequest 
object and then you could write a Filter to be applied to every seaside 
request.  Though... doesn't Comanche do logging of some kind?  What do 
you want to log that you can't do at that level?

Julian




More information about the Seaside mailing list