[flexcoders] Re: Flex 2, Webservice, Tomcat, Basic Authentication, IE Problem

2007-11-15 Thread Stephen Allison
Christoph Guse writes: 

 Hi Douglas, 
 
 thanks for your reply. I can switch off https for testing purposes, but
 it is impossible to switch off https in the production environment. So
 your approach can't be the final solution. 
 
 I'll try to switch off https tomorrow and will see what happens. 
 
 Any more ideas?

There's a fairly well documented problem when loading data over HTTPS into 
the Flash Player when running in IE if the response contains cache-control 
headers.  If these are set to Cache-Control: no-cache then the browser loads 
the data but the Flash player never gets to see it, so you could try seeing 
if these headers are being sent and disable them or alter them if they are - 
you should be able to find people's solutions with a quick Google. 

There can also be problems in IE with HTTPS if the content is gzipped by the 
server, depending on IE settings - the do not save encrypted data setting 
under internet settings/advanced/security seems to have some effect here. 

Good luck!
Stephen


Re: [flexcoders] Re: Flex 2, Webservice, Tomcat, Basic Authentication, IE Problem

2007-11-15 Thread guse
Hi Stephen, hi Douglas,

I found a solution! :-)

Ok, first of all for my application it is very important to load the  
WSDL files with the https Url. Only with a https Url the sessionId is  
sent by Flash.

Then I had to do a tomcat configuration. It was necessary to add

Valve  
className=org.apache.catalina.authenticator.BasicAuthenticator   
disableProxyCaching=false /

in Context / of context.xml.

With this settings everything works like it is expected.

Thanks to all which thought about my problem.

Regards,
Christoph

Zitat von Stephen Allison [EMAIL PROTECTED]:

 Christoph Guse writes:

 Hi Douglas,

 thanks for your reply. I can switch off https for testing purposes, but
 it is impossible to switch off https in the production environment. So
 your approach can't be the final solution.

 I'll try to switch off https tomorrow and will see what happens.

 Any more ideas?

 There's a fairly well documented problem when loading data over HTTPS into
 the Flash Player when running in IE if the response contains cache-control
 headers.  If these are set to Cache-Control: no-cache then the browser loads
 the data but the Flash player never gets to see it, so you could try seeing
 if these headers are being sent and disable them or alter them if they are -
 you should be able to find people's solutions with a quick Google.

 There can also be problems in IE with HTTPS if the content is gzipped by the
 server, depending on IE settings - the do not save encrypted data setting
 under internet settings/advanced/security seems to have some effect here.

 Good luck!
 Stephen