Is There Another Way To POST Apart From Response.redirect And XMLHTTP ?

Is there another way to post data to my provider's server apart from the response.redirect and XMLHTTP?

I have tried both, problem with response.redirect is taht the user coudl easily tell who my provider is, and XMLHTTP I cant get to read from the other server the request.querystring status.

View Replies


ADVERTISEMENT

Response.Redirect Via XMLHTTP Causes New Session

I have an ASP page that is using an XMLHTTP object to request various pages from my server. I keep a single session throughout the XMLHTTP requests by bassing the ASPSESSIONID cookie through the XMLHTTP object.

However, when the page requested through the XML object makes a

<%Response.Redirect()%>

call, a new session is created each time.

Is this a flaw in the XMLHTTP Object? How can I force the session to remain the same after a Response.Redirect call?

View Replies View Related

XMLHttp Post

I already know I can use the XMLHttp object to login to a page on a remote site, but can I then use it to post data to a page after the login page?

I would have thought that wouldn't work, as the XMLHttp object runs on the server, and I guess wouldn't maintain session state because of this. Is this something anyone's come across?

View Replies View Related

HTTP Post / XMLHTTP

if i use the example code belpw ; which ip address will the post appear to come from. the ipaddress of the browser or the webserver?

<%
Response.Buffer = True
Dim objXMLHTTP, xml
Set xml = Server.CreateObject("Microsoft.XMLHTTP")

' Notice the two changes in the next two lines:
xml.Open "POST", "http://www.imdb.com/Find", False
xml.Send "select=All&for=The Usual Suspects"

Response.Write xml.responseText

Set xml = Nothing
%>

which ip address will the post appear to come from. the ipaddress of the browser or the webserver?

View Replies View Related

XMLHTTP POST DATA

I have use an affiliate link on my site, and I did not like it because it
did not have my sites banners on it, so I asked the permission of the other
site to change the display and they aggreed..

The affiliate site has 4 pages of forms linking to each other so it goes
something like
form.asp > results.asp > results_details.asp > confirm_details.asp >>>>>>
proceed to payment..

I wanted to grab the each page page using the XMLHTTP object and then the
post of the form to a local pages on my site.. The local pages would grab
the request.form string and then using code something like below..

on my page quote123.asp, I have <%=request.form%> and I never see the string
"select=All" - why is this... Code:

View Replies View Related

Remost POST Using XMLHTTP

I am trying to post some data to a form using the XMLHTTP object, and have run into a problem trying to find the proper
location of the receiving page.

The form points to a directory, like so:

<form action="/servlet/Login" target="_top" method="POST" enctype="x-www-form-encoded" onSubmit='return goodform()'>

but the XMLHTTP object requires a specific file reference.

Does anyone have any ideas on how to find the specific file that receives the form submission?

View Replies View Related

How Could I Use POST Method To Transfer Parameters With XMLHTTP?

How could I use POST method to transfer parameters with XMLHTTP?

With GET all works correct, but with POST I get a problem.

client.asp with GET - all works .....

View Replies View Related

XmlHTTP Not Getting The Response

I am trying to access information present in a page ( e.g.
info.dll?about) using xmlHTTP on the server side. I get the result in a

variable and parse through the content using string functions in
VBScript. This was working absolutely fine till yesterday, today i get
the result of xmlHTTP request as "MZ?". This issue is seen only when
requesting one or two DLLs, other DLLs work fine. Anyone knows what
could be the issue here? This is the code snippet. Code:

View Replies View Related

XMLHTTP Response Object

i have the code below to read pass info to my provider's server, which reads the info and sends back to me, I got the script from this forum at

http://www.sitepoint.com/forums/showthread.php?t=49339

how do i get to read the querystring status ie

asp?status=200

i tried using:

hello1 = request.querystring("status")

but get no results.

View Replies View Related

Redirect To Secure FTP Site Via Response.redirect

I am trying to use the following in an ASP page to redirect a user to a
non-anonymous FTP site:

response.redirect("ftp://myusername:mypassword@ftp.mysite.com")

but I keep getting a "permission denied" error. If I just put the same
address string in IE6's Address box and go to it, IE opens myusername's FTP
home page just fine, so I know the FTP site is working as expected. Also,
if I put in an anonymous ftp site, without the username and password (e.g.
"ftp://ftp.microsoft.com"), the redirect works fine, too.

I don't want the user to be prompted by IE for the username and password at
the FTP site, so I am providing them from within the web site.

What can be preventing the response.redirect from handling non-anonymous FTP
access? Is there a better way to do this?

View Replies View Related

HTTP Redirect With POST

I need to redirect to another web page, but that redirect will include the
submission of form data. So, unlike ServerXMLHTTP which stays on the
originating web page, I need the script to redirect to the page that I'm
submitting the POST data to (without pressing a submit button).

Any suggestions?

View Replies View Related

Using POST To Redirect Information

I'm doing a quiz in ASP, where info is passed from "quiz.asp" to "validate.asp" which checks the answers from a database and redirects back to the quiz page to show the wrong answers.

All that is working fine, but the problem is that I also need to redirect some other information related to the user, and I don't want to use GET and the querystring to show that.

Sessions were used in previous pages but were killed and replaced by variables before the user comes in the quiz page because I don't want the pages to be time-restricted (if the sessions expire).

The validate page uses response.redirect to move to the quiz page. So I can't use a form there.

Is there any way I could hide the information passed using POST, and if not what is a safe way to get around this.

View Replies View Related

Using Redirect With Post Method

how can i (if at all possible) use post with response method? before i always did something like this to pass variables to the nest page:

Response.Redirect "main.asp?per=" & per

this obviously creates a querystring and that i am trying to avoid... so, if anyone knows how to do this please pass it on.

