Re: Code for https?
Re: Code for https?
- Subject: Re: Code for https?
- From: Dale Stanbrough <email@hidden>
- Date: Tue, 09 Sep 2003 14:20:07 +1000
On Tuesday, September 9, 2003, at 02:13 PM, Chuck Hill wrote:
Hi Dale,
Hello Chuck,
At 01:57 PM 09/09/2003 +1000, Dale Stanbrough wrote:
On Tuesday, September 9, 2003, at 01:47 PM, Chuck Hill wrote:
I've not seen it done like that before. Can you tell me exactly what
you want to achieve? That will make it easier to give you a good
solution.
I'd like a system similar to apple's developer login pages.
I've not logged in for a while, and I log into a LOT of sites...
Specifically what did you want? :-)
I'm trying to see how a site could be set up to process secure payments/
ensure private details are not sent in the clear.
My third problem would be not knowing how to get "into" https mode :-)
I'm happy to read documentation on how to do this, but I can't find it
in any of my books (apart from the small code snippet shown) or on the
web...
Yeah, the docs might be a bit light on that. The easiest way is to
use the
secure binding on WOHyperlink (true for https://, false for http://,
unbound for a url starting with / (maintain the current mode). Works
fine,
except it is buggy getting *out* of https. But that is another
story...
Ok, i'll try doing that. I'm curious about the problems of getting out
of https
mode though. Can you elaborate?
Otherwise you need to create the URL yourself using code very similar
to
what you had tried and then use WORedirect to redirect to the URL that
you
had created.
Getting a WOForm on an insecure page to submit to a secure URL is again
more of a challenge if you are just starting out.
Which I am...
I'll go and have a look at Apache's documentation. Thanks,
It is usually pretty good, in my experience.
Already found out that you can only have one per IP address...
(no virtual hosting of multiple SSL connections..<sigh>).
Dale
_______________________________________________
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.