Re: Check SSL
Re: Check SSL
- Subject: Re: Check SSL
- From: Patrick Middleton <email@hidden>
- Date: Mon, 19 May 2008 09:52:11 +0100
On 19 May 2008, at 09:01, Daniele Corti wrote:
Hi list,
I've made a Direct Action that make authentication, but I need
that the communication between the client-server is secure, under SSL.
Is there a way to check if the request was sent under SSL?
Thank you for any help!
--
Daniele Corti
AIM: S0CR4TE5
Messenger: email@hidden
Yes -- look for an HTTP header named 'HTTPS' with a value of 'on'.
This would normally be an environment variable set by mod_cgi, but is
available in WO apps as an HTTP header, via WOComponent.context
().request(), using API in WOMessage (WORequest's superclass).
--
Patrick Middleton
OneStep Solutions plc
351 London Road Phone: +44 (0)1702 426400
Hadleigh Fax: +44 (0)1702 556855
Essex. SS7 2BT Email: email@hidden
England (MIME welcome)
_______________________________________________
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
References: | |
| >Check SSL (From: "Daniele Corti" <email@hidden>) |