Advertisement

02.07.2008 at 01:40AM PST, ID: 23143873
[x]
Attachment Details

HTTP Post

Asked by sasha85 in Hypertext Transfer Protocol (HTTP), Active Server Pages (ASP), Web Servers

Tags: asp post

for example i got to send http post to another server ip: 00.000.000.00 port 1111
the variables are:
POST /ntfn/add HTTP/1.0
Content-Location: http://www.soltek.com
Content-Length: 100
x-up-upnotifyp-version: upnotifyp/3.0
x-up-subno: 123456789_yuc3.vont.com
x-up-ntfn-ttl: 0
x-up-ntfn-channel: push
Content-Type: application/x-up-alert;charset=US-ASCII

Type=alert&Title=anything&URL=

i need to post it automatically with no user clicking on form...

how need the asp code look like?

Start Free Trial
[+][-]02.07.2008 at 05:18AM PST, ID: 20840426

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 05:38AM PST, ID: 20840567

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 08:42AM PST, ID: 20842338

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 09:33AM PST, ID: 20842884

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 09:44AM PST, ID: 20842989

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 11:36AM PST, ID: 20844209

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hypertext Transfer Protocol (HTTP), Active Server Pages (ASP), Web Servers
Tags: asp post
Sign Up Now!
Solution Provided By: huji
Participating Experts: 2
Solution Grade: A
 
 
[+][-]02.07.2008 at 11:37AM PST, ID: 20844221

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.07.2008 at 02:13PM PST, ID: 20845880

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.08.2008 at 12:42AM PST, ID: 20848670

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.08.2008 at 12:45AM PST, ID: 20848682

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.08.2008 at 03:57AM PST, ID: 20849357

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.08.2008 at 12:44PM PST, ID: 20853893

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.08.2008 at 12:46PM PST, ID: 20853912

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.08.2008 at 12:59PM PST, ID: 20854075

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.08.2008 at 11:46PM PST, ID: 20856555

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.09.2008 at 04:01AM PST, ID: 20856994

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.09.2008 at 05:35AM PST, ID: 20857183

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.09.2008 at 06:23AM PST, ID: 20857318

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.09.2008 at 06:33AM PST, ID: 20857351

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.09.2008 at 06:34AM PST, ID: 20857357

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.09.2008 at 06:35AM PST, ID: 20857364

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.09.2008 at 06:39AM PST, ID: 20857379

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.09.2008 at 02:06PM PST, ID: 20858911

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.09.2008 at 03:56PM PST, ID: 20859255

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.10.2008 at 12:45AM PST, ID: 20860554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.10.2008 at 03:04AM PST, ID: 20860748

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.10.2008 at 01:00PM PST, ID: 20862584

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.10.2008 at 01:05PM PST, ID: 20862612

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 05:44AM PST, ID: 20874590

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02.12.2008 at 06:11AM PST, ID: 20874815

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 06:39AM PST, ID: 20875096

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 07:09AM PST, ID: 20875375

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 08:48AM PST, ID: 20876467

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.12.2008 at 12:26PM PST, ID: 20878511

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • Automotive
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Displays / Monitors
  • Handhelds / PDAs
  • Components
  • Peripherals
  • Laptops/Notebooks
  • Servers
  • Misc
  • Apple
  • Embedded Hardware
  • Networking Hardware
  • Storage
  • Desktops
  • New Users
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMware
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Virtualization
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • Web Computing
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Consulting
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMware
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Automation
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Web Services
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Web Computing
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Lounge
  • Business Travel
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
  • Automotive
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
02.07.2008 at 05:18AM PST, ID: 20840426
You can use XMLHTTP for that reason. Read more about it here:

http://www.4guysfromrolla.com/webtech/110100-1.shtml

Keep in mind that the request will be from "your" server to that server. The client will not have any share in it.
 
02.07.2008 at 05:38AM PST, ID: 20840567
can i use hidden variable instead of xml?
(my ip registered on the other server)

i saw that example before...
but it is get and i need post...
as you can see i got a lot of variables there...
 
02.07.2008 at 08:42AM PST, ID: 20842338
Sorry, but that is an example for "GET". You can simply change that to "POST" and that will do it. :)
 
02.07.2008 at 09:33AM PST, ID: 20842884
do i have to use xml?
why can't i use hidden inputs?
 
