What is your name ::: – tunjo nalo cha aye?
Had your lunch? ::: - roti khadi kina? / Neran (lunch) kayo kina?
Great ::: daddo sutho
power is gone ::: halee vai
she has come ::: acchie vai (female)
He had come ::: acchie vio (male)
Achhi bath hein (hindi) ::: sutthi gal aaheh
Monday, August 9, 2010
Saturday, August 7, 2010
HTTPS support for AMF on blazeds
How to support HTTPS communication between SWF and BlazeDS when used AMF protocol.
Services-config.xml
-------------------
1. Place the below in services tag.
<default-channels><br /><channel ref="my-secure-amf"/><br /></default-channels><br /><br />2. Place below in channels tag.<br /><br /><channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br /><endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br /><properties><br /><add-no-cache-headers>false</add-no-cache-headers><br /></properties><br /></channel-definition>
Important Note:
===============
"add-no-cache-headers" will solve problems when used in Internet Explorer.
For File download/ Image previews mention below:
Comment the below
//response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
//enable max-age = 0
response.setHeader("Cache-Control", "max-age=0");
//prevents caching at the proxy server
Services-config.xml
-------------------
1. Place the below in services tag.
<default-channels><br /><channel ref="my-secure-amf"/><br /></default-channels><br /><br />2. Place below in channels tag.<br /><br /><channel-definition id="my-secure-amf" class="mx.messaging.channels.SecureAMFChannel"><br /><endpoint url="https://{server.name}:{server.port}/{context.root}/messagebroker/amfsecure" class="flex.messaging.endpoints.SecureAMFEndpoint"/><br /><properties><br /><add-no-cache-headers>false</add-no-cache-headers><br /></properties><br /></channel-definition>
Important Note:
===============
"add-no-cache-headers" will solve problems when used in Internet Explorer.
For File download/ Image previews mention below:
Comment the below
//response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
//enable max-age = 0
response.setHeader("Cache-Control", "max-age=0");
//prevents caching at the proxy server
Subscribe to:
Posts (Atom)