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
ADVERTISEMENT
Currently I have a list of products in a drop down list. not very informative or easy to browse.
browse to check4add.asp at http://www.flowersdirectory.co.uk
I want to be able to open a pop up where the customer can browse the additional products and pass the variable to the parent pages form variables.
View Replies
View Related
I have a wierd problem. I have a multi-dimensional array. When a user selects a certain item in a drop down box, I need to manipulate certain data in the page. So essentially to find the correct information in the array, I have to know the selectedIndex in my select statement. I error checked the javascript function using an alert, so it works. I just need to know how I can pass the selected index to the array, and then pass the array to the javascript "updatePreviewPane"
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 an html form where a serial # is entered and goes to an asp page to determine wether it is a res or comm number, then directs to another form where they can finish entering info to register the serial number. I want the second form to display the serial # entered in the first form. How do I do that??
View Replies
View Related
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
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
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
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
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
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
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
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
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
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
View Related
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
Is asp.net similar to vb.net ? What can you create with it ? ,Is there a program you suggest me to use , or even a compiler ?
View Replies
View Related
I need to know where I can get information about learning how to code in ASP. This getting cide snippets and such doesn't work out real well if you don't know what to configure. Also I would like to have my own work not someone elses.
View Replies
View Related
In different examples I've seen different ways to do the same thing, and I want to know what is best (fastest, easiest to remember, same command for all types of stuff, etc)
For example, to get data from a database, should I use:
[VBS]set rs = conn.execute sqlstmt[/VBS]
or
[VBS]rs.Open sqlstmt, conn[/VBS]
or something else?
View Replies
View Related
what can i use to get my server's ASP information, like with PHP you can use:
PHP Code:
<? phpinfo(); ?>
What can i use in ASP?
View Replies
View Related
I have a form that I use a few option selections from DB table and a insert script at the end.I'd like to have access to aditional info from the same table after choose an option
View Replies
View Related
I am trying to retrieve data from a dropdown listbox in asp using:
<%Response.Write + Request.Form("cboBox")%>
The problem is that I only retrieve the first value of the option. For
example, if my first option was <option value=this that>, I only can
retrieve "this". It won't get the second word.
View Replies
View Related
Recently, I came across a site with information to my area of knowledge. The pages have been designed and consist of the .asp extension in the url.
I'm not able to select the text on the web page, either click right mouse button or anything to copy the information. when I'm trying to print it is not perfect.
So, I would like to know from ASP guru's whether there is any way of saving the information on the web pages, so that the same can be formatted in a word document for printing purpose.
View Replies
View Related
My web site is windows authenticated.
When someone connect to my site, I get his SID with a small active X object
which uses OpenProcessToken and GetTokenInformation (token user etc ...
But now, I also need the SID list from AD user object SIDHistory. (when a
user is moved across domain).
View Replies
View Related
I've got a WYSIWYG editor, that runs off a template page (i.e. template.htm) that gets opened in an iFrame for editing.
How can I get it setup so I cange the template at the click of a button? I've tried doing a form with radio buttons, but can't get it to work.
For example, the iframe source has been set to "strTemplate". My form processing was along the lines of:
<%
If request.form "template" = "template1" then
strTemplate = "template1.htm"
Else
strTemplate = "template.htm"
If request.form "template" = "template2" then
strTemplate = "template2.htm"
Else
strTemplate = "template.htm"
End If
End If
%>
View Replies
View Related
Anyone have anything like this? I don't care what data it is... I just want
to see how to query the AD and place the data into a web page.
View Replies
View Related
Basically I want to be able to send users (if they sign up to it) an SMS alert whenever someone leaves them a message on a webpage. Similar to Hotmail where you can get an SMS when you receive an email, or Ebay where you can get alerts if you are outbid.
I'm thinking maybe something very similar to CDO in terms of coding Code:
View Replies
View Related
im running an asp page where by i can upload a xls file- which adds data to a database provided it passed validation. this then sends a success message to the user. what i need is a button where i can call the data which was recently added into the database- but dont know how to go about it or code.
View Replies
View Related
I am using :
<% FOR EACH field IN size_info.FIELDS
Response.write("<option value=''>" & replace(field.name, "asize", "") & "</option>")
NEXT%>
to loop the names of the fields in a DB, but I cannot get it so that is the value of the data in that field is lower than 5 it simply doesn't show, i thought i might be this
<% FOR EACH field IN size_info.FIELDS
if size_info.fields.name.value > 0 then
Response.write("<option value=''>" & replace(field.name, "asize", "") & "</option>")
end if
NEXT%>
but that doesn't work.
View Replies
View Related
Is this the right forum for this. Considering using this but not sure, specially considering the price and I would need to add a host. If you have any knowledge please let me know. Also if this the right forum, also let me know and I will give more details. It is an ASP program of course.
View Replies
View Related
Currently I have one asp page which opens after the proper ID entered by user and it generate <A> tag with application software download link. When the user click on the link (which is pointed to the actual physical file.EXE of Size around 10 - 20 MB) it downloads file. But how do i change the logic so that the activity will get LOG in some text file. Like which user has downloaded which file. (it should log into text file).
I think I need to remove the <A> for direct download instead it shoudl call an asp page whcih should log the event and push the file to user.suggest with sample code if possible.
View Replies
View Related
How can I get ASP and IIS version info?
View Replies
View Related
When you hover over one of the topic in this forum a box appear with the first few lines of the message in it. How is this created. What events area used to creat something similar and does anyone know of any good website where i can look at a tutorial for it.
I dont even know what they are called so dont know what to search for even on the web as if i write pop up i get something else which i dont think is what i really want to use, or maybe it is.
View Replies
View Related