XMLHTTP Accessing Web Service Over Https
I am trying to access a .NET web service over https:// using Microsoft.XMLHTTP but I am receiving "A security problem occurred. , Number=>-2146697202" error. I guess it is bacause of https certificate challenge. Is there a way to accept the certificate in ASP.
My sample code is:
View Replies
ADVERTISEMENT
Could someone have got samples on how to use ATL web services from an ASP page?.
View Replies
View Related
I'm using web hosting services of a company. I try to connect to a remote SQL Server from the hosting account. But they told me I must use a "proxy aware" code to connect to the SQL server through their proxy server.
How can I do this? I searched the Internet and can only find a webproxy class. But the code is written in ASP.Net which I'm not familiar with. So anybody can help me and give me some ASP example code?
View Replies
View Related
I have implemented a Web Service on an IIS 5.0 platform using the ASP listener
I can access the Web Service just fine from a VB 6 App and classic ASP using the SOAP 3.0 toolkit and its "MSSOAP.SoapClient30" object
However, one of the servers that I'd like to call the Web Service from is a shared hosting platform that does not offer the "MSSOAP.SoapClient30" object
It only has the MS XMLDOM. I have located an example of Accessing a Web Service via the MSXML DOM from an Active Server Page where the Web Service is on a .NET platform (http://home.att.net/~codeLibrary/ASP/ws.htm
But I need to know how to access a Web Service from an Active Server Page with the MS XMLDOM where the Web Service is implemented using classic ASP.
View Replies
View Related
I find that all the values of the session variables i have created is empty when i use https. I am sucessfully able to use these session variables in the other pages that does not use https.
While making a shopping cart and using https for checkout process. What is the best method to retrieve cart values like item, total etc. Currently i'm using session to access these values in different pages during checkout but the problem is what i have mentioned above when i use https. What method do u prefer and how does it work?.
View Replies
View Related
I have a question regarding https and SSL between two web
sites. I am not quit understand how asp application can
handle https, encryption and SSL. Here is scenario:
An asp application on my web site requires to get form
data from web client and to convert the data with XML
format and send the data to another web site which only
accepts https protocol.
If my site needs to receive information from the remote
web site, then I know a digital certificate needs to be
installed on my side. and https configuration needs to be
implemented on local web server.
However, if all of local side need to do is to send data
to remote web server with data encrypted, do I still need
to install digital certificate and enable https on local
web server? If not, how can I encrypt data with the the
certificate so it can be accepted by remote server and be
decoded by remote server side?
View Replies
View Related
I'm in a non-secure page (http). When I click on a submit button, I'm about to enter the secure page (https). But I got the popup saying that I'm about to enter a non-sercure page, wanna continue(yes,no).
If I click YES, it take me to "https" page. This doesn't make any sense at all.
View Replies
View Related
I'm working on an e-commerce site and we've just purchased a secure certificate to transmit a shopping cart to the payment gateway without fear of tampering.
Question is, should the whole site be built on https:// or should only the form which posts to the payment gateway be secure?
View Replies
View Related
I need to implement in my site the HTTPS. But I don't know anything about
this. Can someone help me or give me a way to learn about it?
View Replies
View Related
I'm trying to detect if the user is utilizing HTTP or HTTPS in the address
bar. The following code responds true regardless of whether I use HTTP or HTTPS.
What should I be using? In the end, if the user types in HTTP, I will
redirect them to HTTPS.
<%
If Request.Servervariables("https") <> "" Then
Response.Write "this is https...OK!!!"
End If
%>
View Replies
View Related
I have enforced SSL connections on my website to make it secure. My problem is if the users go to http://wesite-url they get an error message saying:The page must be viewed over a secure channel
The page you are trying to view requires the use of "https" in the address.
Instead of showing this error page, I want to automatically redirect them to https://website-url. Is it possible?? Do I need to to program this in gloabal.asa?
View Replies
View Related
I have a site that requires a checkout process. THe checkout process occurs in the secure server. I need to pass session variables from one server to the next.
View Replies
View Related
I've integrated a secure certificate into my e-commerce site. However, when I forward people to the account log-in area (https) all of the relative links on the page obviously then point to http://www.mydomain/homepage for example.
How do I do what Dabs do, and redirect these links back to non-secure pages, without hard-coding all links as full URLs?
View Replies
View Related
I am developing an application over the web(intranet app). Now my problem
has to do with secure communication
between browser and webserver. I want to enable secure communication using
https. Are there any alternatives other than buying certificate for virtual
directory ?
View Replies
View Related
I am trying to write a routine that allows users to download files from our secure site, with the code below the file will download and when you click save i get an IE error. However when the page is not https the routine runs just fine. Any Ideas?
View Replies
View Related
I have a login page that's https and after logging in should redirect to the
home page http://www.example.com
<form id="Form1" method="post" runat="server">
No matter what I've tried it tries to redirect to https://www.example.com
(https)
Exact error is:
The page cannot be displayed:
......
500 Internal Server Error - The network logon failed. (1790) Internet Security and Acceleration Server
Does anyone have any clue as to what's going on here, and how to fix it?
View Replies
View Related
I wish to have a web site that has most of the pages as normal HTTP pages
but has some areas that use HTTPS. I want to have it that if a user selects
a link to a HTTPS page that they go there an there Session Information is
kept. I also wish to have the pages switch automatically to HTTPS if a
visitor types the URL without the HTTPS. So my questions are:
1) How to redirect to a Secure Page without losing Session Info?
2) How to test if page is accessed by HTTPS, and if not switch to HTTPS
quickly?
I think something like this code is what I want but how do I do it.
<%
if not "HTTPS" then
response.redirect(https://mysite.com/securepage.asp)
end if
%>
View Replies
View Related
How I can enable or configure https on a certain page(file).
View Replies
View Related
I am using the following code in my default.asp page to redirect the page
from HTTP to HTTPS
<%
if Request.ServerVariables("HTTPS") = "off" Then
Response.Redirect("https://" & Request.ServerVariables("HTTP_HOST") &
Request.ServerVariables("URL"))
End if
%>
I got the code off of a website and found that many web sites had similar
code for doing the same thing. The problem I am having is that the code
will not redirect to the HTTPS and will keep reloading the page. Is there a
setup issue with IIS that I might be missing?
View Replies
View Related
Just to explain what's going on briefly... I've added an include to the top of all files on our site (this code is pasted below) to check IP address, and then some pages will display slightly different content for our Canadian or US customers.
This works fine in Firefox. However, in IE, when a Canadian visitor comes it doesn't display canadian content on the http version of any page. Once they go to a https page, it works just fine. After that, if they go back to an http page it still displays properly. Code:
View Replies
View Related
if a URL is
https://www.mysite.com/mypage.asp
clients are redirected to
http://www.mysite.com/mypage.asp
This works fine for all but 1 client. He looses a session during the
redirect. Apparently his browser interprets https:// and http:// as
different domains.
View Replies
View Related
I need some help/pointers here. I maintain an ASP/MSSQL e-commerce site.
I need to force the use of HTTPS for private/payment data and force back HTTP on other pages. Some googling taught me the use of checking Request.ServerVariables("HTTPS"). Though GET data/QueryStrings are passed all my POST data is lost because of the REdirect. Code:
View Replies
View Related
I need to get data from a url (which throws out XML) and then parse it using DOM or XSLT. I know, to get the data, I need to use XMLHTTP.
Can I get a sample code for it?
View Replies
View Related
I have the code below and in a random fashion it is responding extremely
slowly. On in 3-4 times it takes ages to do the job..
It is the line: xml_http.Send("") that gets stuck. I am on IIS 6 on Windows
Server 2003 Web Edition. Code:
View Replies
View Related
One of the limitations of ASP is the lack of a dynamic SSI, in which you can include files using variables. So far I know only of two methods to go around that.to use the File System Object.to use the XMLHTTP Object.Which one of the two is less of a burden for IIS ? Or are there other ways that are much better?
View Replies
View Related
I m getting information with XMLHTTP from 3 sites at the same time. but it is so slow. how can i make it faster. any information or any document about it. anyone who know about it. it is about alsa bandwith. how can i increase xml http performance.
View Replies
View Related
I got a great little example of how to use XMLhttp to query an external web site (I'm wanting to do my own localised search engine by extratcing the content and putting it into an Access DB), but it only appear to extract from the page that you point it to, ie the main default page is extracted when you put in something like www.hp.com.
I want the util to extract content from all of the found pages in the site I suppose like a spider. Has anybody done this or any ideas how you get it to go past more than the initial page?
View Replies
View Related
I need the ASP/xml page to send the Request to the share point portal server (Webdav) using XMLHTTP and i also need to parse the response xml into HTML.If any body knows about.
It might contais mainly three files one is Search page where user can type his requirements , second one contains sending XMLHTTP request to the Share Point Portal server and third one contains the Parse xml response into HTML format.
View Replies
View Related
I use MSXML2.XMLHTTP to receive some HHTP responces from
remote server, unfortunatedly, it uses cookie-based auth.,
so I am unable to pass it, due to inability to store
cookies. How can I retrieve cookies from the headers of
HTTP response, and how can I add them to my request at the
next step?
View Replies
View Related
Why do sites dragged in through XMLHTTP only download half or so of the images associated with the site?
View Replies
View Related
Up to this point, i've been able to extract the search results from a site. Form -> Results chain.
However, on a new project im on, im a little stuck, and not sure if it is at all possible. The next page im trying to get info from there's a chain of 3 pages. so Form -> Middle -> Results.
I've tried inputting my own form data, but i get the page info from the Middle link, and not the Results link. Any ideas how i can go on to the Results link?
At the moment i dont think it's possible, but i haven't been in this game for long.
View Replies
View Related
I'm using XMLHTTP to perform a simple screen scraping job.
When I try to have it "scrape" lines with embeded CSS declarations, it
renders them incorrectly, stripping the leading period. Consequently, my CSS
doesn't work.Here's how I'm calling it, but I don't think my implementation is the
problem.
Dim srvXmlHttp
Set srvXmlHttp = Server.CreateObject("MSXML2.ServerXMLHTTP")
srvXmlHttp.open "GET", TearURL, false
srvXmlHttp.send()
If srvXmlHttp.status <> 200 Then
Response.Write "No Server Response"
Response.End
End If
Dim strRetval5
strRetval5 = srvXmlHttp.responseText
View Replies
View Related
I have a peculiar problem using the method
Server.CreateObject("MSXML2.ServerXMLHTTP") in order to get a connection
from one server to another.
On my personal host (IIS) the above method works perfect, and I can 'include' an HTTP stream from a remote URL into my own page. However, the method doesn't work on another webserver (IIS, too) although the MSXML2.ServerXMLHTPP method is installed (I checked it).
The error message I get there is:
msxml3.dll error '80072ee2' The operation timed out
This error does only appear if I try to get data from a remote URL, if I try to get data from http://localhost/foo, the method works - I believe the webserver is behind a proxy. Would this cause any problems? And if so, how can it be solved?
- Do you guys know of any other solution how to 'emulate' the php
include command in ASP without using the MSXML2.ServerXMLHTTP method?
View Replies
View Related