Indigo Rose Software
  #1  
Old 10-17-2005
Nagesh Nagesh is offline
Forum Member
 
Join Date: Sep 2005
Posts: 15
Http.TestConnection

we have a proxy to connect the internet

i am using follworing script in my code

_Url="http://www.microsoft.com";

used to get the proxy information from the user input


_tableProxyData ={PUserName="",PPassword="",PServerAddress=""};
_tableProxyData.PUserName =SessionVar.Expand("%uname%");
_tableProxyData.PPassword=SessionVar.Expand("%pass word%");
_tableProxyData.PServerAddress =SessionVar.Expand("%server%");
Dialog.Message("",_tableProxyData.PUserName.._tabl eProxyData.PPassword.._tableProxyData.PServerAddre ss);
-- Actual checking for an active Internet connection
result2 = HTTP.TestConnection(_Url, 20, 80, nil, _tableProxyData);
local http_error = HTTP.GetHTTPErrorInfo();

local error_text = http_error.Message .. "\r\nServer Status: " .. http_error.Status;
Dialog.Message("HTTP Error: " .. http_error.Number, error_text, MB_OK, MB_ICONEXCLAMATION);


still i am getting 407 error code.

Please suggest what i am missing here.


_Nagesh
  #2  
Old 10-19-2005
Mark's Avatar
Mark Mark is offline
Indigo Rose Staff Member
 
Join Date: Jun 2000
Location: Indigo Rose Software
Posts: 1,773
HI Nagesh,

I'm a bit confused when you say:
Quote:
Originally Posted by Nagesh
used to get the proxy information from the user input
Does this mean that you are trying to get the proxy information from the user? Or that in that section of your script you get the proxy information from your user and store it in the session variables: "%uname%, %password%, and %server%?

One thing to keep in mind is that TrueUpdate uses Internet Explorer’s connection settings, so even if a client is behind a proxy server, they should have no problems provided they are able to use Internet Explorer successfully.

Have you tried this action without specifying any of the proxy information? What happens?
__________________
MSI Factory The Next Generation Intelligent Setup Builder
  #3  
Old 10-19-2005
Nagesh Nagesh is offline
Forum Member
 
Join Date: Sep 2005
Posts: 15
Thnaks for info. I used session variables to hold user proxy info catched from screen. I n my case i proxy server addess is used like this
servername.vp.com . the proxy server address works with other windows applications. it started working when i used serverlocation http://servername.vp.com .

Nagesh
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTTP.TestConnection Question nrgyzer AutoPlay Media Studio 5.0 7 03-20-2006 01:21 PM
HTTP.TestConnection markczajka Setup Factory 7.0 Discussion 5 12-10-2004 07:11 AM
StatusDlg and HTTP.TestConnection Stefan_M AutoPlay Media Studio 5.0 5 04-30-2004 01:55 AM


All times are GMT -6. The time now is 10:17 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000 - 2009 Indigo Rose Corporation. All rights reserved.
Indigo Rose Software