Problem Keeping Data When Page Refreshes

I have a page where the user can enter some field data, like and address.

They then click on a button which opens a pop-up window, this window is where they enter detailed data. Upon submitting that window, it closes and because of caching, I need to refresh the main window.

Thus, the data (address) that they had previously entered is now gone forcing them to enter it again.

What is the best method to get around this? In practice, the user will definitely enter that address data first.

View Replies


ADVERTISEMENT

Search That Refreshes Itself

I have a search function on my page where a user can choose the location of their search, But i was wondering how easy and how you would go about coding the page so that when the first location on the serach is selected the page then allows you to break that seacrh criteria down further.

Like on this page example page when you click on the select area function it brings up another search function.

Bascially how would you go about coding such a page?

Is there a tutorial online that can show me how to do this?

View Replies View Related

How To Get Data From The User In One Page And Display Related Data In A New Page

how do i get data from a user on one page and display the result on the other page
actually i have written a prgoram that displays a set of checkboxes and based on the checkboxes selected the related data is displayed .but the problem is the data is displayed on the same page below the list of check boxes. Code:

View Replies View Related

Possble To Retain Orig Request.ServerVariables("HTTP_REFERER") Thru Svrl Refreshes?

I have a "Email this page to a friend" form that submits to itself and contains the hidden input value="<%= Request.ServerVariables("HTTP_REFERER") %>".

The value="<%= Request.ServerVariables("HTTP_REFERER") %>" is to obtain the URL of the page that the person wishes to send.

The problem is, if someone creates an error in any of the input fields, the page submits to itself again and displays the errors. When this happens, the original HTTP_REFERER url address is lost and now replaced with the url of the "Email this page to a friend" page.

Is there a way to retain the original HTTP_REFERER value even though the user refreshes the page?

View Replies View Related

Keeping Id Like 12,13,4

I have seen people who keeps datas in sql like 1, 3, 7. For example in a relatedCats field, all the fields are kept like 1, 3, 7. Are there any disadvantage fo this? And how is it possible to use them? I mean how is it possible to treat them as individual ids when once selected.?

View Replies View Related

Keeping The Just Web Address Not ?ID=122

how do i encode the URL to just stay at teh web address and not say ?ID=122 at the end?

View Replies View Related

Keeping Spiders Away

Just figure out that by detecting the user's "user agent" and redirecting the unwanted to say, Yahoo or Google would take a load off my server, and keep spambots and unwanted bots off my site for good, and I would finally get more realistic stats.First off, there are no more e-mail addreses displayed on my site (or in the code), contact is done through a form.

Second, and that's where I'm curently at, is writting an ASP script that would only allow Mozilla browsers, GoogleBot, Yahoo's bot, MSN's Bot and Amazon's Bot. Anyway, I've already written a long and lenghty (using disallow) robots.txt file, and it didn't change things at all in the last 2 months.

View Replies View Related

Keeping Formating

