App switching from https to http port 443 on logout
App switching from https to http port 443 on logout
- Subject: App switching from https to http port 443 on logout
- From: Jon Kleiser <email@hidden>
- Date: Tue, 07 Feb 2012 16:42:57 +0100
- Organization: Universitetet i Oslo
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden