ASP.NET

Webby gubbins
Logging HTTP Referals with ASP.NET

Referer [sic] The specifications for HTTP, RFC 2616, state in 14.36 The Referer[sic] request-header field allows the client to specify, for the server's benefit, the address (URI) of the resource from which the Request-URI was obtained (the "referrer", although the header field is misspelled.) The Referer request-header allows...

posted @ Sunday, December 31, 2006 7:16 PM | Feedback (12)

Searching your web site with the Microsoft Indexing Service and ASP.NET

What is the Indexing Service? Microsoft Indexing Service is a service that provides a means of quickly searching for files on the machine. The most familiar usage of the service is on web servers, where it provides the functionality behind site searches. It is built into Windows 2000 and 2003. It provides a straightforward way to index and search your web site. Setting up the Indexing Service is explained at windowswebsolutions.com and will not be covered here. Connecting to the Indexing Service The Indexing Service exposes itself to the developer as as ADO.Net provider MSIDXS with the data source equal to the...

posted @ Sunday, December 31, 2006 7:11 PM | Feedback (28)

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)