[Seaside] Session defaultPreferences

Derek Brans brans at nerdonawire.com
Fri Feb 7 12:09:35 CET 2003


Hi Avi, Julian,

Can you make sure that if my session class says useCookies -> true as 
one of its default preferences that my application takes that 
preference?  As it is, an application gets assigned a WASession as its 
session class and takes its preferences.  After that one cannot override 
any of WASession's default preferences.

The same policy seems to be used for applications in the list of 
applications:  if I want to reregister an application I can't unless I 
remove that key from the list of applications.

Thank you,
Derek

On Thursday, February 6, 2003, at 03:11 PM, Avi Bryant wrote:

> Hi all,
>
> Just released a version 2.21, which consists of a single bug fix from 
> 2.2:
> there was some awful code in LRUCache that was causing significant
> slowdowns for long lived sessions.  Fixed now.
>
> Get it from http://beta4.com/seaside2/downloads/Seaside2.21.st.gz
>
> You can also just file this in to a 2.2 image:
>
> !WALRUCache methodsFor: 'as yet unclassified' stamp: 'ab 12/30/2002 
> 11:01'!
> at: key put: val
> 	|removals|
> 	super at: key put: val.
> 	ageTable at: val put: 0.
> 	removals _ OrderedCollection new.
> 	ageTable associationsDo:
> 		[:assoc |
> 		assoc value > max ifTrue: [removals add: assoc key].
> 		assoc value: assoc value + 1].
> 	removals do: [:ea | self remove: ea].! !
>
> Cheers,
> Avi
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
>
Nerd on a Wire: Web and Information Solutions
Website Design - Database Systems - Site Hosting
604.874.6463
mailto:info at nerdonawire.com
For more information, visit http://nerdonawire.com



More information about the Seaside mailing list