02.07.2008 at 09:44AM PST, ID: 20842989
that will send the xml...
but how i can send all those variables?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
<%
  Response.Buffer = True
  Dim objXMLHTTP, xml
 
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
 
  xml.Open "GET", "00.000.000.00:1111", False
 
  xml.Send
%>
Open in New Window
 
02.07.2008 at 11:36AM PST, ID: 20844209
I think you have to read the following pages carefully. You should open a POST connections with     xml.Open "POST", ........        and then you should send the information in the proper format, as mentioned on those pages.  XMLHTTP is the only way to accompish that using ASP without using any components (and unfortunately I don't know of any coponents either); but, XMLHTTP is a powerful tool for this purpose, and you might find it exactly suitable when you learn how to use it successfully. So, go on and read the following pages:

http://www.15seconds.com/issue/991125.htm
http://www.devx.com/DevX/Tip/17500

The second links shows you that in order to just send a set of parameters, you don't need to format them as XML tags. Just "send" them, and check the response :)
Accepted Solution
 
02.07.2008 at 11:37AM PST, ID: 20844221
For clarity, the second link in my previous post shows code that is written in JScript rather than VBScript. I'm certain you can figure how to reproduce it with VBScript with a little effort.
 
02.07.2008 at 02:13PM PST, ID: 20845880
i was wrong there...i ment post of course...i read all your examples...
lats get back to mine please:)

i wrote this code, can you please tell me what to fix?

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
<%
  Response.Buffer = True
  Dim objXMLHTTP, xml
 
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
 
  xml.Open "POST", "00.000.000.00:1111?Type=alert&Title=anything&URL=demo.asp", False
 
  xml.Send
 
Content-Location: http://www.soltek.com
Content-Length: 100
x-up-upnotifyp-version: upnotifyp/3.0
x-up-subno: 123456789_yuc3.vont.com
x-up-ntfn-ttl: 0
x-up-ntfn-channel: push
Content-Type: application/x-up-alert;charset=US-ASCII
 
  Set xml = Nothing
%>
%>
Open in New Window
 
02.08.2008 at 12:42AM PST, ID: 20848670
I'm afraid you need something more like this:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
<%
  Response.Buffer = True
  Dim objXMLHTTP, xml
 
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
 
  xml.Open "POST", "00.000.000.00:1111", False
  xml.setRequestHeader('Content-Type', 
'application/x-www-form-urlencoded');
  xml.Send "Type=alert&Title=anything&URL=demo.asp" 'Params sent as POST
 
Content-Location: http://www.soltek.com
Content-Length: 100
x-up-upnotifyp-version: upnotifyp/3.0
x-up-subno: 123456789_yuc3.vont.com
x-up-ntfn-ttl: 0
x-up-ntfn-channel: push
Content-Type: application/x-up-alert;charset=US-ASCII
 
  Set xml = Nothing
%>
Open in New Window
Assisted Solution
 
02.08.2008 at 12:45AM PST, ID: 20848682
Oops, fixing a syntax error:
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
<%
  Response.Buffer = True
  Dim objXMLHTTP, xml
 
  Set xml = Server.CreateObject("MSXML2.ServerXMLHTTP")
 
  xml.Open "POST", "00.000.000.00:1111", False
  xml.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded')
  xml.Send "Type=alert&Title=anything&URL=demo.asp" 'Params sent as POST
 
Content-Location: http://www.soltek.com
Content-Length: 100
x-up-upnotifyp-version: upnotifyp/3.0
x-up-subno: 123456789_yuc3.vont.com
x-up-ntfn-ttl: 0
x-up-ntfn-channel: push
Content-Type: application/x-up-alert;charset=US-ASCII
 
  Set xml = Nothing
%>
Open in New Window
Assisted Solution
 
02.08.2008 at 03:57AM PST, ID: 20849357
first of all i want to thank you very much:)
i followed your example and tested it...
and its realy connecting the other server but not realy posts the variables:
Content-Location,Content-Length,x-up-upnotifyp-version,x-up-subno...

what shell i do?
 
02.08.2008 at 12:44PM PST, ID: 20853893
Okay, I finally got some time to review the code thoroughly. In order for a POST request to work, you need to use this content-type:

application/x-www-form-urlencoded

So, here is the working code (tested):
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
<%
Dim objXMLHTTP, URL, params
URL = "http://00.000.000.00:1111"
URL = "http://localhost/Test/EE/Post2.asp"
 
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
 
