|
|
As you advance on the learning curve with ASP, you come across lots of
small pieces of code, that we call as Code Snippets.
These are some scripts that do some very useful work when it comes to
executing the script. Given below are a few scripts, that I wrote while
working my way around the proprietary scripts that I have developed (BlogMe
and Tagger Pro).
- Database Paging : Database
paging has always been a problem when it comes to classic asp. But here
is a script that makes it easier and which is very effecient.
- Dynamic Table Creation
: While working with user-registration and multi-user environment, you
may want to create tables on the fly, using the data submitted by the
user. This snippet does just that, and makes it very easy to manage
huge databases.
- Flood Control : Ever wanted
to prevent your message board or guestbook from being flooded by unwanted
hackers and lamers?? Check this script out. It allows you to set a
time limit between two posts. if a user posts a message, then he cannot
post another until 'n' seconds have elapsed. You can configure 'n'.
|
|