[Laszlo-user] Following a Tomcats Redirect

Max Carlson max at openlaszlo.org
Mon Feb 2 20:23:43 PST 2009


If this isn't working, please file a bug in JIRA so we can fix it.  Thanks!

Tim Dauer wrote:
> No, I am proxying the Application... which is why I wonder why this 
> doesn't work :).
> Anyway, I found the option in the config file - and it was set to 
> "http.followRedirects=3". Well, there might be a bug on the server that 
> sends this redirection call... I will look into this.
> 
> Thanks anyway!
> Tim
> 
> Max Carlson schrieb:
>> I assume you're running in SOLO mode.  If you're proxying requests 
>> through the OpenLaszlo server, it will automatically follow up to 3 
>> (configurable in WEB_INF/lps/config/lps.properties) redirects for you. 
>> Otherwise, this may be difficult because (at least in Flash) there is 
>> no way to access the contents of the HTTP response header :(.
>>
>> Tim Dauer wrote:
>>> Dear Laszlo-List!
>>>
>>> I'm looking around the net for quite some time now, but I hadn't had 
>>> any luck. Here is the problem:
>>> I am communicating with servlets that are located in the servlet 
>>> container Tomcat (Version 6 I think). When my jsessionid runs out it 
>>> replys with a redirect answer, but the ondata callback method isn't 
>>> invoked - so there is no ondata event and the request eventually goes 
>>> into nirvana.
>>> Is there a way to catch on such a redirect event that is coming from 
>>> a tomcat? And if yes: How?
>>>
>>> Thanks for the help!
>>>
>>> Greets
>>> Tim
>>
> 

-- 
Regards,
Max Carlson
OpenLaszlo.org


More information about the Laszlo-user mailing list