[Seaside] SSL

Ramon Leon rleon at insario.com
Fri Apr 28 18:16:51 UTC 2006


> 
> On Apr 28, 2006, at 10:56 AM, Ramon Leon wrote:
> >
> > Thanks, but can you share the code, or am I in for another night of 
> > hacking trying to figure out how to modify seasides generated url 
> > root?
> 
> These are from my WASession subclass:
> 
> actionUrlForKey: aString
> 	| url |
> 	url := super actionUrlForKey: aString.
> 	self useSSL ifTrue: [url scheme: #https; port: 443].
> 	^ url
> 	
> useSSL
> 	^ (currentRequest headers includesKey: 'via')
> 
> Avi

Now we're talking, sweet.  One question, this looks like it changes the
config, does this apply to this one request only, or is this actually
changing the app config?


More information about the Seaside mailing list