Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Good(?) Advice on Dynamic Webpages

Author  Topic 

1337 h4X0r
Starting Member

8 Posts

Posted - 2001-03-28 : 02:08:20
Hey all,

I've been doing alot of dynamic work with CF and ASP with SQL Server lately and have figured out a simple but easy way to simplify my code:

Keep all your DSN/login info and connection code as well as your logoff code in seperate include files and just <!--include--> them at the top and bottom of all pages you access your database form.

Maybe everyone but me has already figured this out but me, but I figured I'd post it anyhow for anyone who may benefit from it.

P.S. - check out ryanflynn.com/spin for my latest personal project. I think I was influenced by too much f---edcompany.com msgboard reading. Oh well. It only took an hour -- I swear!

   

- Advertisement -