Posting Information To Asp Page
Usually when you post information from a form to another asp page like this:
<form method="post" action="someASPPage.asp">
It will redirect you to 'someASPPage.asp'.
I was wondering if there is a way of posting information from a form to another asp page, but not actually going to that asp page.
View Replies
ADVERTISEMENT
I've created a form that posts data to a script and the script checks the values. If the values are invalid, I want to be able to "post" the data back to the original page for them to be picked up. Is this possible?
I can't use JavaScript for client-side validation as the data to be compared against is in a database. I don't want to use session variables as they are server intensive and can expire. And I can't send the variables through the URL as some of the fields are textareas and could hold long values...
View Replies
View Related
I have an application which allow users to search our database. Quite a lot
of search fields pull data from other tables. I don't want to populate the
dropdowns (total 14 of them) from the database everytime as it slow the page
load.
Instead I would like to have a link next to the text field which a
user and click and the choices can be displayed and whatever the user click
in the pop up I want to transfer it to the text box and close the popup.
For example there is a Textbox called country. The user can either type in
the country name or click on the link which will pull all the countries from
table in the database and which ever country user selects, the textbox is
popluated with the country name and the pop up closes automatically. Code:
View Replies
View Related
is there a way in ASP to automatically submit a form and its values when a page loads ?
if not is there any way round this scenario. i want to have a drop down list of options depending on which is selected will depend on where the form is submitted to.
View Replies
View Related
I've been setting up an online payment system for our site, and it all works fine except for one part. When it submits to the merchant's site, the customer is greeted with a blank page for a few seconds while it verifies the card. Then it redirects to our site.
Is there any way to do a form POST to another site without actually making the browser go to that page?
View Replies
View Related
If i have a combo box, automatically when the user changes the item, i want to display information from the database within a textbox, without having to go to the next page.
Currently i only know how to do this by going onto another page.
In VB it was a simple case of calling a procedure, how does it work in ASP? If i need to call a procedure, how would i do this in ASP. The example in w3schools passes the variables, can i do it without it?
View Replies
View Related
I have an ASP page that contains an A HREF tag. This will load a new page and carry some variables to the new page. What I want is that, whenever a person click the item,the prompt box comes up and ask "why are you not working item." Whatever the person types as the response, I want it to be also carried over to the new page and stored as a variable.
I think that JAVASCRIPT could achieve this, but I do not know how. Can anyone tell me the script that willl accomplish this? The information I have in the page itself is as follows:
<a href="somepage.asp?repp=<%=avariablefromthepage%>&pot=<%=anothervariable%>&wantfix=n" value="no" onClick=''whyNotDone();''>Not Done</a>
View Replies
View Related
I have a user based service where each user has their own information, user settings, etc. I want to be able to add tables in my user settings and allow the users to enter in their IM Service (AIM, Yahoo, MSN, etc) and their screen name/user name.
That is the easy part.
What I do not understand or cannot figure out is how to link this information to the icons for each service they enter that will open up the appropriate service with their correct IM name, etc.
Basically I want to provide a way for my members to IM another member when they pull up that users information, or associated information, etc. Basically I need the script to make the Icon execute the correct IM service if the user clicking on it has the service installed as well. The majority of my members use AIM.
Where can I find information on how to install this kind of script and associate it with the users information and an icon?
View Replies
View Related
It all seems to work well, but takes a large amount of time for the entire page to load, I guess due to the amount of records that get displayed, or maybe its the repeat region. So, Is there anything I can do in my asp code to speed these things up. Code:
View Replies
View Related
have one form on an html page post to another form on the same page? I would like to have the information (all of the second form) hidden until the post is sent to it. Is that possible too?
View Replies
View Related
I have a service request form in asp, which takes a bunch of data (name, id, etc). it then has 2 checkboxes, either or both of which can be checked to request a certain service. depending on which box is checked, the other data collected is inserted into a corresponding database. what is the best way to do this?
can i just use 2 IF statements (not nested) to open the connections to the databases?
View Replies
View Related
I'm building a wizard-type site and I have a form that has a fair amount of
information being posted page to page until it reaches the end where it has
all of the data from Page 1 - Page 5.
For future reference more than anything...is there a way to post all of the
data coming from a previous page to the next page? Basically I just wrote
out all of the values I received on each page into hidden variables and then
posted that to the next page every time. Is there a simpler way?
View Replies
View Related
If you have an SQL error, response.write your SQL including all variables to the browser.
If I had a dollar for every error that could be fixed in about 15 seconds after doing this, I'd have like at least 15 bucks.
View Replies
View Related
I have been left a set of instructions. One of them is to post an XML string to an address. I have my XML string, but how do I 'Post' it? I'm using ASP.
View Replies
View Related
Is it possible to post the value of a cookie through a hyperlink?
View Replies
View Related
i am trying to do Multiple Posting to different Server when
User post the Order form.
one to windows server
second to linux server
third to its own server
View Replies
View Related
I'm working on a shopping cart that uses PayPal when the user submits their information 3 things need to happen on the same page:
1. User information gets saved in a database
2. An e-mail is sent out
3. Variables are transferred via a "POST" method to the PayPal API
I've successfully made it through the first 2 but the 3rd one is killing me. How do I do this? The only way I can think to do this is with the response.redirect but it can't be a GET it needs be a POST. Any thoughts?
View Replies
View Related
My employer uses an onjline application for new hires. Currently they fill out a form which goes to ../cgi-bin/formail.pl
Of course this then email the application to them.
Once they recieve it it looks fine but when the go to print they say it prints 4 or 5 pages of garbly gook.
I havent seen this yet but i was thinking that if i could post the form to two seperat files, the fromail.pl and an asp page to insert it into an access table to later view with another asp page they could view the apps online and just print form explorer if i designed the page right
i have never done anythig with pearl before. Can I post it to an asp page then to the formail.pl. instead of posting it to two pages.
View Replies
View Related
I have a discussion forum that is working great, except that I just found out that if a person adds a reply to a thread, the thread just stays in place, weather or not if it's the first post or 7893th post. What I would like it to do is display the earliest thread, or the earliest thread with a reply at the top and work to the oldest thread. Right now it works only from earliest post to oldest post, not including the replies.
View Replies
View Related
I was using Microsoft Posting Acceptor to upload file on
web server(IIS 5) but after reinstalling my web server.
when i try to upload file it give me error
Http 405 - Resource not allowed.
I checked permission on all the directories and tried
after giving full permission but result is same
Also i checked mime extentions and found entry for .dll
View Replies
View Related
I have a login form on a page that should post the data to a non Windows
server and upon successful authentication, the browser needs to show the
secodn url.
I did the form post, got the successful results back but the browser is
still showing at the same url. Which method needs to be used so that the
browser shows the target url. In this case it's sURL in my code. sHTML is
the result from the successful result from posting the form to the non
Windows server.
As an example, imagine you want to put a Hotmail login form in your own
site, post the form using your asp.net code and the browser ends up inside
Hotmail showing a hotmail.com url.
Code Snippet:
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "text/html";
Response.Write(sHtml);
Response.RedirectLocation = sURL;
Response.Flush();
Response.Close();
View Replies
View Related
welll I'm using ASP 2.0 =)
I'm trying to do the automated form posting and submition.
What I got is Excel file with the data that I need to manually enter to
the form...
What should I use to maximumally automate it =)
View Replies
View Related
I have a table showing a list of records.On each row is a check box and a details button'.In the table header is a button to post back the checked items for deletion.
The 'detailsbutton' posts to another page to show THAT row's details and needs to post THAT row's uniqueID.
How do i go about this?I have tried jS functions that change values in hidden fields, nested forms etc and all I can get is one button working and not the other.The main problem is the looped recordID which I can't seem to refer to in JS.
View Replies
View Related
I have a problem and not quite how to go about solving it. I have a form written in asp. I wish to submit the form and have the server return back to the same page without actually refreshing the page.
I know I could write a form, submit it and go to another page. I've searched the web and I see something about HTTP Status code of 204 would return no content to the client browser. How would I incorporate this into my asp page? How do I detect a HTTP status codes in asp?
View Replies
View Related
How can I prevent posting of a form from any other site but the site the form lives on?
View Replies
View Related
I have the following script that posts a message to the guestbook database just fine. Now what I need it to do is send an email to my email address that would contain a link to my edit page where I can click to go edit it. The link should have the message_id included in it because that is how I want to choose the record through the edit page, now how do I change the below script to do this?
<%@ Language=VBScript %>
<%
On Error Resume Next
Dim oCat, strADOXTableName
call GetADOXConnection
message=""
mypage=Request.Form("targetpagenumber")
if mypage="" then _
mypage=1
myaction=Request.Form("todo")
if myaction="" then myaction="add"
if myaction="add" then _
myaction="added".........
View Replies
View Related
Dreamweaver, Access, IIS
Okay. Here is my goal: I have a database that contains a volume, a chapter, and file names in that chapter. I have a drop-down list that selects the volume (this works!) I have a drop-down list that is dynamically populated by the volume to select the chapter (this works!).
Now I want to have images corresponding to the filenames that correspond to the previous selections:
volume --> chapter --> file1, file2, file3, file4... (I have images named file1,file2,file3,file4)
My question is what is the best way to get the text name of the file stored in the database to become an image that will be posted on the screen. An array? Take it right from a recordset? Any ideas?
View Replies
View Related
I am trying to post data using xmlhttp object.
The data Iam trying to send has "&" in it, like - xx.asp?part=tm7&t6
Somehow the data doe not reach to the page correectly.
I also tried -
xx.asp?part=tm7&t6
But still it does not reach.
In my final page when I retrieve request.form("part") -
Iam getting only tm7.
View Replies
View Related
I have created a form, which has hidden fields, which are to be passed to a payment gateway using the POST method.
My problem is that the variables in the hidden fields do not get passed on to the payment page when the form gets posted. The payment page comes up empty.
Does anyone know why this is happening? Code:
View Replies
View Related
how to install posting acceptor on window2000 server.
View Replies
View Related
How can I stop some one from trying to post my form from a remote site.
I am getting some one cycling through usernames trying fpr passwords on a
web site.
View Replies
View Related
Posting variables from an HTML FORM, via
the Request.Form function on the receiving
ASP page is great.
But how can you POST a Form variable to
an ASP page -- without a human pushing a
Submit button?
An ASP page that can decide when to POST
and send the Form vaiables, but out without a
human in the loop.p.s. the reason I do not want to use a
Request.Querysting is because I do not
want the user to see the values at the
tail-end of the URL (?x=private).
View Replies
View Related
I have a page(1) with a form on and another page(2), from which (2) I want to post a value into a field of a form on the other page(1)! Clear?!?!?
View Replies
View Related