Re: [flexcoders] Re: Difference in player behaviour between IE and Firefox with SSL?

2007-09-14 Thread Tom Chiverton
 There is a difference in the browsers, but not in the player.  IE
 requires that the add-no-cache-headers property is set in the AMF
 channel definition, Firefox doesn't care:

There's a popular Adobe tech note that explains all this and suggests a few 
other things you could do, ID is fdc7b5c :
http://kb.adobe.com/selfservice/viewContent.do?externalId=fdc7b5csliceId=2

We've not had problems with self signed ones though, just the cache headers 
one.

-- 
Tom Chiverton
Helping to ambassadorially extend synergistic clusters
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


RE: [flexcoders] Re: Difference in player behaviour between IE and Firefox with SSL?

2007-09-14 Thread Seth Caldwell
I had the same issue (I think I posted it to this list before, solved it and
posted my solution, but never saw my solution sent).

Anyway, I'm running php, and I did the following before outputting anything:

  ob_start();

  ob_get_clean();

  header(Cache-Control: );

  header(Pragma: );

  session_cache_limiter('public'); 

  

  session_start();

And that solved my problems entirely.

Took me 2 days to figure this out =(

Good luck all!

 

Seth

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of simonjpalmer
Sent: Thursday, September 13, 2007 3:56 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Difference in player behaviour between IE and
Firefox with SSL?

 

I think I have solved this (with much pain and a m oment of exhileration).

There is a difference in the browsers, but not in the player. IE
requires that the add-no-cache-headers property is set in the AMF
channel definition, Firefox doesn't care:

add-no-cache-headersfalse/add-no-cache-headers

Here is what mine looke like...

channel-definition id=dsl-amf
class=mx.messaging.channels.SecureAMFChannel
endpoint
uri=https://{server.name}:8443/{context.root}/messagebroker/amf;
class=flex.messaging.endpoints.SecureAMFEndpoint/
properties
polling-enabledfalse/polling-enabled
add-no-cache-headersfalse/add-no-cache-headers
/properties
/channel-definition

Suddenly both IE and FF work just fine over https. 

I'm posting in the hope that some other poor soul won't spend 4 days
staring at this issue and might just bump into this post.

Other keywords for the search engine:
HTTP 500
HTTPS
IE
MSIE
Internet Explorer
SSL
JBOSS

SP

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ,
simonjpalmer [EMAIL PROTECTED]
wrote:

 I have just implemented ssl in my application and I am getting some
 strange results. I use both IE and Firefox for my testing. 
 
 I have a JBoss server and use RemoteObject's to pass data back and
 forth between my Flex client and my server code via amf channels. I
 have reconfigured my channels to use https and have reset my project
 settings to refer to my new https port and recompiled and re-deployed
 my app.
 
 In Firefox, everything works exactly the same as before I implemented
 the SSL layer, just via an http URL, but on IE I get asked if I want
 to accept the certificate, the swf installs itself and then everything
 goes silent. I get no traffic bewteen my swf and the server at all
 and nothing in any logs. Just total silence.
 
 The really weird thing is that if I run IE as the default browser in a
 debug session it works fine. It only seems to be when I connect to my
 server directly from IE that it doesn't work. I have tried several
 other machines connecting to the same server instance and I get the
 same thing, Firefox is fine, IE doesn't work.
 
 Anyone encountered behaviour like this? Could there be some stupid IE
 security issue stopping the swf from talking to the amf channels?
 
 As much as I hate to say it, life stops without IE...
 
 Any ideas?
 
 Simon


 

image001.jpgimage002.jpg