• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: App switching from https to http port 443 on logout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: App switching from https to http port 443 on logout


  • Subject: Re: App switching from https to http port 443 on logout
  • From: Klaus Berkling <email@hidden>
  • Date: Tue, 07 Feb 2012 20:53:45 -0800


On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote:

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?


Yup. Try:

.directActionURLForActionNamed(String requestHandlerPath, NSDictionary queryDictionary, boolean isSecure, boolean entityEscapeQueryDict)

context().directActionURLForActionNamed("default", null, useSSL, true);

I'll have to try Chuck's suggestion though.


kib

"The trouble with normal is it always gets worse."
Bruce Cockburn

Klaus Berkling
Web Application Dev. & Systems Analyst
DynEd International, Inc.
www.dyned.com

 _______________________________________________
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

  • Follow-Ups:
    • Re: App switching from https to http port 443 on logout
      • From: Jon Kleiser <email@hidden>
References: 
 >App switching from https to http port 443 on logout (From: Jon Kleiser <email@hidden>)

  • Prev by Date: ERXBrowserFactory - parseVersion does not work correct in some cases
  • Next by Date: Limit Qualifier for FetchSpecification
  • Previous by thread: App switching from https to http port 443 on logout
  • Next by thread: Re: App switching from https to http port 443 on logout
  • Index(es):
    • Date
    • Thread