Wrox Programmer Forums
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old August 30th, 2006, 03:59 PM
Registered User
Join Date: Aug 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default AJAX and SSL

Hello all
I just started working with AJAX technology and I must admit, it is quite fascinating. I am, however having a slight problem.
I am trying to POST data to a JAVA servlet that sits behind an SSL layer. If I try to access the servlet via the browser, I first get a certificate warning that give me the option to proceed or cancel. One I acknowledged I am good to go. I have tried to make the same POST using XMLHTTP but I keep receiving a blank response text from the server. The status codes I receive are 12019 and 12030.
The funny thing is it is not consistent. If I access the servlet via the browser and am successful, then in most cases I leave that session open and try to re-execute my code with the XMLHTTP API and I a get a successful transmission. Does anyone know what the cause of the could be


Old May 25th, 2007, 03:00 AM
Registered User
Join Date: May 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

It's a bit tricky

As for me, i use first (index) page to ensure the browser can run AJAX (no AJAX in this page, however). If the browser is unsupported, i display such error message and provide a link to download firefox. This way, u can detect SSL in this static page, if browser were not in SSL yet, redirect it to SSL, so the session will be saved BEFORE u enter REAL AJAX Application.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommend an AJAX IDE - JoyiStar AJAX WebShop. kingstar Ajax 4 December 15th, 2006 05:12 AM
New Ajax article: Creating an Ajax Search W jminatel BOOK: Professional JavaScript for Web Developers ISBN: 978-0-7645-7908-0 1 May 11th, 2006 03:45 PM
new Ajax article: Creating an Ajax Search Widget jminatel Ajax 0 May 11th, 2006 02:50 PM
New Ajax Article: Ajax Submission Throttling jminatel Ajax 0 April 11th, 2006 08:00 PM
SSL shs BOOK: Beginning ASP.NET 1.0 0 August 24th, 2004 06:16 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.