Hi Jon,

If you are using Wonder, the ERXRedirect component allows for much more 
redirecting control.


Chuck


On 2012-02-07, at 7:42 AM, Jon Kleiser wrote:

> Hi,
> 
> We have a WO application that has been running faithfully on a few different 
> servers for years. Now one of the deployers is having a puzzling problem with 
> our app. on a new server running RHEL5, Apache 2.2.3, WebObjects 5.4.3 and 
> Java 1.6.0_30: The entire session is based on https, but when the user logs 
> out, the browser tries to go to 
> http://xyz.no:443/cgi-bin/WebObjects/xyzapp.woa/... which ends up as "400 Bad 
> Request".
> I have tried to look at the details of the requests during logout. There's 
> always two GET requests at logout, and the first of these has a Location 
> attribute that has the bad "http://...:443/cgi-bin..."; URL.
> 
> This is roughly how we handles the logout (simplified):
> 
> public WOComponent logout() {
>  WORedirect redirect = new WORedirect(context());
>  loginUrl = context().directActionURLForActionNamed("default", null);
>  redirect.setUrl(loginUrl);
>  // ... calling session logout method
>  return redirect;
> }
> 
> Is this problem familiar to anyone out there?
> 
> Sincerely,
> Jon Kleiser
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to [email protected]

-- 
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall 
knowledge of WebObjects or who are trying to solve specific problems.    
http://www.global-village.net/products/practical_webobjects







Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to