[Laszlo-user] Following a Tomcats Redirect

Max Carlson max at openlaszlo.org
Sun Feb 1 21:07:51 PST 2009


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