logo

Previous Thread
Next Thread
Print Thread
Most Useful ASP Code? #145111 12/23/02 11:32 PM
Joined: Sep 2004
Posts: 1
pureheart Offline OP
Newbie
OP Offline
Newbie
Joined: Sep 2004
Posts: 1
I think ad rotation code is the most useful code - it fills a really important need that just about every website can use. I also like send-a-friend functionality, but a website of course can live without that!


P. Pureheart
Re: Most Useful ASP Code? #145112 01/07/03 11:59 PM
Joined: Nov 2004
Posts: 10
jollybeader Offline
Newbie
Offline
Newbie
Joined: Nov 2004
Posts: 10
The most useful code for me?
For Each Key in Request.ServerVariables
Response.Write(Key & " - " & Request.ServerVariables(Key) & "<BR>")
Next

Here's another...
Set cn = Server.CreateObject("ADODB.Connection")
cn.Open "MyDSN"
For Each property in cn.Properties
response.write(property.name & " = " & property.value & "<BR>" & vbcrlf)
Next

Re: Most Useful ASP Code? #145113 01/05/04 09:12 AM
Joined: Jan 2004
Posts: 2
Lisa - ASP Offline
Newbie
Offline
Newbie
Joined: Jan 2004
Posts: 2
Those are both very useful!!

Any other useful code snippets out there, that people use all the time? You can post actual code or just a brief description of what the code does <img src="/images/graemlins/smile.gif" alt="" />


Moderated by  Lisa LowCarb 

Brand New Posts
2020: On this day . . .
by Mona - Astronomy - 11/29/20 09:50 AM
Container Gardening TIP OF THE DAY
by Lestie4containergardens - 11/29/20 05:13 AM
Native American Heritage Month
by Angela - Drama Movies - 11/29/20 01:25 AM
Advent 2020
by Angie - 11/28/20 11:18 PM
Thanksgiving and Gratitude
by Angie - 11/28/20 01:36 PM
Meanwhile in Canada
by Angie - 11/28/20 01:34 PM
Thanksgiving in Space
by Angie - 11/28/20 01:30 PM
The Solar System - for Kids & Others
by Mona - Astronomy - 11/28/20 12:39 PM
Uranus - Facts for Kids *new article*
by Mona - Astronomy - 11/28/20 12:36 PM
Sewing Ideas Towards Best Fit
by Cheryl - Sewing Editor - 11/25/20 09:36 PM
Privacy
This forum uses cookies to ensure smooth navigation from page to page of a thread. If you choose to register and provide your email, that email is solely used to get your password to you and updates on any topics you choose to watch. Nothing else. Ask with any questions!
Channel List
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies
Safety
We take forum safety very seriously here at BellaOnline. Please be sure to read through our Forum Guidelines. Let us know if you have any questions or comments!
Sponsor


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2020 Minerva WebWorks LLC. All rights reserved.


Powered by UBB.threads™ PHP Forum Software 7.7.3