Need support? Click here.
Ok, so what's the big deal anyway...aren't these just a part of VB Script? Yes, they are, but they're not always easy to implement or understand.
ASP Utilities 2.0 is a collection of highly efficient functions that are so easy to use throught your pages, you'll wonder why you didn't think of this sooner!
But I'm using Dreamweaver on Mac OS X…are these functions going to work? Absolutely. They'll work with any server capable of processing ASP pages. They're written in VB Script, a subset of Visual Basic. It doesn't matter what OS or software you're using, as long as the server can process ASP, you're good to go.
I'm still not convinced these are going to do anything for me. Can you show me why I'd want to use these? Absolutely! Example: Passing numeric values through the querystring will cause a data type mismatch error if you try to filter a recordset with the value you've passed. You have to convert the string integer back into a long integer.
BestLong() will convert the value by wrapping the function around the variable you're requesting from the QueryString. If it's a number, it will convert it, if not it returns null.
Example:
id = BestLong(Request.Querystring("id"))
Yep, it's that simple. See wasn't that a whole lot faster and easier than writing seven lines of code over and over and over - for each numeric value you're calling from the Request collection? That's a lot of code. Less code = faster development time = faster processing = happier customer = mo' money. That makes good sense to me!
Plus you can implement them across as many pages as you'd like. How? Simple - use the util file as an SSI after your connection object on your page and call the functions as many times as you need.
BestLong() is yours free by visiting our site. Just copy the code from the text field below. If you like it, buy ASP Utilities 2.0 for only $30 and see how much time (and money) you save. Don't wait, buy today!
|