Kirix Support Forums

https

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

https

Postby jfouche on Wed Jul 08, 2009 11:57 am

Hi

I tried the sample which looks great, but it doesn't seems to works with https protocole.
Am I right or do I miss something ?
Is it in the roadmap ?
--
Jérémie, who loves wxAUI
jfouche
Registered User
 
Posts: 3
Joined: Wed Jul 08, 2009 11:53 am

Re: https

Postby Ben on Wed Jul 08, 2009 12:15 pm

Hello,

The sample application works with https for me. Try this: Unpack and run the sample app. Then click on "Buy Strata" on the title bar. This takes you to an https page. Does this not work for you?

Best,
Ben
Ben Williams
Kirix Support Team
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Re: https

Postby jfouche on Wed Jul 08, 2009 1:22 pm

Hi Ben

Thanks for your quick answer. The given page is OK for me. The problem comes is that I can't connect to my gmail account. I can see the secure page (https://www.google.com/accounts/Service ... rvice=mail) but entering auth informations gives me the same page (without any informations about bad auth or anything). I do not have problems using FF.

As I'm looking for a web control for https protocole, which is ok on MSW and linux, I need to do some tests (that seems to be a great component for me).
--
Jérémie
jfouche
Registered User
 
Posts: 3
Joined: Wed Jul 08, 2009 11:53 am

Re: https

Postby Aaron on Wed Jul 08, 2009 3:46 pm

I believe gmail requires cookies to be set. See here.

wxWebConnect certainly allows cookies; however in the sample/test application, cookies are disabled as a demonstration of a preference. In testapp.cpp, you'll see the following in the MyFrame constructor:

// for the example, disable cookies and popups
wxWebPreferences webprefs = wxWebControl::GetPreferences();
webprefs.SetIntPref(wxT("network.cookie.cookieBehavior"), 2 /* disable all cookies */);
webprefs.SetIntPref(wxT("privacy.popups.policy"), 2 /* reject popups */);
User avatar
Aaron
Kirix Support Team
 
Posts: 120
Joined: Fri Dec 16, 2005 3:01 pm

Re: https

Postby jfouche on Thu Jul 09, 2009 1:32 am

Hi

This night, I was thinking about cookies also.
I will try this.
Thanks for your help
--
Jérémie
jfouche
Registered User
 
Posts: 3
Joined: Wed Jul 08, 2009 11:53 am

Return to wxWebConnect Questions, Thoughts & Feedback