Post To A URL
I'm trying to make a simple ASP page post to a URL on a seperate web site, and then get the returned HTML into a string which on service side script I can then parse. Is there any object built into IIS or Microsoft I could use Server.CreateObject with to make this possible?
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Re-submit A POST Immediately From A Previous POST
Is there a way to 'force' a submit on a form with out actually allowing the user to press a button ? For example... step1: A from is filled out by a user, then they click the submit button. step2: The form is 'post'ed to an ASP page which writes the values to a database. So far No problems. But.. step3: Now I want to 'post' these values again to another page without any user interaction. My ideas were: 1) I know you can get the form values from Request.Form("myVar"), so I thought of making a 'dummy' form and setting the 'values' of the form variables to these Request.Form("myVar") valiables, but I don't know how to 'submit' them to another page again. 2) Is there some type of 'submit' command in ASP?
Post Data, Then Post Again..
i have a series of .asp pages that i am dividing into model, view, control logic. my view collects a whole bunch of data and posts it to the controller. im wondering if there is a way to somehow "re-post" this same data to my model page. in short, is .asp capable of taking data posted to a page and re-post that same data to another page?
Asp Post
I've an html form with some fields, I have to normally post them clicking a submit button to an asp page; this page have to programmatically repost these fields and other constants to another page I do this beacuse I don't want the web user to see the costants which are the authentication values (username password)
POST
Is there a way I can POST data from a ASP page to another page? I am not trying to POST data from a form to another page, but would like to create the POST headers from different variables, and then send it to another page
POST And GET
I couldn't get my page to POST to my server I thought because I had run IIS lockdown and other hardening tools. Now I've rebuilt the whole server from scratch and have yet to disable anything. I still can't POST. GET has been working fine all along. Is there anything that needs to be done beyond setting the forms method to POST and using Request.Form(whatever), instead of Request.QueryString (whatever)? Is there something that I need to put in the ASP or client page header or something? I must be missing something. Maybe IIS 5 needs to be set up to use POST or something.
Old Post
It's really simple question. How can I insert Statement/line with " ' ".. for exmaple I get error if I enter "Let's play". I am trying to instert that line into table.
End Of Post
I have a form that get submitted. On the page that dose the db work I need a loop that will run through each record set and updated it to the db. I was thinking about writing a do loop that will increment scount = scount + 1 . the problem is that I have no idea how to tell if i am at the end of my request.form("id"). i can response my request.form("id") and i see all the id's listed acress the page.. just need to loop through then one at a time.
Get Vs Post
Well I did a little research of my own and found that get shouldn't be used when a form is causing some big changes into the DB such as deleting, updating etc. Until now I've always used GET for everything. So should I use Post for updating, deleting editing etc and GET only for retrival.
From Post To Get
I am trying to re-write a post method search page so that it will accept variables using the get method. For those of you asking what the heck i'm talking about simply this. I need the ability to send variables through the url to the search page of my site. This page would be a copy, i.e. Searchprods.asp-original that uses post method, Searchprods2.asp using get method. I am almost completely lost as I don't use asp, or even vbscript often.
Post Data
in past, i learnt from the book to post data by action=post & input type=text now the post data is not from user input it is from a table which is generated by asp script i wish to generate a table with a check box at each row. when i select the check boxs, then the rows of the table will be posted to another html page any hints to me for doing this? Secondly, how about if rows of the table will be posted to a input box on another html page grateful if you could give me some hints.
Post Variable
I have a VB application sending data via post to an ASP page. The application sends two variable: id, txt If txt has the & sign in its string, it cause trouble. E.g.: id = 1 txt = "Hello & more" If I take a look into Request.Form() array in asp page, it shows the following: id = 1 txt = "Hello " more = ""
Passing Post
I'm posting a form from a php page to a page that's asp. I want the url parameters sent to the asp page to be the defaults of the form. I've never used asp so I'm not sure how to do this.For example: www.test.com/test.asp?clientid=123 Text field in asp/javascript form called "client" should now default to "123". In php I would have put this as the default value for the "client" field in the form: <?php $_GET['clientid']; ?> What would be the equivalent way of doing it for asp?
Post Error
what's wrong with the line below <A HREF="http://www.nyc-discusfanatics.com/face/dragonball/forum/Breeding/BreedingDisplayPost.asp?tid=<%objRS("ThreadID")%>#<%objRS3("ThreadID")%>"> ></A> I got an error: Wrong number of arguments or invalid property assigment.
POST Method
Now this is a weird one. I'm having a problem with a system in development. When I post data from a form in IE 5.01 it works fine, but in IE 5.5 it refuses to post the data to the server and in IE 6 it's scatty -- works sometimes but not others. Anyone seen this before? Edit: By the way -- this is normal VBS/ASP running on IIS 5 on an NT server
Post Data
i have an asp page with a form that posts to itself. (the action of the form is the same page the form is on). i validate input and dont accept it if there is something wrong with it. problem is that when the form is submitted, and i display the error message, the data the user typed in the box is gone. i work around this by setting a session variable as soon as the user hits submit and store the data the user typed. then for the default value of the textbox i have <%= Session("var") %and that leaves the users data in the box for them to edit. is there a better way i could do this?
Automatic Post
I need to some how do the following and if anyone can help me or point me in the right direction I would appreciate it very much. I have a form that the user would fill out. When he/she clicks submit it goes into another page that reviews the information that the user typed in the previous form. If all of the information is good for the user there's another button in that page that they would have to click. This is what I want to happen after they click on this button. I want to record the data in a SQL database, which I know how to do that, but what I want to happen automatically right after inserting the data in the SQL database is that I want the same data to be carried over to another page where there'll be another form and want that data to be populated in this new form. How do I do that?
Post Problem
I have a token passed to me from a secruity module on a remote machine that has checked username and password. I am supposed to get that token and then query a security client that contains details about the token - the username and ip I can't get the posted data from the form into a little asp page that was supplied as an example. Code:
Using Http Post With Xml
I created a form for users to sign up for a newsletter our site sends out. The thing is we use a third party that keeps a db of our subscribers and sends the email for us. The signup resides on our site and when the user submits they get poasted to this third party site and then click through and get refreshed to our site again. We want change that process and keep the user on our site so now thier values need to get posted to the 3rd party behind the scenes. Code:
HTTP POST
I'm working with the Paypal shopping cart and there is an option to use Instant Payment notification (IPN) to automate your inventory when you get a sale. Anyway...I need to take their POST info and re-POST it to their server for coinfirmation. I've found some COM objects to handle this sort of thing, but they usually want money. I haven't found any good tutorials explaining how to do an HTTP POST in an ASP page.
Http Post
i'm tring to send post data using set objSrvHTTP = Server.CreateObject ("WinHTTP.WinHTTPRequest.5.1") .... objSrvHTTP.send xmlstring but the transfer rate is very low(4 min per MB on LAN).. some ideas? (with MSXML2.ServerXMLHTTP.4.0 is equal)
About How To Automatically POST
To create a asp file in a wbserver as a interface for the IPphone and the internet. As IPphone can only have GET function ( that means it can't POST thing to the internet). The asp file's concept is that the file is firstly read the data sent by the IPphone and then encode them into html format and then POST them to the required website. However, i only know the following method to POST. Code:
IE And Post Limits
I'm at the end of developing an application. There's one form that the user can dynamically administer (add fields and remove them), and that form has at least 40 fields, plus the others that the user will add him/her self. I let them test it and there is about 100 fields in this one form (with all my hidden fields for state maintanance and such, I use about 10 for various things). My problem is that I cannot send the data to the server in IE (the most commonly used browser), but I can fine in FIREFOX. It'd be nice if everyone used FIREFOX, but no one who will use this application does. I did a little research and I guess IE tops out at the CONTENT_LENGTH at 2083. I figured that was for passing name/value pairs via GET. My appp is sending 2796+. Sometimes over 3000, but even if I send it via POST IE won't send the request. I'm testing with faux form with up wards of 3000 form elements and those don't seem to have any problem submitting. What could I be doing wrong?
ASP POST Method Bug
I have a demo.asp page, that can't pass hidden value "mr progrramer" to itself using POST method. Only "mr" is passed. I created a second asp file demo1.asp and passed "mr programmer" and whole string (include space b/w mr and programmer was passed successfully). The code for demo.asp is: <% name = request.Form("name") response.Write "hello " & request.Form("name") ' if name is empty then store some string with space in it ' problem is the word before space 'mr' is passed, but 'programer' is not passed if len(name)=0 then name = "mr programmer" end if %> Code:
ASP Silent Post?
I have an opt in form on my site that ties into a 3rd party contact management system, however when I made the form for visitors to opt-in, I neglected to realize that I need to pass my username and password to this 3rd party site, so using a get or any url encoded method isnt a good idea becasue you'd be able to see the username and password to my account clear as day. Code:
How To POST In XML Format
After I got some information from the user I need to POST it in XML format to the server and to reveive the response.
POST Method
I have a .asp page that uses the post method and it works fine on my computer using iis. But when i put it on the web server (it has windows NT4) it wont work. I've read that you have to do something to allow the post method on the server. i know nothing about windows NT4 but can get access to the server. can someone please let me know what i have to do to get this to work? Just to let you know the post method is for ssending a login and pass to another page that search a database for the record. If there is another way to do this that does not show the variables in the url please let me know. i am also willing to make it so that everything is on the same page so i dont have to pass anything.
Asp Email Post?
i can't seem to find that great post that went through all the cdonts options for sending mail
Delay A Post
Can anyone help me how to delay a post in ASP. Say i input a text in a form and click submit. I like give the user to post the message immediately or after a specific time Can i do this ASP
Post To Iframe
Just wondering how (or if it's possible) to post from my page to another .asp page within an iframe? Hopefully that question make sense? I know how to launch load a page with an iframe, but how do I post to a page within a page
Post 2 Values
i have an asp code which is somewhat like this: <select name=test> <option value="<%=parRs.Fields ("ProductId").Value%>"> <%=parRs.Fields ("description").Value%> </option> </select> when i submit this page i can retrieve the value of the option box test, which is the productid. I want to send the both the id and descritption in the select test, and how do i retrieve them on the next page? I know we can use the id and open a db conection on the next page and retrieve the description, but this is a bit bulky when we have many selection boxes.
HTTP Post
It seems to me that if I can have a regular .asp page that contains multiple <input type='file'> elements, and a user could browse to individual files and fill up all the elements on the page, that there should be a way to replicate the HTTP post data. Can I somehow make my client-side activeX component post the same type of data? I tried using MS Stress Tool to view the post data being sent from a regular.asp page that contained several <input type='file'> elements.I saw that there was a structure to it. The structure contained the binary data of the files I had selected for upload. But, I have not been able to figure out how I would replicate this structure in my client-side activeX component
POST Action
I have a form with dropdown boxes and a "Submit" button.These dropdown boxes get populated dynamically with user interaction, like this: <form method="POST" name="form1" action="MyPage.asp"> <p><select size="1" name="Dropdown1" onchange=form1.submit()> The "Submit" button is included within the same form.Is there a way to find out which item made the POST action.If it's the Submit button.i want to do this.If it's the dropdown boxes.then i want to do a different thing.
Form Post
I've seen something on my logs that's not supposed to happen.pagea.htm has a form with a Select list called country as below: <select name='Country' size='1'> <option value='USA'>USA</option> <option value='Canada'>Canada</option> 'lots more countries... </select> Page B has code that references request.form("country"),and assumes that this field is nonempty as it is coming from a select list.I saw an error caused by an empty string in this country variable The User agent was IE6, and the pages appeared in the correct order in the IIS logs.pagea.htm (the page with the form) was requested with a GET method about a minute before the POST to pageb.asp, and no intervening pages were requested by that IP I would suspect AOL wierdness, but it's not an AOL IP.
Post Variables
This is what I need to do:I need to send variables to a website and in return I'll get xml that I need to parse. what should I use to post those variables to the website and receive the response?I tried to use the XMLHTTP object from Microsoft but I always get some kind of error. Ex: An example of what I need to post is: https://somedomain.com/pvtn?A030=M00...=200505&C042=0 Now I do I post this and get the xml response?
Latest Post
I want to display a little image next to the topic if the thread is recent and the user hasn't logged on in a while and then get rid of the image if he clicks on it. What's the simplest way to do this?I obviously don't want to make a read/unread thing for every user.
Automatically Re-POST
I have a problem with IIS 6.0 + IE 6.0. I'm POSTing back to an ASP page a long lists of IDs used for sending emails (>10.000). This process takes more than 30 min. The problem is that this process is automatically restarted by posting again all the data. I checked ASP page and there is nothing to reload the page. But after more than 30 min. (changed the timeouts) the process simply restarts by posting again the full list. I only need to execute this page once. why the whole process restarts posting back data (is not a simply GET, but POST)? There is no F5 / CTRL-F5 or Back buttons. It simply re-post data, without an error. It's my ASP page wrong? Or something wrong with IIS?
Fake A Post
Is there a way to fake a post to a form from a script. I have a form that requires post and I want to send something to it from an ASP script just as if someone filled out the form and sent it.
POST Problems
I'm creating a form to upload documents,so I need to put the enctype="multipart/form-data" line in my <form> tag. Problem is, whenever that line is in there,I can't retrieve any POST data from the form via Request("name"). As soon as I omit the enctype="multipart/form-data" line, everything is fine, and I can retrieve the post data, minus the file of course.
Post Data
I have a temporary file being created in an order processing system. After the user agrees the data is correct the data needs to be written to a permanent table. There are usually 100 or so records. what is the best way to do this? the fields names are not the same either and the new records also need to be updated with the price from the parts table. temp file: item number description qty permanent file: item description pcs price The price comes from the parts table. When I link the parts and temp tables and try to insert into the permanent table, I am using a loop and it's taking FOREVER.
Post There Own Comments
im starting work on a new site and would like it to be a ASP site. I want users to be able to go onto a page of my site and post there own comments and then have those comments permantly stay there on that page. how I can do this?
Post Method
Is there a limit to how many variables you can pass on using post method?
GET Or POST Method
when we should use GET method, when we should use POST method? GET method only sends limited amount of data, and it will show the data as part of URL. POST method won't show the data as part of URL, and can send any amount of data.
Post From Machine
Here's my dilema. I have a Classic ASP site and I need to receive transactions from a little card reader over the Internet. The reader willbe sending: MERCHANT_ID=(max seven digits) TERMINAL_ID=(max twelve digits) CUSTOMER_ID=(max seven digits) TX_TYPE=(max 3 digits) TX_AMOUNT=(max 7 digits) decimal (2 digits) DATETIME=(14 digits) MD5=(32 hex alpha numeric A-F, 0-9)
Post Code
I am requesting a form field which has a UK postcode value eg yo17 9hs, or NE15 7YY. What I need to do is pull out just the first part of the postcode, in this case it will be yo17 and ne15. Anyone help me do this in asp?
Post And Send
Is it possible to have a form ON submit. Post data to an access data file at the same time send an email of the data submitted. I have a send mail asp script that will create the email and send it. I have a form that will create a record how are they performed together? To put a screws in the mix. I am using Front page to create the connection between the form and the MDB file. My hands are tied in having to use Front Page.
Contents Of A Post In ASP
I'm trying to access and iterate through POST variables. I'm thinking of something similar to PHP, where on a submit it creates a POST object, which is an associative array of all the variables. Is ASP the same way? Is there any way to see what is in the array and have access to it's contents without knowing the contents beforehand? The reason I ask is because I have about 100 check boxes, and the user only checks a number of them - each check box is named differently. I want to, on the post page, to find out which ones were checked, short of putting an if else or select to check all 100 of them. Is there an easier way? I tried printing out the post: Response.Write(Request.Form()), and all that gave me was the querystring .
Post Back In 2.0
I created a simple website with one page. This simple page has only one text box (asp:Textbox) and no other controls. When i bring the siteup in VS2005 and press enter with the cursor inside the text box the page refreshes. I am not able to understand why it is posting back? I have set Autopostback to false. Am i missing anything or is it the default behavior?
Http Post, In ASP
i'm trying to find out how to post a file to a URL, using ASP, but I can't seem to track it down.
ASP - XML Form Post
I've always been able to find my answer in other posts. Which leads me to wonder if what I want to do can be achieved? I need an xml object to post a form on my site without a user having to click submit. The form it will be submitting will always be submitting to 1 specific page. The form element it submits will be a different string every time. When the form is fired off it will search for this string in the code of the page it has been sent to and then return to me whether it was found or not.
|