• 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: SSL and appendToResponse
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SSL and appendToResponse


  • Subject: Re: SSL and appendToResponse
  • From: Merul Patel <email@hidden>
  • Date: Sat, 24 Apr 2004 09:44:50 +0100

The easiest way I've found is to use WORedirect.

You can use something like the following within either a component action or a direct action:

	WORedirect nextPage = (WORedirect) pageWithName("WORedirect");
	nextPage.setUrl(url);
	return nextPage;

To set the 'url' string you can either declare it statically if you don't need to preserve and session ids, or use the WOContext.completeURLWithRequestHandlerKey() or WOContext.urlWithRequestHandlerKey() methods if you want to preserve sessions and other context information.

Mezza

Once i'm in a SSL (https) how do I get back to non secure layer (http)?
Nothing I do will take me back to normal browsing... I've been reading these
http://www.wodeveloper.com/omniLists/webobjects-dev/2002/July/ msg00303.html
subject: SSL and appendToResponse - on wodeveloper.com
http://wodev.spearway.com/cgi-bin/WebObjects/WODev.woa/wa/Main? wikiPage=DetectSSL
subject: DetectSSL - on wodev.com
and am managing to get into SSL OK but not out again when it's not needed.



Any pointer will be appreciated Jonathan :^)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: Parent Component Continued...
  • Next by Date: Re: Xcode Tools v1.2 and WebObjects 5.2.3
  • Previous by thread: SSL and appendToResponse
  • Next by thread: Re: SSL and appendToResponse
  • Index(es):
    • Date
    • Thread