[Seaside] Scaling seaside: Added parameter for squeak instance

Philippe Marschall philippe.marschall at gmail.com
Thu Apr 19 10:16:57 UTC 2007

2007/4/19, Norbert Hartl <norbert at hartl.name>:
> Hi,
> I had a post before asking about how to encode a port
> number (of the squeak instance running a web service)
> into a cookie name. Phillip was right by pointing
> out that the cookie name is not the obvious choice while
> users can switch off cookies and seaside is able to switch
> to url session handling.
> The example Phillip mentioned used a port=[port number]
> parameter in the url. But I don't like to expose more
> information about the deployment to the outside. And I
> like to have the host also identified.

You do that anyway. Clients can display and modify cookies freely.


> I added a configuration option to WASessionConfiguration
> to switch on/off use of the new parameter. I named it
> instance parameter as I think off squeak instances running
> on a host/port.
> I added an additional method to WAApplication to generate
> a parameter. I tried to mimick the seaside appearance as
> much as possible. I used to parameter key _i and encoded
> the host/port setting into a base64 string.
> I think this could be interesting for people who care
> about scaling seaside through haproxy or the like.
> A changeset is attached.
> regards,
> Norbert
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

More information about the seaside mailing list