Re: [flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-11 Thread Nick Collins
You might put something like the following code in a preinitialize event handler: const reUrl:RegExp = /(http|https):\/\/(([^:]+)(:([...@]+))?@)?([^:\/]+)(:([0-9]{2,5}))?(\/([\w#!:.?+=%...@!\-\/]+))?/; const appUrl:String = Application.application.url; const parts:Array = reUrl.exec(appUrl); if

Re: [flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-11 Thread Tom Chiverton
On Friday 11 Sep 2009, Nick Collins wrote: You might put something like the following code in a preinitialize event handler: You could just but both a secure and non-secure channel in the Channels list... it's what we do. The connection should 'fall down' the list. -- Helping to assertively

Re: [flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-11 Thread Nick Collins
Depending on your environment that would be a great option. It doesn't work for us because our Flex apps live within a federated portal environment. Because of the way Adobe has implemented their support for WSRP, it currently only supports a single channel. On Fri, Sep 11, 2009 at 9:51 AM, Tom

Re: [flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-11 Thread Wesley Acheson
Thanks I'll give that a shot. On Fri, Sep 11, 2009 at 4:51 PM, Tom Chiverton tom.chiver...@halliwells.com wrote: On Friday 11 Sep 2009, Nick Collins wrote: You might put something like the following code in a preinitialize event handler: You could just but both a secure and non-secure

[flexcoders] Re: BlazeDS use secure channel when loaded over https.

2009-09-10 Thread Wesley Acheson
Does anyone else know where I can ask or point me somewhere I might find more information? Regards, Wesley Acheson On Wed, Sep 9, 2009 at 5:28 PM, Wesley Acheson wesley.ache...@gmail.comwrote: Hi all, We are nearing the end of a development cycle. One thing that I just noticed is that my