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


ADVERTISEMENT

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

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 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







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