I posted before about replacing special characters (esp. '). However, I am wondering how formatting can be kept when entering it into a textbox to store in a database?

When text with seperate paragraphs is entered, it comes out as one big paragraph later on.Is there anyway to address this? When I was doing my searching - somethign about chr(10) kept coming up, but I am not sure what this is.

View Replies View Related

Keeping Name In A Drop Down Box After It Is Selected

I have a dropdown menu with parents' names, and on the same page when a name is selected (through an onChange event), another drop dpwn boix containing student names change according to the parent selected.

But I want the Parent drop down box to contain the parent's name who was selected, and although the event works, it just keeps displaying the first name of the list of parents even after a different parent is selected.

View Replies View Related

Keeping Textarea Format?

I have a textarea field in a form, and am then using ASP to write the form details to a mySQL database.

What I would like to do is retain the basic line break/paragraph format the user has used in the textarea field, so that is written to the database in such a way that it will be displayed with the same line breaks etc. when it is written back out to the displaying page.

I have tried inserting <pre>; but long paragraphs are blowing the page apart, as each line is being forced to stay as one line.

I have tried wrap="physical" and this keeps the line break format - and writes it in the html code on different lines but the browser displays it as one block of text again, losing formating. wrap="virtual" gives me the same result.

This thread posting form seems to do what I want mine to do ... it adds a <br /> to the end of my paragraphs, or maybe the displaying page does, how does this get done, with either html or ASP?

View Replies View Related

Keeping Track Number

I got a web based application. I need to keep track of number of users coming to use this applcation on a daily basis. This application is read only one. I have to veiw the traffic for a month. What is the best way to capture this information. I appreciate any help or related article link.

View Replies View Related

Passing/keeping Info

I want to keep multiple information from input in multiple pages when moving between them. The value remains in the string even the user jump to different page or click back to move back to previous page.

I heard it is possible if using javascript to assist in this but i don't know how.
Is there any sample code i can refer?

View Replies View Related

Keeping Access Database Safe

How would you make it so that people cannot download your .mdb file straight out of your site and see peoples usernames and passwords and then just log in with their info? Is there a way to block people from downloading the access database?

View Replies View Related

Windows Keeping Files Open

I'm not very well-versed on developing on NT machines and IIS, but here goes..

I have a script that opens up an odbc connection to a Microsoft Access file (.mdb). This is file, but after I run it, Windows (or something) keeps the mdb file open and I can't reupload it for like, 20 minutes until it finally decides to close it.

I know it's not an asp problem because I've seen this before with Cold Fusion. I also know that it's not isolated to .mdb files because it does the same with a .txt file.

Any ideas? I do have access to the server, so if it requires any configuration changes.

View Replies View Related

ASP Read The Execl Cell's Data, Web Page Created From Excel2000 -- Save As Web Page

I created a web page from Excel2000, using "Save as web page..."...Publish
function. then, I moved htm file to my IIS web server. Then I added a form control, and submit button.

How can get the data on the excel file using ASP from server side?
For example, the value of Cell(1,2), Cell(2,3)....

View Replies View Related

How To Transfer A Data Display On 1st Page To 2nd Page Upon Clicking On The Link

I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.

Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:

View Replies View Related

How To Chain Page To Page With RecordSet Data

I have a form.htm page where the user enters an ID to retrieve addresses. Then PAGE1.ASP displays the addresses. From here the user selects an address and submits. Then PAGE3.ASP brings back further information. My question is how do I use one field from the address information on PAGE2.ASP to display on PAGE3.ASP? I know how to do it with textboxs and such but cant get RS data to hope page to page. I get no errors or anthing.

On PAGE2.ASP I have :
<input type="hidden" name="CLIENTHIDDEN" value="<%=RS1("CICL_LNG_NM") %>"></td>

On PAGE3.ASP I have:
clientname = request.form("CLIENTHIDDEN")

and to display:
<td class=rt width="110" height="1">Business Name:</td><td width="849" class=rt height="1"><% =clientname%></td>

View Replies View Related

Submitting Data From Page To Page

I am in the process of developing an application and would like to hide the
query strings in the URLs. I want to POST data to a page then validate the
data. If there is an error I have to send data back via a long query string.
Is there anyway to POST data between pages programmatically?

View Replies View Related

Adding Items To An Array - And Keeping Items Previously Added

I have a funtion that is supposed to add items in my shopping basket.

It's an array, and each time the user is adding an item, it adds the item to the array with its quantity and size.

I've never used arrays before, read about it, etc...

The only problem is that when it adds the new product, it's not keeping the ones which were there before :-(.

I have used REDIM PRESERVE. So can't find out what is wrong.

Below are the funtions that i use for testing and the coding where I implement them. Code:

View Replies View Related

How To Transfer Data From 1 Asp Page Another?

I would like the value of the textfield from text1 from Select_License.asp to be transfered to swname from License_add.asp when i click on the Next button from Select_License.asp

<html>
<head>
</head>
<body>
<form name="form1" method="post" action="">
<P>
Software: <INPUT name=text1 >
<input type="submit" name="Submit" value="Find">
<%
on error goto 0

If Request.Form("Submit") = "Find" Then
description = Request.Form("text1") .....

View Replies View Related

Embedding XML Data In An ASP Page

I'd like to display XML data in a table in an ASP page. Seems like XSL and XML don't like that because ASP commands within the document cause the page to not be "well-formed"...

anybody know how to do what I want to do? Point me to a good online tutorial...i'll be looking too in the meantime.

View Replies View Related

Passing Data On To Second .asp Page

OK this query if probably fairly elementary, and forgive my novice understanding of the terminology, I have dealt a little with php but .asp is relatively new to me.

I am able to store variables posted from a form using something along the lines of

strStartDay = Request.Form("StartDay")

however this only works for the .asp page that immediately results from the form. how do I then pass these same values(entered from the form) into an asp page that follows (link from the first asp page).

In my ignorance I have placed the same variable statements in my second asp page but no values are being returned (which of course they wouldnt).

View Replies View Related

POST Data To A New Page

I have a page with 4 submit buttons. How can I make 1 of these buttons spawn a new page AND use the data posted from the orginal page?

View Replies View Related

Pushing Data To Web Page

i have a server that recieves data often from a third party data provider often. I would like to PUSH this data to the client webpage, WITHOUT having to force the user to hit refresh or without having to use client side polling and autorefresh. Once recieved on the client, i can use something like DHTML to add it to a table.

how to go about this or what is the best technology to use for doing this? Any sample applications out there doing this today?

View Replies View Related

Passing Data To 2nd Page ...

I have a registration page which will be receiving user input. These data will NOT be insert into DB within this page. However, all the data (first name,last name, address...) will be pass to second page. And the insertion to DB will be execute in second page.What will be a better way to handle the passing of data from page 1 to page 2?Used querysting in the hyperlink? Err...abit tedious rite? I mean the url will like so long.

View Replies View Related

Data From Php Created Page

I run a website that reads our own databases and makes the data available to our users. However, recently someone has sent me a link to a php page that contains data they want me to display on our site. The php creates a csv formatted text string.

Example : I type in www.somewebsite.php and the page returns game1,gamedate,gametime,hometeam,visitor,,,, with real values of course being in these values. the ,,, are null fields that have no value as they expect our website to fill in this data for them from our users. how do I read this data with asp into a recordset, or a database?

View Replies View Related

Page Break SQL Data

I am using a SQl query to get information by company departments for a Dept Mgr. How can I display each dept on a seperate page. ie page 1 is dept 1, link to page 2 ect

View Replies View Related

Re-Submitting Data To Page

I am developing a page that when it loads up, it will display certain information from an SQL statement using preset values. However when the user is using the page they can then use drop down menus, to choose different year, suppliers etc, the page then needs to reload showing this new information.

I think it is possible to do this using the response.redirect, and direct it back to itself, with all the new variables. However some information will stay the same and I just wondered if it was possible to only reload the information that was required to save on server time running sql statements taht need not run.

View Replies View Related

Posting Data To Page

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

Pulling Data From Page

I am making an asp page that kind of gives a summary of a table I have on my SQL server. I have one field on the page of:

{rs_analyst_summary.TICKET_NUM}

Is there a way i can make another recordset that would use that field on the same page?

Basically what I have setup is a listing of all the tickets for one person. I need to have a score for each ticket as well. I have to start off on my first page by selecting my analyst. I want the page it links to have all of the analysts tickets and their score on each.

View Replies View Related

Data Limit Page

In my access database there are thousands of records are there,i want to retrieve them and display only 15 records at a time. how can it possible? also by clicking next page next 15 records will display.

View Replies View Related

How To Cache Input Data On Page?

I have a problem to keep the input value from user still keep. The condition when User input , let me say" Employee Code","Employee Name","Level", then the user input all the 3 field, but when the user submit the employee code not unique/already had by another record,then the problem is after that Employee Name and level input value empty again. Then How to keep the input value....with that condition.....i have no idea....

View Replies View Related

How Do You Post Form Data To Another Page?

Here is the situation:

1. User fills in form and hits submit
2. Some processing is done with the posted data using ASP
3. The posted form variables now need to be submitted to another script which only receives POSTed data.

How do I send the posted data to another script? I can't run step 2 on the next script as its validation script and I'm going across two servers.

View Replies View Related







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