Re: SSL and appendToResponse
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.