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 PROTECTED]
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 PROTECTED]
England (MIME welcome)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]