<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Code Snippets for ASP</title>
    <link>http://www.uwec.edu/code/</link>
    <pubDate>Wed, 31 Oct 2007 14:48:28 GMT</pubDate>
    <description>UW-Eau Claire Web Development code snippets</description>
    <item>
      <title>Connect to MS Access using ASP</title>
      <link>http://www.uwec.edu/code/ASP/show/3</link>
      <description> 	This is a very fast way to connect to a Microsoft Access database. This code provides much more secure access and is the recommended way to make your connection.</description>
      <pubDate>Wed, 31 Oct 2007 14:48:28 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/3</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title> 	Add or Update Record using ADO</title>
      <link>http://www.uwec.edu/code/ASP/show/4</link>
      <description> 	Use ADO to add or update records instead of SQL statements. Easy to implement and debug.</description>
      <pubDate>Mon, 19 Jun 2006 19:38:23 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/4</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Show all server variables</title>
      <link>http://www.uwec.edu/code/ASP/show/5</link>
      <description> 	Shows all current server variables and their values. Great for debugging your application.</description>
      <pubDate>Wed, 25 Jan 2006 19:07:19 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/5</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Simple site search</title>
      <link>http://www.uwec.edu/code/ASP/show/7</link>
      <description>You can search through HTML, ASP, and text documents to match a search string. Can be called from another page.</description>
      <pubDate>Wed, 25 Jan 2006 19:09:01 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/7</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>File System Object - Write</title>
      <link>http://www.uwec.edu/code/ASP/show/8</link>
      <description> 	Use the File System Object to write to a text file on your server. This version allows you to append data to the file and will create the file if it does not exist</description>
      <pubDate>Wed, 25 Jan 2006 19:10:11 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/8</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>File System Object - Read File</title>
      <link>http://www.uwec.edu/code/ASP/show/9</link>
      <description> 	Use the File System Object to read data in from a file. Will loop through the contents of the file one line at a time</description>
      <pubDate>Wed, 25 Jan 2006 19:10:51 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/9</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Send Mail using JMail</title>
      <link>http://www.uwec.edu/code/ASP/show/10</link>
      <description>Example showing how to send mail using our servers and W3 JMail</description>
      <pubDate>Wed, 25 Jan 2006 19:13:22 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/10</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Authenticate Against Active Directory</title>
      <link>http://www.uwec.edu/code/ASP/show/11</link>
      <description> 	Uses the custom DEVLIB object to authenticate a username and password combination against Active Directory. This code will work only on UWEC servers.</description>
      <pubDate>Mon, 19 Jun 2006 19:36:35 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/11</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>TrimStart</title>
      <link>http://www.uwec.edu/code/ASP/show/12</link>
      <description> 	Trim the specified number of characters from the start of a string.</description>
      <pubDate>Mon, 19 Jun 2006 19:39:27 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/12</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title> 	Retrieve Username and Password from Basic Auth</title>
      <link>http://www.uwec.edu/code/ASP/show/13</link>
      <description> 	Use this code to retrieve the currently logged-in username and password when you use Basic Authentication</description>
      <pubDate>Mon, 19 Jun 2006 19:37:35 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/13</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Write and Read Cookies</title>
      <link>http://www.uwec.edu/code/ASP/show/14</link>
      <description>Access Cookies via ASP</description>
      <pubDate>Wed, 25 Jan 2006 20:01:22 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/14</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Handle "File In Use" with Access</title>
      <link>http://www.uwec.edu/code/ASP/show/15</link>
      <description>Simple code that can be used to handle exceptions when the database is locked by another user.</description>
      <pubDate>Wed, 25 Jan 2006 20:01:59 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/15</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Generate dropdown from database table</title>
      <link>http://www.uwec.edu/code/ASP/show/16</link>
      <description> 	A function that will create a dropdown list box from a set of data you specify
</description>
      <pubDate>Wed, 25 Jan 2006 20:03:24 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/16</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Microsoft SOAP Client example</title>
      <link>http://www.uwec.edu/code/ASP/show/17</link>
      <description> 	Use SOAP to connect to a WSDL (web service) that will return the current temperature for your zip code</description>
      <pubDate>Wed, 25 Jan 2006 20:04:43 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/17</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>CAS authentication</title>
      <link>http://www.uwec.edu/code/ASP/show/24</link>
      <description>Include this file at the top of every page that you want to have CAS authentication on.  Note that this only authenticates that the person signing is is a UWEC user, but doesn&amp;#39;t take into account the role of the user.  Currently the username is stored into Session[uwecNetworkID], but can be changed for each application.  It also checks to see if the user has already been authenticated.</description>
      <pubDate>Mon, 19 Jun 2006 19:35:23 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/24</guid>
      <author>webermp)</author>
    </item>
    <item>
      <title>ASP-based file explorer</title>
      <link>http://www.uwec.edu/code/ASP/show/30</link>
      <description>Traverse files and folders on your server.</description>
      <pubDate>Thu, 20 Apr 2006 12:22:57 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/30</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>MS SQL Stored Procedure from ASP</title>
      <link>http://www.uwec.edu/code/ASP/show/40</link>
      <description>This is the preferred way to call a stored procedure from ASP.  The number one reason to use this method is that it is nearly self-documenting. Without looking at the SQL Stored Procedure, the developer can tell what parameters are being sent, their data types, and their sizes.  Also, this method can validate the data types before they go to the SQL Server. For example, if you passed a string into a parameter requiring an adInteger data type using this method, the ASP would fail before the command was executed, saving valuable resources.   This method is also required if the stored procedure returns output parameters.  </description>
      <pubDate>Mon, 19 Jun 2006 19:31:56 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/40</guid>
      <author>hoganbp)</author>
    </item>
    <item>
      <title>Simple Excel export</title>
      <link>http://www.uwec.edu/code/ASP/show/42</link>
      <description>This is a really simple technique we&amp;#39;ve used to export data from a web-based system to an Excel spreadsheet. Since Excel documents are XML-based, simply creating a valid structured HTML page and serving it with the correct MIME header causes Excel to handle the document.  </description>
      <pubDate>Tue, 14 Nov 2006 16:42:29 GMT</pubDate>
      <guid>http://www.uwec.edu/code/ASP/show/42</guid>
      <author>hoganbp)</author>
    </item>
  </channel>
</rss>
