How To Pass A Recordset Or Form Between Multiple Asp Pages
Users enter data using HTML forms and it gets processed by an asp page that enters the data into the database. What I am trying to do is get a "confirm" page set up that will make sure the form was completed properly. If it is completed successfully, then the data from the form needs to be forwarded onto another asp page that will enter the data into the database.
My question is, what is the best way to forward the information on? Currently I am using querystring to handle this, but that doesn't work in some situations especially when one of my forms has a <textarea> box that seems cumbersome to send via querystring.
Is there a method I can use to easily forward the data from the form to subsequent pages after the first one ?
View Replies
ADVERTISEMENT
How do I post an HTML form to multiple ASP pages? I need to do two things with my data at the same time and it would be very helpful if I could spawn the processes when the HTML form is posted, not through downstream ASP handling.
View Replies
View Related
Assuming the following code actually worked, I'd like to take data entered from one form and post it to two different locations. Hypothetically, I have a server in NY and one in LA that I want to get the same information.
<form action="http://ny.server.com/test.asp"
action="http://la.server.com/test.asp" method="post">
Name:
<input type="text" name="request" /><br />
<input type="submit" value="Submit">
'''Contents of ny.server.com/test.asp
<%
response.write "Data saved on NY server"
%>
'''Contents of server2.com/test.asp
<%
response.write "Data saved on LA server"
%>
View Replies
View Related
I am going to have a form on one page that will have a bunch of options(checkboxes, radio buttons, text areas, text fields, etc.) and these options are going to deal with a certain category. Each category will have different options. Now after this form is filled out they will then proceed to another page to fill out contact information. Name, Addy, State, City, etc.
Now, after they fill this contact form out they will submit it and then it will go through a database and depending on what state and county they are in it will email the information from both forms to the email addresses in the database that match that state and county(as well as category). Now dont worry I aint wondering how to actually search the db and all that yet.
All I want to know right now is how do you remember the first forms information while you go to the second page to fill out the contact information? Using cookies? What? I dont want the form input to be displayed on the second page, just remembered.
So I will select all my options from the first form and fill out all the text areas and fields and all that then click on the Next button or whatever, then fill out contact info.
How do I get it to retain BOTH forms information, and for now just display both of them on a third page(like I said I will worry about the db query and email crap later). I hope this makes sense.
View Replies
View Related
I've got multiple pages on the same server that all have the same drop down
boxes in them. It is a list of all our facilities. Every time there is a
change, I have to change it on every page. They are in the format below. Is
there an easy way to store all that data in a text file so I only have to
update it one place?
<option value="fac 1">fac 1</option>
<option value="fac 2">fac 2</option>
<option value="fac 3">fac 3</option>
View Replies
View Related
If an affiliate sends a visitor to my site I want to be able to carry that 'partner' variable throughout my pages and eventually onto the registration page so that they may get credit for the member registration.
I am not a coder and can't find an easy way to do this could someone help. I am an expert interpreter and rearranged but not a writer of the code.
BG INFO: asp.net
AFF URL FORMAT: www.mysite.com/index.html?partner=20051111987623
View Replies
View Related
I've got a .aspx page that passes login information to an .asp page
using a querystring. The problem is its not secure, the user can see
the login information right there and type in someone elses login
name. Is there another way to pass the variables?
View Replies
View Related
I am trying to pass information from an ASP recordset to a mail component (aspqmail) to create 'forgotten password' pages.
I have an html page to collect the username. I used POST to pass the username to an asp page. I created a recordset for the user's email and password. (This works fine as I've put a test recordset item onto the page to make sure).
I'm trying to pass this information onto the mail component. Code:
View Replies
View Related
A fill in a form which is "request.asp", then submit to "department A" to wait for approvement. for "request.asp", i use simple method "request.form()" to pass value to another page.
ques. 1:when "staff A" want to pass the form to "department A", how should i do this? store the form's data in database? then system automatically retrieve the data and trigger an email to "department A"? this look like similar to email notification, is it? any sample coding?please take note that "department A" should able to add new remarks inthe form, a new problem. how can i do it? (cos need to add new textarea/textfield)
after "department A" add remarks into the form then submit to another department which is "department B"."department B" will check and add comment to this form then keep record of this form. i'm using sql server as database.
View Replies
View Related
I need to have some dynamically created ASP, with mutliple word documents
and PDFs all connected so that it can be printed with a single print
command.
My two ideas are:
having the PDF and DOC files act like images and print entire thing as a web
page.
-Or-
Creating a single PDF file from the concatenation of the asp results and the
doc and pdf files.
View Replies
View Related
I've tried to find this answer, but can't seem to get a clear example -
I'm using the following classic asp code to submit a form:
<form action="default.asp" name=order method=post>
What I need to do is to submit the form to multiple .asp pages, (that I
want to join with frames) and I can't find a way to do it
View Replies
View Related
I have an ASP page a.asp. The user fills many inputs (say,P,Q,R,S) in the <FORM> of a.asp. Is there any way of submitting the values P,Q,R,S to b.asp as well as c.pl(Perl file) with a single submit button?
I need to submit the values to the perl file as I have to send the values of P,Q,R,S through email and the email-application is in perl.
View Replies
View Related
I was wondering how some websites produce the paged numbers when displaying search results, so that if more than say 50 pages exist they group them.
For example:
Pages: 1 2 3 4 5 6 7 8 9 10 (10-20) 20-30)
Then when clicked say '10-20' the following would show:
(0-10) 11 12 13 14 15 16 17 18 19 20 (20-30)
Get the idea??
This looks a lot easier than a list of say 300 pages.
View Replies
View Related
I am kind of confused. How do I pass an email address from a text field in a form using ASP code?
View Replies
View Related
I have created a form. I have a log in page and a view registration page. When a user logs in I have to display only their information on the registration page. But when an admin logs in...
they can view all the records in the database. I am not sure how to do this. Can anyone help me? I have included that code that I have now. Right now...when the users log in they see everythings. Code:
View Replies
View Related
I am hosting a site with Globat.com, and they provide me with webmail. I would like to create a form on my website that will automatically pass the username and password that they put into the form on my page, onto the webmail login page, so they don't have to login through Globat's webmail login. Any ideas?
View Replies
View Related
I am using some flash movies & images in a many pages of my site. (like page1.asp, page2.asp, page3.asp)
The problem is when I browse one page to another (redirecting from page1.asp to page2.asp) the other page is again start downloading these images & flash movies. But they are already downloaded by previous page (page1.asp)
Is there any way that to save time, I use the same media (images & flash) that are already downloaded by first page.
While for variables, we can do that by putting them in session. But for media...any know any way....
View Replies
View Related
I would like to add multiple pages to this searchresults page, where i just show 10 pages per page.
The details for the sql statements need to be passed forward onto the second results page. Initially this is where i was going wrong.
I have completley striped the multiple pages section to leave just a simple results page.
Initially if i had opened the connection via a select * recordset i would have no problems but in my sql statement i have it using information from previous page. e.g
Code:
select * from prospect where number = '" & requst.form("search") & "'
I would be really grateful if someone could show me a simple way of having multiple pages while passing the variables forward as i could not get it to work my way.
I am posting the whole page because of the ammount of code and it is better than pasting multiple replies of code.
View Replies
View Related
i am try to get my page to have multiple uses.
ie:
copy.asp?page=about
copy.asp?page=history
how do i do this
View Replies
View Related
This is my first post to this newsgroup, I have question regarding showing resultset to html. Let's say I have in resultset 200 rows, and I'd like to show on each page 10 of them, so it could look like for example google search results:
Results 1 - 10 of about 17,700 for "asp search engine" [results]
Result Page: [1] 2 3 4 5 6 7 8 9 10 Next
Is there some helpful script/guide?
View Replies
View Related
i got a list of checkboxes and radio button with the recorset paging function. let said i got the paging list << 1 2 3 4 5 >>. i set each page is 10 records. and every record got one checkbox for DELETE ID usage.
in the first page, i check 5 records, then i go to second page, i checked another 5 records. but why it cant keep the value for the first page 5records when i go back or go to next pages?
View Replies
View Related
I am processing a recordset on an ASP page and this works fine, However within the loop of the recordset for each record I also want to output the details onto another page in a slightly different format. How do I make a reference to the second page building the details from the first page?
View Replies
View Related
i have a drop-down menu with a list of products.when i select any one
product i open a popup displaying hte product categories in it.i then
enter the no. of items i want.and finally when i click to the submit
button i want to display a summary of selected item in the parent
form.to make it more elaborate:
i have 3 items in a drop-down menu and each item has further 10
different types of products.
something like u have an item soap. and then 10 different brands of
soap.so all my products are in the drop down menu in the parent form.
item 1
item 2
item 3
item 4
when i select item 1 i get a popup menu which has say 20 types of item1
from the database.i generate textboxes beside each label so that user
can enter his quantity. Code:
View Replies
View Related
Is it possible to take a value entered on one page and access it on several different pages? For example, I want the user to enter their email on the first page, make a selection on the second page, and the third page will display a form based on their selection on the second page. I then want to submit all the data entered on the form on the thrid page along with their email address from the first page to a database.
View Replies
View Related
If I have a DB table which spans multiple pages, and if the check box is selected next to the item after all pages are view the user then selects done I need it to pass everything they selected to one page so they can view it and verify that is what they want. Then it is passed to a DB and also sent to me and the user in email.. I know it is alot, but it is what I need.. any suggestions or directions??
View Replies
View Related
I have a dropdown that calls a javascript function onChange. One of the lines in the script is:
tmp = document.form1.familyID.options[document.form1.familyID.selectedIndex].value;
How do I change it to allow familyID to be a variable passed to the function?
View Replies
View Related
w2k server... after rebooting the event viewer/application log shows multiple
restarts of Active Server Pages and they continue to build in memory as each
start produces a IWAM_SERVERNAME in the task manager.
there might be 10 - 20 starts without a stop... when I restart iis services it
takes a long time as each started service is stopped and the associated
IWAM_SERVERNAME is closed.
this seems to be something new and when checking other w2k servers it is
unusual.
View Replies
View Related
How Can I extract multiple tiff images into single images through asp
programming?
Is there any free dll's that I can use in ASP to split multiple tiffs into
single tiffs?
View Replies
View Related
a good tutorial of a ASP password script that can log-in a user to his own protected page depending on his user name. More or less a multiple destination password script.
Or if anyone could help me out with some code that can do this. Right now I am playing around with: http://www.elated.com/tutorials/programming/asp/password_protection/. Maybe some one can help me with the additional code needed.
View Replies
View Related
How to display this str in a proper format accordingly to the MIME type specified in side the str? Code:
View Replies
View Related
Basically I have the following SQL statement:
Quote: sqlConnect = "SELECT Users.User_ID, Users.Password, Users.Username, Event.Event_ID FROM Users LEFT JOIN Event ON Users.User_ID = Event.Admin_ID where Username = '" & Username & "'"
set rs= Server.CreateObject ("ADODB.Recordset")
rs.open sqlconnect, objconn, 3, 3
where username is an ASP variable of the username.
When I run this and I try to access a field from event I get an error i.e.
Quote: if rs("Event.Event_ID")<>")" then
session("admin")= rs("Event.Event_ID")
end if
Does anyone know what is wrong?!?!?! It doesn't seem to be able to pick up the fields from the event table?
View Replies
View Related
how to create an array of checkboxes that were selected from a form on one page and pass them into hidden fields in a form on the next page? I have this massive project I've been working on and am having trouble with this.
View Replies
View Related
I'm using DWMX and Access DB.
i have setup a form on a normal http page which collects name address etc and is then passed to a https page to collect credit card details, on clicking submit on the https page the credit card details are inserted in db on secure server along with one field that was passed from the http page (the user id).
this all works ok, however i then need to pass the remaining orignal form values back to another http page that then inserts these values to another DB. ok you may be asking why.... the first forms allows the user to correct information already held on file before upgrading their listing, i then need them to pay for the upgrade before inserting the amended data in the orignal database... How..
View Replies
View Related