[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-10 Thread Scott
I've had to simply restructure how everything works and use a separate https login page. Would've really liked a nice AJAX solution, but it wouldn't be simple. If anyone's interested, I did find some RSA/ public key encryption libraries in javascript, none of them well documented though: http://

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread James
I suggest that if you do need to do it that, something like this would work: User clicks on AJAX call button/link Request is sent to server If logged in, send valid response Do what you have to do. END If not logged in, send a response code back that user is not loggged in

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread kranthi
may be you can provide a link to login page instead of the actual textboxes for login(on those pages).

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread Scott
I've just been scouring the net looking for a javascript public key encryption library and can't find a single one! Not even a poorly maintained old version of something... Extremely surprising. I don't have time to learn and implement a public key system from scratch. I guess I have no choice

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread Scott
I need these ajax login boxes on many pages, pages that should be unencrypted and available for search engines to crawl. On Jul 9, 3:58 pm, James wrote: > Why not make your calling page https also? > > On Jul 9, 12:02 pm, Scott wrote: > > > > > hmm... that sucks...  This is for allowing my memb

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread James
Why not make your calling page https also? On Jul 9, 12:02 pm, Scott wrote: > hmm... that sucks...  This is for allowing my members to enter > credentials and it's important to be able to allow this on an http > page.  What's the best way to accomplish this?  Don't other sites > allow javascript

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread Scott
hmm... that sucks... This is for allowing my members to enter credentials and it's important to be able to allow this on an http page. What's the best way to accomplish this? Don't other sites allow javascript logins in http pages where the credentials are not sent in cleartext? Is there a gre

[jQuery] Re: $.get ajax call on http page to https on same domain

2009-07-09 Thread Michael Lawson
Hi Scott, unfortunately (or fortunately depending on your POV), same domain policy applies to the whole domain, including protocol. http://www.mysite.com making a request to https://www.mysite.com is not valid cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-