SQL Server

Ah, database goodness
Using SQL Server for ASP.Net session state

What is session state? A session is defined as the period of time that a unique user interacts with a Web application. Session state is a collection of objects, tied to a session are stored on a server. Why use SQL? Once you start running multiple web servers for the same web site, the default asp.net session state, InProc, is no longer useful, as you cannot guarantee that each page request goes to the same server. It becomes necessary to have a central state store that every web server accesses. SQL Server offers you centralized storage of a session state in a Web...

posted @ Sunday, December 31, 2006 7:07 PM | Feedback (54)

Using SQL trusted Connections with ASP.NET

Hard coding passwords into your application or your web site is a bad thing. Microsoft SQL has the ability to use "trusted connections" to authenticate your database connection against your login name, so no passwords are ever sent to SQL server, just your login name and an authentication token. But once you come ...

posted @ Sunday, December 31, 2006 7:02 PM | Feedback (23)