objXMLHTTP.Open "POST", URL & "?q=s", False
objXMLHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded;charset=US-ASCII" 
objXMLHTTP.setRequestHeader "Content-Location", "http://www.soltek.com"
 
params = "x-up-ntfn-channel=push&x-up-ntfn-ttl=0&x-up-subno=123456789_yuc3.vont.com"
params = params & "&x-up-upnotifyp-version=upnotifyp/3.0"
 
objXMLHTTP.Send params
 
Response.Write objXMLHTTP.responseText
%>
Open in New Window
Assisted Solution
 
02.08.2008 at 12:46PM PST, ID: 20853912
In the above code:

1) Please notice that you need to remove the second URL i defined. (That was for testing purposes, and I was in a hurry).

2) You probably won't need the      "?q=s"    part too.
3) You may like to process the results (ie, objXMLHTTP.responseText) in a different way, rather than printing them on screen.

Hope this helps

Huji
Assisted Solution
 
02.08.2008 at 12:59PM PST, ID: 20854075
is there an xml reason why u havn't used Content-Length: 100?
what is ?q=s?:)

objXMLHTTP.responseText printing it on the browser screen, what i have to change in order to just post it to the other servers getway?

thank you very very much
 
02.08.2008 at 11:46PM PST, ID: 20856555
>> is there an xml reason why u havn't used Content-Length: 100?
No! Not an XML reason. Just try it! Create a page like what I post below, then direct that first page to POST to this newly created page. You will see that no matter what you use for Content-Length, the length is recalculated based on the number of characters you use in your POST data.

>> what is ?q=s?:)
I put it there, so you can know how to POST to a page like "www.example.com/page.html?q=s" but if you want to query a page like "www.example.com/page.html" you don't really need to have that part.

>> what i have to change in order to just post it to the other servers getway?
Just remove the whole objXMLHTTP.ReponseText line :)

You're welcome, by the way!
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%><%
 
' THIS IS POST TESTER!
 
Response.Write "<h2>Querystring:</h2>"
Response.Write "<p>" & Request.QueryString & "</p>"
Response.Write "<h2>Post:</h2>"
Response.Write "<p>" & Request.Form & "</p>"
Response.Write "<h2>Headers:</h2>"
Response.Write "<p>Querystring: " & Request.ServerVariables("QUERY_STRING") & "</p>"
Response.Write "<p>Request-Method: " & Request.ServerVariables("REQUEST_METHOD") & "</p>"
 
Response.Write "<h2>Raw headers: </h2>"
Response.Write "<p>" & Replace(Request.ServerVariables("ALL_RAW"), vbNewLine, "<br />") & "</p>"
%>
Open in New Window
Assisted Solution
 
02.09.2008 at 04:01AM PST, ID: 20856994

please see if i got there some syntax problems, cause when i dend this way the other server do not recieve the variables:(
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
<%
Dim objXMLHTTP, URL, params
URL = "http://00.000.000.00:1111"
URL = "http://localhost/Test/EE/Post2.asp"
 
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
 
objXMLHTTP.Open "POST", URL , False
objXMLHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded;charset=US-ASCII" 
objXMLHTTP.setRequestHeader "Content-Location", "http://www.soltek.com"
 
params = "x-up-ntfn-channel=push&x-up-ntfn-ttl=0&x-up-subno=123456789_yuc3.vont.com"
params = params & "&x-up-upnotifyp-version=upnotifyp/3.0"
 
objXMLHTTP.Send params
 
%>
Open in New Window
 
02.09.2008 at 05:35AM PST, ID: 20857183
I told you to remove the second URL. You didn't. Run this:

1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
<%
Dim objXMLHTTP, URL, params
URL = "http://00.000.000.00:1111"
 
Set objXMLHTTP = Server.CreateObject("Microsoft.XMLHTTP")
 
objXMLHTTP.Open "POST", URL, False
objXMLHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded;charset=US-ASCII" 
objXMLHTTP.setRequestHeader "Content-Location", "http://www.soltek.com"
 
params = "x-up-ntfn-channel=push&x-up-ntfn-ttl=0&x-up-subno=123456789_yuc3.vont.com"
params = params & "&x-up-upnotifyp-version=upnotifyp/3.0"
 
objXMLHTTP.Send params
 
Set objXMLHTTP = Nothing 
%>
Open in New Window
Assisted Solution
 
<