[Seaside] Making a store in Seaside

Lukas Renggli renggli at gmail.com
Wed Sep 12 06:24:42 UTC 2007


> 1.  Native handling.  I can just say something like:   self call:
> SecuredComponent withCart: myCart.   and the new object will be
> displayed, it just happens that it's displayed over https (this includes
> a transparent redirect as part of the component).

I would go with this approach. You create a decoration and in
#updateRoot: you change the URL from http to https. Whenever you need
security you add this decoration, whenever you don't you remove it.
This assumes that you have an identical Apache setup for http and
https, but that shouldn't be a problem.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside mailing list