from http to https

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

from http to https

SeanTAllen
We have a seanside application that starts serving pages in a standard
fashion but when it
comes time for an order to be placed, it needs to move them over from
http to https.

Right now we just have something that boils down to:

                        canvas anchor
                                callback: [ self purchase ];
                                with: 'Purchase' ]

How do you go about getting the generated url to be a https
rather than http?
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: from http to https

SeanTAllen
I tried this:

http://code.google.com/p/seaside/issues/detail?id=97

and got it working.

On Sat, Jan 2, 2010 at 10:54 PM, Sean Allen <[hidden email]> wrote:

> We have a seanside application that starts serving pages in a standard
> fashion but when it
> comes time for an order to be placed, it needs to move them over from
> http to https.
>
> Right now we just have something that boils down to:
>
>                        canvas anchor
>                                callback: [ self purchase ];
>                                with: 'Purchase' ]
>
> How do you go about getting the generated url to be a https
> rather than http?
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: from http to https

SeanTAllen
hit return to soon, you do have to provide a hostname like this:

WARenderCanvas>>secureCallback: actionBlock
        ^ (context actionUrl withParameter: (self callbacks
registerActionCallback: actionBlock))
                scheme: #https;
                port: 443;
                hostname: 'example.com'
                yourself

For it to work w/ Seaside 3.0.

Is there a better way now?

On Sun, Jan 3, 2010 at 12:15 AM, Sean Allen <[hidden email]> wrote:

> I tried this:
>
> http://code.google.com/p/seaside/issues/detail?id=97
>
> and got it working.
>
> On Sat, Jan 2, 2010 at 10:54 PM, Sean Allen <[hidden email]> wrote:
>> We have a seanside application that starts serving pages in a standard
>> fashion but when it
>> comes time for an order to be placed, it needs to move them over from
>> http to https.
>>
>> Right now we just have something that boils down to:
>>
>>                        canvas anchor
>>                                callback: [ self purchase ];
>>                                with: 'Purchase' ]
>>
>> How do you go about getting the generated url to be a https
>> rather than http?
>>
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside