Jump to content


Photo
- - - - -

Calling https sites vs http


4 replies to this topic

#1 gysd

gysd

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 05 December 2008 - 02:08 PM

We are using PRO IV v5.5 and have built in a few quick links, where we are calling webpages from within PRO IV, but in the coding one does not build in the http://, this is automatically prefixed when the call is made to Explorer. I.e. in my coding I only build in from the www.xxx.xx

However I now need to build in a link that calls a page on a secure site, viz https://. When I build in my link and then call the function, it opens as http://e.xxx.xx/xx.jsp and I'm then told the site can't be find.

How can I overcome this little problem???

Ta

#2 Matthews Estrice

Matthews Estrice

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 241 posts
  • Gender:Male
  • Location:Henley-on-klip

Posted 09 December 2008 - 01:21 PM

"in my coding I only build in from the www.xxx.xx" :cry:

Browser.URL = "hostname:8080/finportal/index.jsp" works using PROIV 5.5
Is you machin with the JSP hosted externally?
Please find the correct URL and call it with --> Browser.URL , that should work.

Matthews

#3 Neil Hunter

Neil Hunter

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 414 posts
  • Gender:Male
  • Location:Johannesburg, South Africa

Posted 10 December 2008 - 04:52 AM

Check the code thats doing the call to IE or whatever browser you using, from what I gather, it doing something like this:

#A = SYSTEM('GUI WINDOWS iexplore.exe 'http://' + site ?

I just double checked running cmd (iexplore https://abc.com), and it works. Maybe try double quotes on the URL?

#4 gysd

gysd

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 13 January 2009 - 08:35 AM

Hi Neil,

Thanks, yours was almost spot on. It worked for me as follows:

#A = SYSTEM('GUI /C start iexplore.exe https://www.??????.??.??')

Thanks for the assistance.

#5 DARREN

DARREN

    ProIV Guru

  • Members
  • PipPipPipPipPip
  • 395 posts
  • Gender:Male
  • Location:Florida,USA

Posted 13 January 2009 - 03:16 PM

Hi Neil,

Thanks, yours was almost spot on. It worked for me as follows:

#A = SYSTEM('GUI /C start iexplore.exe https://www.??????.??.??')

Thanks for the assistance.


Just as a side note - why are you using the SYSTEM('GUI command. The Client.execute is a much cleaner and method. This is all - to a degree - academic, as we will all have to switch to server side objects when using the open client in version 6.2. A little short term pain - but much better in the long run.
Things should be made as simple as possible, but not simpler



Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users