View Replies View Related

Submitting Post Data Via A Redirect

A coworker is creating a form. The user fills in some numerical data. We would like to present them with a Calculate button that they can use to submit their numbers and be presented with the same information but also with the totals at the bottom. BTW, we cannot use JavaScript so it must all be done using server-side ASP.

That part is fine but we also want to provide them with a Submit button in addition to the calculate button. Now, I realize that if both buttons are contained within the same <form> tag, there can be only one action URL.

We toyed with the idea that if name=calculate, display the original form with the fields filled in and the calculations done and if name=submit, redirect to the thank you page but given that the method is post, then the redirect would not transfer the post data. If the method was get, then the redirect could include the query string data in the URL but that is not the case.

View Replies View Related

How To Post Data To A Different Domain And Recieve A Response

I have a web application running inside an organization
and I need to post some data to an asp page sitting outside the organization

How do I get failure or success error from the outside page?
currently I am using IFrame,but I wonder if I get 404(server down) how do I
know I go an error?

BTW:since it is an organization i am open to other solution,cause i might be
able to install activx,NET components or any other stuff.

View Replies View Related

Force HTTPS Redirect With POST Data

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

Response.redirect And Response.end

Is there any point in having response.end after response.redirect?

View Replies View Related

Response.Redirect

I have a Popup window where a user inputs soem data.

On successfully entering this data I redirect the user to
a page in the same popup indicating that the form has
submitted successfully.

I want to resize the page that I redirect the user to.

Is this possible in ASP?

View Replies View Related

Response.Redirect IE5

Can anyone tell me if Response.Redirect works with IE5?, for me its seems to be working with IE6 and Firefox, but seems ineffective with IE5.

I have also set Response.Buffer = True

View Replies View Related

Response.redirect

How to send more than one value using response redirect? For example i can send one like this:

response.Redirect "pregled.asp?ime=" & strUserName
but how to send two or more values? I tried:

response.Redirect("pregled.asp?ime=" & strUserName & " & prezime = " &
strUserLastName)but it didn't work.

View Replies View Related

Response.Redirect

How do I use Response.Redirect to point to an interal private box/site? Code:

View Replies View Related

Response.Redirect

IF Trim(Request.QueryString("v")) = "" THEN
Back = Replace(Request.ServerVariables("Http_REFERER"),"http://localhost/","")
ELSE
Back = Request.QueryString("v")
END IF

Response.Redirect(""&Response.write(Back)&"")

why i cannot Redirect to the page?

View Replies View Related

Response.redirect

is it possible to open a page in a new window with response.redirect, and if
so, what is the syntax.

View Replies View Related

Response.Redirect

Code:
if left(request.Form("phone_nu"),3) = "234" and len(request.Form("phone_nu")) < 11 then
response.Redirect("sms.asp?error="&(request.Form("phone_nu")))
end if

View Replies View Related

Response.redirect

is there a way to response.redirect what's already in the address bar then add on what you want for each link? I have a page that will sort but I dont want to type out all the links. cant I do something like

response.write((whats in the address bar)&sort=asc)

I know I could do this
Response.write(request.servervariables("URL"))
but that doesnt give me the stuff in the address bar

View Replies View Related

Response.redirect

What is the proper syntax for this response.redirect? I am using mulitple IDs that I need to pass??


<%Response.Redirect("uGallery3.asp?ID=" & commInsert__ID & GalleryID= rsImages__MMID) %>

View Replies View Related

Response.Redirect

I have a page, progress.asp?id=<%=rs("id")%>, all the insert function will be done to nextpage.asp. Then, on nextpage.asp, I will like to redirect back to progress.asp?id=<%=rs("id")%>, but I have problem with the id.

View Replies View Related

Response.redirect

I am using response.redirec to do the url redirection on my login page. The
login page is under http://myURL/test/dir1/login.aspx, when the user login
successfully, the login page redirects the user to the default.apsx page,
which is under http://myURL/test/dir1/default.aspx.
When I enter the IP address of myURL in the address bar, the redirection
works perfectly fine, but if I enter myURL (which is hostname) in the address
bar, the redirection in login page doesn't work anymore, the login page just
gets refreshed.

View Replies View Related

Response.Redirect

I have an application form which on confirmation of details, takes you back to the page from where the person chose which course they want to apply for. The process has been working fine when I had just basic html (just the form tags) but when I put it into my html template I'm getting an error message when it comes to the response.redirect "index.asp". The error is
Header Error
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

View Replies View Related

Response.redirect

response.redirect seems to urlencode a querystring thrown across at it..
is there a way to disable this function that anyone knows of?

ie..
response.redirect "http://www.blurb.com/default.asp?test=sweet+%26+sour"

actually comes back after the redirect with the % urlencoded which obviously
considering its been given the encoding anyway is a nightmare.. ie
"http://www.blurb.com/default.asp?test=sweet+%2526+sour"

and subsequent redirections would just keep replacing the starting % with
%25...

tell meif it can be disabled through IIS somehow

View Replies View Related

Response.Redirect

IF rsQuery("survey_taken") = "Y" Then
%>
<script language = "Javascript">
alert ("You have taken the survey.");
</script>
<%
Response.Redirect "page.asp"
Else
End IF

Is the codes wrong? becos after the msg box pop up, it doesnt redirect me to the page.asp

View Replies View Related

Response.redirect

Response.redirect(results.Fields("Url"))

but still give me file not found 404 and i print the content in database to ensure it contain the exactly file and when write the file name as string it is worked
response.redirect("HoCom.htm")

View Replies View Related

Response.redirect

response.redirect "activemovieframe?movie=" & movie & """

the error is :

Code:

Microsoft VBScript compilation error '800a0409'

Unterminated string constant

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved