<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>sessionservice Wiki Rss Feed</title><link>http://sessionservice.codeplex.com/</link><description>sessionservice Wiki Rss Description</description><item><title>Updated Wiki: Home</title><link>http://sessionservice.codeplex.com/wikipage?version=29</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;Still &lt;a href="http://www.google.com/search?hl=en&amp;q=filetype%3Aasp" target="_blank"&gt;
1 billion ASP pages&lt;/a&gt; all around the world and still so hard to migrate from Classic ASP to ASP.NET!&lt;/p&gt;
&lt;p&gt;&amp;quot;Homelidays Session Service&amp;quot; makes it easier for ASP developers to share the Classic ASP Session State with ASP.NET by storing the Session State into a SQL Server database. Homelidays Session Service eases a step by step migration from ASP to ASP.NET.&lt;/p&gt;
&lt;p&gt;&lt;a title="Homelidays Session Service Global Overview" href="http://sessionservice.codeplex.com/wikipage?title=How%20does%20it%20works%3f"&gt;&lt;img src="http://download.codeplex.com/download?ProjectName=sessionservice&amp;DownloadId=168001" alt="Homelidays Session Service Global Overview" width="835" height="501" style="vertical-align:middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fig1. Session Service global overview&lt;/p&gt;
&lt;p&gt;Storing the session state in an external storage (Microsoft SQL Server database):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Eases the migration from classic ASP to ASP.NET allowing a step by step migration;
&lt;/li&gt;&lt;li&gt;Allows a Classic ASP site using &amp;quot;Session&amp;quot; to be stateless. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;It's developed in C&amp;#43;&amp;#43; for Classic ASP and in C# for ASP.NET.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Homelidays Session Service is massively&amp;nbsp;used on production environement at
&lt;a title="Homelidays" href="http://www.homelidays.com/" target="_blank"&gt;http://www.homelidays.com&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=How%20does%20it%20works%3f"&gt;How does it work?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Install%20the%20Homelidays%20Session%20Service"&gt;Install the Homelidays&amp;nbsp;Session Service&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the Session Service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the Session Service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This project is sponsored by&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Fri, 28 Sep 2012 16:00:31 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20120928040031P</guid></item><item><title>Updated Wiki: Home</title><link>http://sessionservice.codeplex.com/wikipage?version=28</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;Still &lt;a href="http://www.google.com/search?hl=en&amp;q=filetype%3Aasp" target="_blank"&gt;
1 billion ASP pages&lt;/a&gt; all around the world and still so hard to migrate from Classic ASP to ASP.NET!&lt;/p&gt;
&lt;p&gt;&amp;quot;Homelidays Session Service&amp;quot; makes it easier for ASP developers to share the Classic ASP Session State with ASP.NET by storing the Session State into a SQL Server database. Homelidays Session Service eases a step by step migration from ASP to ASP.NET.&lt;/p&gt;
&lt;p&gt;&lt;a title="Homelidays Session Service Global Overview" href="http://sessionservice.codeplex.com/wikipage?title=How%20does%20it%20works%3f"&gt;&lt;img src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=168001" alt="Homelidays Session Service Global Overview" width="835" height="501" style="vertical-align:middle"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Fig1. Session Service global overview&lt;/p&gt;
&lt;p&gt;Storing the session state in an external storage (Microsoft SQL Server database):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Eases the migration from classic ASP to ASP.NET allowing a step by step migration;
&lt;/li&gt;&lt;li&gt;Allows a Classic ASP site using &amp;quot;Session&amp;quot; to be stateless. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;It's developed in C&amp;#43;&amp;#43; for Classic ASP and in C# for ASP.NET.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Homelidays Session Service is massively&amp;nbsp;used on production environement at
&lt;a title="Homelidays" href="http://www.homelidays.com/" target="_blank"&gt;http://www.homelidays.com&lt;/a&gt;.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=How%20does%20it%20works%3f"&gt;How does it work?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Install%20the%20Homelidays%20Session%20Service"&gt;Install the Homelidays&amp;nbsp;Session Service&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the Session Service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the Session Service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 11:10:03 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Home 20110825111003A</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=11</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;quot;Value&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;quot;KEY_TAB&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;) = tab&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;Next see how to &lt;a href="wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;
Use the Session Service in ASP.NET code&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 09:16:26 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110825091626A</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;quot;Value&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;quot;KEY_TAB&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;) = tab&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;Next see how to &lt;a href="use the session service in ASP.NET code"&gt;use the session service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 09:15:27 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110825091527A</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;quot;Value&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;quot;KEY_TAB&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;) = tab&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;Next see how to [Use the session service in ASP.NET code]&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 09:13:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110825091316A</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;quot;Value&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;quot;KEY_TAB&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;) = tab&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 09:10:35 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110825091035A</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;quot;Value&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;quot;KEY_TAB&amp;quot;&lt;/span&gt;&lt;span style="color:#000000"&gt;) =&amp;nbsp; Table&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 09:02:28 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110825090228A</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=6</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;quot;Value&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;KEY_TAB&amp;rdquo;&lt;/span&gt;&lt;span style="color:#000000"&gt;) =&amp;nbsp; Table&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 09:01:59 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110825090159A</guid></item><item><title>Updated Wiki: Install the Homelidays Session Service</title><link>http://sessionservice.codeplex.com/wikipage?title=Install the Homelidays Session Service&amp;version=10</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Download the Homelidays Session Service setup file&lt;/h1&gt;
&lt;p&gt;Depending if you are target a 32 bits or a 64 bits Windows operating system, download the Homelidays Session Service from
&lt;a title="http://sessionservice.codeplex.com/releases" href="http://sessionservice.codeplex.com/releases"&gt;
http://sessionservice.codeplex.com/releases&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Install the setup by following the wizard&lt;/h1&gt;
&lt;p&gt;Double click on the setup.exe file and follow the wizard:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164485"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164486" border="0" alt="image" width="389" height="318" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164487"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164488" border="0" alt="image" width="391" height="319" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164489"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164490" border="0" alt="image" width="393" height="322" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164492"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164493" border="0" alt="image" width="393" height="322" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164494"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164495" border="0" alt="image" width="399" height="327" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Change the connection string&lt;/h1&gt;
&lt;h2&gt;For ASP configure the ADO connection string&lt;/h2&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\AspSessionServiceConfig.xml file and edit you connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;1.0&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;
&lt;br&gt;
&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Provider=SQLOLEDB.1;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;By default for performance reason we choose to use the tempdb database as it is a memory database.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;The database schema will be created by the Session Service automatically so the database user should have the right to execute &amp;ldquo;CREATE TABLE&amp;rdquo; statements.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;Integrated security has not been tested yet so I don't know if it works.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="color:#333333"&gt;For ASP.NET configure the ADO.NET connection string&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;In the installation folder (C:\Program Files\Homelidays\Session Service), edit the AspSessionServiceConfigAdo.Net.xml and configure your connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&lt;span style="color:#333333"&gt;Integrated security has not been tested yet so I don't know if it works.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Install the SQL job that clears expired session&lt;/h1&gt;
&lt;p&gt;A SQL job should be install to clear expired session every minute.&lt;/p&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\01 Job.sql file and set:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The job owner name (@owner_login_name); &lt;/li&gt;&lt;li&gt;The database name (@database_name). &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Run the script to install the job.&lt;/p&gt;
&lt;p&gt;Make sure the Sql Agent is started (and ensure he is configured to automatically start at boot time ;-).&lt;/p&gt;
&lt;h1&gt;Add some more writes as long as issue #933 is not resolved&lt;/h1&gt;
&lt;p&gt;The installation folder need some more writes so that Session Service COM component (used for Classic ASP) can write its logs.&lt;/p&gt;
&lt;p&gt;The account that runs the Classic ASP application pool needs to have write access to the Session Service installation folder (C:\Program Files\Homelidays\Session Service).&lt;/p&gt;
&lt;h1&gt;IISReset&lt;/h1&gt;
&lt;p&gt;You may need to perform an IISReset before using the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the session service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the session service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Thu, 25 Aug 2011 08:43:08 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Install the Homelidays Session Service 20110825084308A</guid></item><item><title>Updated Wiki: Use the session service in ASP.NET code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in ASP.NET code&amp;version=17</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;&lt;span style="color:#333333"&gt;Add references&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;You should add references in your ASP.NET web application to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="color:#ff0000"&gt;&lt;span style="color:#000000"&gt;The &lt;/span&gt;Homelidays.Web.SessionService.dll&lt;/span&gt; whose location is in the Global Assembly Cache;
&lt;/li&gt;&lt;li&gt;&lt;span style="color:#ff0000"&gt;&lt;span style="color:#000000"&gt;The &lt;/span&gt;log4net.dll
&lt;/span&gt;(the assembly could be found in the installation folder (&lt;span style="color:#0000ff"&gt;C:\Program Files\Homelidays\Session Service).&lt;/span&gt;
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;&lt;span style="color:#333333"&gt;Configure the Homelidays.Web.SessionService assembly&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;The assembly needs an appSettings whose key is &lt;span style="color:#0000ff"&gt;SessionServiceConfigDirectory
&lt;/span&gt;to set its configuration folder (i.e. the folder where the&amp;nbsp; AspSessionServiceConfigAdo.Net.xml is located) so that it can get its connection string.
&lt;br&gt;
This location is typically the installation folder but can be any folder where your application has read access.
&lt;br&gt;
To do it simply add the following appSettings in the Web.Config of your web application.&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;appSettings&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;add&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;key&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;SessionServiceConfigDirectory&lt;/span&gt;&amp;quot;
&lt;span style="color:#ff0000"&gt;value&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;C:\Program Files\Homelidays\Session Service&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;/&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;appSettings&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&lt;span style="font-family:consolas; color:#0000ff; font-size:x-small"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;&lt;span style="color:#333333"&gt;Inherit the SessionPage&lt;/span&gt;&lt;/h1&gt;
&lt;p&gt;Any .aspx page should inherit the Homelidays.Web.SessionService.SessionPage class that inherit System.Web.UI.Page.&lt;/p&gt;
&lt;p&gt;Homelidays.Web.SessionService.SessionPage expose an AspSession member that allow you to access the ASP session.&lt;/p&gt;
&lt;p&gt;Your code behind should looks like :&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;using&amp;nbsp; &lt;span style="color:#000000"&gt;Homelidays.Web.SessionService;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;public partial class&lt;/span&gt; SessionService_Test : SessionPage
&lt;br&gt;
{ &lt;br&gt;
&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;protected void&lt;/span&gt; Page_Load(&lt;span style="color:#0000ff"&gt;object&lt;/span&gt; sender,
&lt;span style="color:#4f81bd"&gt;EventArgs&lt;/span&gt; e) &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;this&lt;/span&gt;.&lt;strong&gt;AspSession&lt;/strong&gt;[&amp;quot;DotNetIntValue&amp;quot;] = 12;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;foreach&lt;/span&gt; (&lt;span style="color:#0000ff"&gt;var&lt;/span&gt; item
&lt;span style="color:#0000ff"&gt;in&lt;/span&gt; this.AspSession) &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LContentSess.Text &amp;#43;=
&lt;span style="color:#c0504d"&gt;&amp;quot;Key : &amp;quot;&lt;/span&gt; &amp;#43; item.Key &amp;#43; &lt;span style="color:#c0504d"&gt;
&amp;quot; Value : &amp;quot;&lt;/span&gt; &amp;#43; item.Value &amp;#43; &lt;span style="color:#c0504d"&gt;&amp;quot;&amp;lt;br/&amp;gt;&amp;quot;&lt;/span&gt;;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;if&lt;/span&gt; (((&lt;span style="color:#0000ff"&gt;int&lt;/span&gt;)this.&lt;strong&gt;AspSession&lt;/strong&gt;[&lt;span style="color:#c0504d"&gt;&amp;quot;DotNetIntValue&amp;quot;&lt;/span&gt;]) == 12)
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; { &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Response.Write(&lt;span style="color:#c0504d"&gt;&amp;quot;blabla&amp;quot;&lt;/span&gt;);
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;br&gt;
}&lt;/p&gt;
&lt;p&gt;If the session is need in an .ashx page you will need to take inspiration from the Homelidays.Web.SessionService.SessionPage to access the Homelidays Session Service your self (not a big deal).&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 22 Aug 2011 22:22:30 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in ASP.NET code 20110822102230P</guid></item><item><title>Updated Wiki: Use the session service in classic ASP code</title><link>http://sessionservice.codeplex.com/wikipage?title=Use the session service in classic ASP code&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;When we design the Homelidays Session Service, our target was to limit as much as possible the changes that needs to be done in existing ASP pages.&lt;/p&gt;
&lt;p&gt;So to use Homelidays Session Service in your ASP code you should:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Disable the IIS session state provided by IIS so that the &amp;ldquo;Session&amp;rdquo; object is no more instantiate by IIS ;
&lt;/li&gt;&lt;li&gt;Include the HomelidaysSessionServiceInit.asp file in every ASP top level page to instantiate Homelidays custom &amp;ldquo;Session&amp;rdquo; object.
&lt;br&gt;
This new &amp;ldquo;Session&amp;rdquo; object has nearly the same interfaces as the IIS one so you won&amp;rsquo;t need to change your existing code.
&lt;/li&gt;&lt;/ol&gt;
&lt;h1&gt;Disable IIS Session State&lt;/h1&gt;
&lt;p&gt;By default IIS instantiate the Session object. So we will first disable this mechanism as we intend to replace the IIS Session object by ours.&lt;/p&gt;
&lt;h2&gt;On IIS 5.1 and IIS 6.0&lt;/h2&gt;
&lt;p&gt;Open the internet Information Service dialog you can find in administrative tools&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165292"&gt;&lt;img title="IIS 5.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165293" border="0" alt="IIS 5.x disable IIS Session 1" width="486" height="213" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Right click your web site and click &amp;ldquo;Properties&amp;rdquo; and select the &amp;ldquo;Home Directory&amp;rdquo; tab&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165294"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165295" border="0" alt="image" width="378" height="372" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Configuration&amp;rdquo; button, select the &amp;ldquo;Option&amp;rdquo; tab and uncheck the &amp;ldquo;Enable session state&amp;rdquo; option&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165296"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165297" border="0" alt="image" width="374" height="421" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;On IIS 7.x&lt;/h2&gt;
&lt;p&gt;Open the Internet Information Services (IIS) Manager and in the left panel select your web site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165298"&gt;&lt;img title="IIS 7.x disable IIS Session 1" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165299" border="0" alt="IIS 7.x disable IIS Session 1" width="633" height="350" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;In the middle panel double click on ASP.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165300"&gt;&lt;img title="IIS 7.x disable IIS Session 2" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=165301" border="0" alt="IIS 7.x disable IIS Session 2" width="638" height="353" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Include HomelidaysSessionServiceInit.asp in ASP top level pages&lt;/h1&gt;
&lt;p&gt;In every &amp;ldquo;top level ASP page&amp;rdquo; you should include the HomelidaysSessionServiceInit.asp. We call a &amp;ldquo;top level page&amp;rdquo; any ASP page that is intended to be called by a web browser. Any ASP page that is included into an other page is not
 a &amp;ldquo;top level page&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;Please find the HomelidaysSessionServiceInit.asp in the installation folder of Homelidays Session Service. The default installation path is &amp;ldquo;C:\Program Files\Homelidays\SessionService&amp;rdquo;. Copy and paste it in the folder you want in your Classic
 ASP code.&lt;/p&gt;
&lt;p&gt;So the first t two lines of your code should looks like:&lt;/p&gt;
&lt;p&gt;&amp;lt;%&lt;span style="color:#0000ff"&gt;@&lt;/span&gt; &lt;span style="color:#ff0000"&gt;Language&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&lt;span style="color:#0000ff"&gt;VBScript&lt;/span&gt; %&amp;gt;
&lt;br&gt;
&lt;span style="color:#008000"&gt;&amp;lt;!-- #include virtual=&amp;quot;/&amp;lt;The_Path_You_Want&amp;gt;/HomelidaysSessionServiceInit.asp&amp;quot; --&amp;gt;
&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Requirements are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You would need to handle manually every case when a file is directly called by users and also included in other ASP page;
&lt;/li&gt;&lt;li&gt;HomelidaysSessionServiceInit.asp should never be included twice. An error will occurs if you include twice the file;
&lt;/li&gt;&lt;li&gt;You should include HomelidaysSessionServiceInit.asp in any top level page even if the page do not use the Session variable.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;This file will load the Homelidays Session Service COM component and will provide you the &amp;ldquo;Session&amp;rdquo; object with almost the same interface as the Session provided by IIS. As a consequence you do not need to change your existing code. For instance:&lt;/p&gt;
&lt;p&gt;Session(&lt;span style="color:#c0504d"&gt;&amp;quot;KEY_STRING&amp;quot;&lt;/span&gt;) = &lt;span style="color:#c0504d"&gt;
&amp;ldquo;Value&amp;rdquo;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;&lt;/span&gt;KEY_INT&amp;rdquo;&lt;span style="color:#000000"&gt;)&lt;/span&gt;
&lt;span style="color:#000000"&gt;=&lt;/span&gt; 12&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Dim tab(3,2,1) &lt;br&gt;
tab(0,0,0) = &amp;quot;A&amp;quot; &lt;br&gt;
tab(0,1,0) = &amp;quot;B&amp;quot; &lt;br&gt;
tab(0,2,0) = &amp;quot;C&amp;quot; &lt;br&gt;
tab(1,0,0) = &amp;quot;D&amp;quot; &lt;br&gt;
tab(1,1,0) = &amp;quot;E&amp;quot; &lt;br&gt;
tab(1,2,0) = &amp;quot;F&amp;quot; &lt;br&gt;
tab(2,0,0) = &amp;quot;G&amp;quot; &lt;br&gt;
tab(2,1,0) = &amp;quot;H&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#c0504d"&gt;&lt;span style="color:#000000"&gt;Session(&lt;/span&gt;&amp;ldquo;KEY_TAB&amp;rdquo;&lt;/span&gt;&lt;span style="color:#000000"&gt;) =&amp;nbsp; Table&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You can only store classic ASP base types and Scripting.Dictionary COM object in the Homelidays Session Service.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 22 Aug 2011 22:21:53 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Use the session service in classic ASP code 20110822102153P</guid></item><item><title>Updated Wiki: Install the Homelidays Session Service</title><link>http://sessionservice.codeplex.com/wikipage?title=Install the Homelidays Session Service&amp;version=9</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Download the Homelidays Session Service setup file&lt;/h1&gt;
&lt;p&gt;Depending if you are target a 32 bits or a 64 bits Windows operating system, download the Homelidays Session Service from
&lt;a title="http://sessionservice.codeplex.com/releases" href="http://sessionservice.codeplex.com/releases"&gt;
http://sessionservice.codeplex.com/releases&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Install the setup by following the wizard&lt;/h1&gt;
&lt;p&gt;Double click on the setup.exe file and follow the wizard:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164485"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164486" width="389" height="318" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164487"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164488" width="391" height="319" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164489"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164490" width="393" height="322" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164492"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164493" width="393" height="322" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164494"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164495" width="399" height="327" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;h1&gt;Change the connection string&lt;/h1&gt;
&lt;h2&gt;For ASP configure the ADO connection string&lt;/h2&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\AspSessionServiceConfig.xml file and edit you connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;1.0&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;
&lt;br&gt;
&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Provider=SQLOLEDB.1;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;By default for performance reason we choose to use the tempdb database as it is a memory database.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;The database schema will be created by the Session Service automatically so the database user should have the right to execute “CREATE TABLE” statements.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="color:#333333"&gt;For ASP.NET configure the ADO.NET connection string&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;In the installation folder (C:\Program Files\Homelidays\Session Service), edit the AspSessionServiceConfigAdo.Net.xml and configure your connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Install the SQL job that clears expired session&lt;/h1&gt;
&lt;p&gt;A SQL job should be install to clear expired session every minute.&lt;/p&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\01 Job.sql file and set:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The job owner name (@owner_login_name); &lt;/li&gt;&lt;li&gt;The database name (@database_name). &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Run the script to install the job.&lt;/p&gt;
&lt;p&gt;Make sure the Sql Agent is started (and ensure he is configured to automatically start at boot time ;-).&lt;/p&gt;
&lt;h1&gt;Add some more writes as long as issue #933 is not resolved&lt;/h1&gt;
&lt;p&gt;The installation folder need some more writes so that Session Service COM component (used for Classic ASP) can write its logs.&lt;/p&gt;
&lt;p&gt;The account that runs the Classic ASP application pool needs to have write access to the Session Service installation folder (C:\Program Files\Homelidays\Session Service).&lt;/p&gt;
&lt;h1&gt;IISReset&lt;/h1&gt;
&lt;p&gt;You may need to perform an IISReset before using the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the session service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the session service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>yanal</author><pubDate>Mon, 22 Aug 2011 22:19:48 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Install the Homelidays Session Service 20110822101948P</guid></item><item><title>Updated Wiki: Install the Homelidays Session Service</title><link>http://sessionservice.codeplex.com/wikipage?title=Install the Homelidays Session Service&amp;version=8</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Download the Homelidays Session Service setup file&lt;/h1&gt;
&lt;p&gt;Depending if you are target a 32 bits or a 64 bits Windows operating system, download the Homelidays Session Service from
&lt;a title="http://sessionservice.codeplex.com/releases" href="http://sessionservice.codeplex.com/releases"&gt;
http://sessionservice.codeplex.com/releases&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Install the setup by following the wizard&lt;/h1&gt;
&lt;p&gt;Double click on the setup.exe file and follow the wizard:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164485"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164486" width="389" height="318" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164487"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164488" width="391" height="319" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164489"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164490" width="393" height="322" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164492"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164493" width="393" height="322" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164494"&gt;&lt;img title="image" border="0" alt="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164495" width="399" height="327" style="border-right-width:0px; padding-left:0px; padding-right:0px; display:inline; border-top-width:0px; border-bottom-width:0px; border-left-width:0px; padding-top:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#160;&lt;/p&gt;
&lt;h1&gt;Change the connection string&lt;/h1&gt;
&lt;h2&gt;For ASP configure the ADO connection string&lt;/h2&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\AspSessionServiceConfig.xml file and edit you connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;1.0&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;
&lt;br&gt;
&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Provider=SQLOLEDB.1;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;By default for performance reason we choose to use the tempdb database as it is a memory database.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;The database schema will be created by the Session Service automatically so the database user should have the right to execute “CREATE TABLE” statements.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="color:#333333"&gt;For ASP.NET configure the ADO.NET connection string&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;In the installation folder (C:\Program Files\Homelidays\Session Service), edit the AspSessionServiceConfigAdo.Net.xml and configure your connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&amp;#160;&amp;#160; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;#160;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Install the SQL job that clears expired session&lt;/h1&gt;
&lt;p&gt;A SQL job should be install to clear expired session every minute.&lt;/p&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\01 Job.sql file and set:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The job owner name (@owner_login_name); &lt;/li&gt;&lt;li&gt;The database name (@database_name). &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Run the script to install the job.&lt;/p&gt;
&lt;p&gt;Make sure the Sql Agent is started (and ensure he is configured to automatically start at boot time ;-).&lt;/p&gt;
&lt;h1&gt;IISReset&lt;/h1&gt;
&lt;p&gt;You may need to perform an IISReset before using the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the session service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the session service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;Add some more writes as long as issue #933 is not resolved&lt;/h1&gt;
&lt;p&gt;The installation folder need some more writes so that Session Service COM component (used for Classic ASP) can write its logs.&lt;/p&gt;
&lt;p&gt;The account that runs the Classic ASP application pool needs to have write access to the Session Service installation folder (C:\Program Files\Homelidays\Session Service).&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>yanal</author><pubDate>Mon, 22 Aug 2011 22:19:20 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Install the Homelidays Session Service 20110822101920P</guid></item><item><title>Updated Wiki: Install the Homelidays Session Service</title><link>http://sessionservice.codeplex.com/wikipage?title=Install the Homelidays Session Service&amp;version=7</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Download the Homelidays Session Service setup file&lt;/h1&gt;
&lt;p&gt;Depending if you are target a 32 bits or a 64 bits Windows operating system, download the Homelidays Session Service from
&lt;a title="http://sessionservice.codeplex.com/releases" href="http://sessionservice.codeplex.com/releases"&gt;
http://sessionservice.codeplex.com/releases&lt;/a&gt;.&lt;/p&gt;
&lt;h1&gt;Install the setup by following the wizard&lt;/h1&gt;
&lt;p&gt;Double click on the setup.exe file and follow the wizard:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164485"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164486" border="0" alt="image" width="389" height="318" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164487"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164488" border="0" alt="image" width="391" height="319" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164489"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164490" border="0" alt="image" width="393" height="322" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164492"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164493" border="0" alt="image" width="393" height="322" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164494"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=164495" border="0" alt="image" width="399" height="327" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border-width:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h1&gt;Change the connection string&lt;/h1&gt;
&lt;h2&gt;For ASP configure the ADO connection string&lt;/h2&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\AspSessionServiceConfig.xml file and edit you connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;1.0&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;
&lt;br&gt;
&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Provider=SQLOLEDB.1;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;By default for performance reason we choose to use the tempdb database as it is a memory database.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#333333"&gt;The database schema will be created by the Session Service automatically so the database user should have the right to execute &amp;ldquo;CREATE TABLE&amp;rdquo; statements.&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;&lt;span style="color:#333333"&gt;For ASP.NET configure the ADO.NET connection string&lt;/span&gt;&lt;/h2&gt;
&lt;p&gt;In the installation folder (C:\Program Files\Homelidays\Session Service), edit the AspSessionServiceConfigAdo.Net.xml and configure your connection string.&lt;/p&gt;
&lt;p&gt;The file should looks like:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#0000ff"&gt;&amp;lt;?&lt;/span&gt;&lt;span style="color:#c0504d"&gt;xml&lt;/span&gt;
&lt;span style="color:#ff0000"&gt;version&lt;/span&gt;&lt;span style="color:#0000ff"&gt;=&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;1.0&lt;/span&gt;&amp;quot;&lt;span style="color:#0000ff"&gt;?&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;Data Source=.\;Initial Catalog=tempdb;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;ConnectionString&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;sa&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Login&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;123456&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Password&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partition&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;
&lt;br&gt;
&amp;nbsp;&lt;span style="color:#0000ff"&gt;&amp;lt;/&lt;/span&gt;&lt;span style="color:#c0504d"&gt;Partitions&lt;/span&gt;&lt;span style="color:#0000ff"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Install the SQL job that clears expired session&lt;/h1&gt;
&lt;p&gt;A SQL job should be install to clear expired session every minute.&lt;/p&gt;
&lt;p&gt;Open the C:\Program Files\Homelidays\Session Service\01 Job.sql file and set:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;The job owner name (@owner_login_name); &lt;/li&gt;&lt;li&gt;The database name (@database_name). &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Run the script to install the job.&lt;/p&gt;
&lt;p&gt;Make sure the Sql Agent is started (and ensure he is configured to automatically start at boot time ;-).&lt;/p&gt;
&lt;h2&gt;IISReset&lt;/h2&gt;
&lt;p&gt;You may need to perform an IISReset before using the Homelidays Session Service.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the session service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the session service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 22 Aug 2011 22:11:40 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Install the Homelidays Session Service 20110822101140P</guid></item><item><title>Updated Wiki: Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems</title><link>http://sessionservice.codeplex.com/wikipage?title=Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems&amp;version=3</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This problem is referenced at Microsoft:&lt;br&gt;
KB2517589: &lt;a href="http://support.microsoft.com/kb/2517589"&gt;http://support.microsoft.com/kb/2517589&lt;/a&gt;)
&lt;/li&gt;&lt;li&gt;Connect ticket: &lt;a href="http://connect.microsoft.com/VisualStudio/feedback/details/646313/ado-programs-no-longer-work-on-customer-computers-after-recompiled-on-a-windows-7-sp1-machine#tabs"&gt;
http://connect.microsoft.com/VisualStudio/feedback/details/646313/ado-programs-no-longer-work-on-customer-computers-after-recompiled-on-a-windows-7-sp1-machine#tabs&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;The problem appear becasue Windows 7/2008 sp1 inlcudes KB983246: &lt;a href="http://support.microsoft.com/kb/983246"&gt;
http://support.microsoft.com/kb/983246&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;Compile Session service on pre Windows 7 sp1 computer to deploy it on down-level operating.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 22 Aug 2011 22:03:01 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems 20110822100301P</guid></item><item><title>Updated Wiki: Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems</title><link>http://sessionservice.codeplex.com/wikipage?title=Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems&amp;version=2</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;This problem is referenced at Microsoft:&lt;br&gt;
KB2517589: &lt;a href="http://support.microsoft.com/kb/2517589"&gt;http://support.microsoft.com/kb/2517589&lt;/a&gt;)
&lt;/li&gt;&lt;li&gt;Connect ticket: &lt;a href="http://connect.microsoft.com/VisualStudio/feedback/details/646313/ado-programs-no-longer-work-on-customer-computers-after-recompiled-on-a-windows-7-sp1-machine#tabs"&gt;
http://connect.microsoft.com/VisualStudio/feedback/details/646313/ado-programs-no-longer-work-on-customer-computers-after-recompiled-on-a-windows-7-sp1-machine#tabs&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;The problem appear becasue Windows 7/2008 sp1 inlcudes KB983246: &lt;a href="http://support.microsoft.com/kb/983246"&gt;
http://support.microsoft.com/kb/983246&lt;/a&gt; &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;Compile Session service on pre Windows 7 sp1 computer to deploy it on down-level operating.&lt;/p&gt;
&lt;p&gt;As I don't have a pre Windows 7 sp1 I can release Homelidays Session Service for:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Windows XP x64 &lt;/li&gt;&lt;li&gt;Windows 2003 x64 &lt;/li&gt;&lt;li&gt;Windows Vista x64 &lt;/li&gt;&lt;li&gt;Windows 2008 x64 &lt;/li&gt;&lt;li&gt;Windws 7 pre service pack 1 &lt;/li&gt;&lt;li&gt;Windows 2008 R2 pre service pack 1 &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Tue, 03 May 2011 09:32:33 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems 20110503093233A</guid></item><item><title>Updated Wiki: Documentation</title><link>http://sessionservice.codeplex.com/documentation?version=16</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;So you want to use the Homelidays Session Service&lt;/h1&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=How%20does%20it%20works%3f"&gt;How does the Homelidays Session Service work?&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Install%20the%20Homelidays%20Session%20Service"&gt;Install the Homelidays Session Service&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20classic%20ASP%20code"&gt;Use the Session Service in classic ASP code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Use%20the%20session%20service%20in%20ASP.NET%20code"&gt;Use the Session Service in ASP.NET code&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;So you want to hack the Homelidays Session Service&lt;/h1&gt;
&lt;p&gt;&lt;a title="Install your development environment" href="http://sessionservice.codeplex.com/wikipage?title=Install%20your%20development%20environment"&gt;Install your development environment&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a title="Compile the source code" href="http://sessionservice.codeplex.com/wikipage?title=Compile%20the%20source%20code"&gt;Compile the source code&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Tests%20of%20the%20Homelidays%20Session%20Service"&gt;Test Homelidays Session Service (non regression tests)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sessionservice.codeplex.com/wikipage?title=Session%20Service%20compiled%20on%20Windows%207%20SP1%20or%20Windows%202008%20R2%20sp1%20does%20not%20work%20on%20down-level%20operating%20systems"&gt;Session Service compiled on Windows 7 SP1 or Windows
 2008 R2 sp1 does not work on down-level operating systems&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 02 May 2011 16:32:00 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Documentation 20110502043200P</guid></item><item><title>Updated Wiki: Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems</title><link>http://sessionservice.codeplex.com/wikipage?title=Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems&amp;version=1</link><description>&lt;div class="wikidoc"&gt;
&lt;p&gt;Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems.&lt;/p&gt;
&lt;p&gt;This problem is referenced at Microsoft:&lt;br&gt;
*KB2517589: &lt;a href="http://support.microsoft.com/kb/2517589"&gt;http://support.microsoft.com/kb/2517589&lt;/a&gt;)&lt;br&gt;
*Connect ticket: &lt;a href="http://connect.microsoft.com/VisualStudio/feedback/details/646313/ado-programs-no-longer-work-on-customer-computers-after-recompiled-on-a-windows-7-sp1-machine#tabs"&gt;
http://connect.microsoft.com/VisualStudio/feedback/details/646313/ado-programs-no-longer-work-on-customer-computers-after-recompiled-on-a-windows-7-sp1-machine#tabs&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Solution:&lt;/p&gt;
&lt;p&gt;Compile Session service on pre windows 7 sp1 computer to deploy it on down-level operating.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 02 May 2011 16:21:16 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Session Service compiled on Windows 7 SP1 or Windows 2008 R2 sp1 does not work on down-level operating systems 20110502042116P</guid></item><item><title>Updated Wiki: Tests of the Homelidays Session Service</title><link>http://sessionservice.codeplex.com/wikipage?title=Tests of the Homelidays Session Service&amp;version=5</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Set up the test environment&lt;/h1&gt;
&lt;h2&gt;SQL Server Trace&lt;/h2&gt;
&lt;p&gt;The SQL Server Trace is used to make sure that the right requests are sent to the database at the right moment.&lt;/p&gt;
&lt;p&gt;To set up a trace, start the profiler by clicking : Start Menu &amp;ndash;&amp;gt; Microsoft SQL Server 2008 &amp;ndash;&amp;gt; Performance Tools &amp;ndash;&amp;gt; SQL Server Profiler&lt;/p&gt;
&lt;p&gt;Start a new trace: File &amp;ndash;&amp;gt; New Trace&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174199"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174200" border="0" alt="image" width="361" height="273" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig1.&lt;/strong&gt; SQL Server connection&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Events Selection&amp;rdquo; tab. Tick Trace RPC:Completed and SQL:BatchCompleted events and tick &amp;ldquo;Show all columns&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174201"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174202" border="0" alt="image" width="579" height="371" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig2.&lt;/strong&gt; Events Selection in Microsoft SQL Profiler&lt;/p&gt;
&lt;p&gt;Click on the &amp;ldquo;Column Filter&amp;rdquo; button. Add a filter to trace only the tempdb database by adding a filter&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174212"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174213" border="0" alt="image" width="312" height="247" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig3.&lt;/strong&gt; Add the &amp;ldquo;DatabaseName&amp;rdquo; filter&lt;/p&gt;
&lt;h2&gt;A Web browser&lt;/h2&gt;
&lt;p&gt;Internet Explorer or Firefox can be both used to do the tests.&lt;/p&gt;
&lt;h2&gt;Run Fiddler 2.3.1.0&lt;/h2&gt;
&lt;p&gt;Fiddler is an HTTP network profiler. We will use Fiddler to make sure that the session cookie is correctly set.&lt;/p&gt;
&lt;p&gt;You can run Fiddler from Firefox: Tools &amp;ndash;&amp;gt; &amp;ldquo;Monitor with Fiddler&amp;rdquo; &amp;ndash;&amp;gt; &amp;ldquo;Launch Fiddler Now&amp;rdquo;. Make sure that traffic is sent to Fiddler in the bottom right of Firefox window)&lt;/p&gt;
&lt;p&gt;You can also run Fiddler form Internet Explorer: Alt &amp;#43; Click on Tools &amp;ndash;&amp;gt; &amp;ldquo;Fiddler 2&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174214"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174215" border="0" alt="image" width="811" height="445" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Fig4.&lt;/span&gt; &lt;span&gt;Fiddler an HTTP Debugging proxy&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Unit tests&lt;/h1&gt;
&lt;p&gt;The .Net assembly has unit tests written with MBunit 2.4. All tests should pass.&lt;/p&gt;
&lt;p&gt;In order to run unit test:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Compile Homelidays.Web.SessionService.Tests project of SessionService.sln in Release mode.&lt;/p&gt;
&lt;/li&gt;&lt;li&gt;Launch the SessionService.mbunit project and click &amp;ldquo;Run&amp;rdquo; &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174216"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174217" border="0" alt="image" width="761" height="419" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig5.&lt;/strong&gt; MBunit.GUI passing all Homelidays Session Service tests.&lt;/p&gt;
&lt;h1&gt;Single threaded test&lt;/h1&gt;
&lt;table border="0" cellspacing="0" cellpadding="2" width="1337"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;&lt;strong&gt;Actions &lt;br&gt;
(Do not wait more than 1 minute between two actions)&lt;/strong&gt;&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&lt;strong&gt;Expected on the Browser&lt;/strong&gt;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&lt;strong&gt;Expected on the SQL Trace &lt;br&gt;
(Tags of Requests that should be seen)&lt;/strong&gt;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&lt;strong&gt;Expected on the HTTP protocol (Fiddler)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Restart the SQL Server database in order to destroy the tempdb database&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;iisreset&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Clear cookies&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;CREATE TABLE [dbo].[Session] &lt;br&gt;
/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/&amp;nbsp; &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Response : Set-Cookie: Yacht=SessionId=&amp;lt;a guid wihout dashes&amp;gt;; path=/&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Restart the SQL Server database in order to destroy the tempdb database&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;An error should happen : error '80004005'&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
CREATE TABLE [dbo].[Session] &lt;br&gt;
/*20100722-190016-YFA*/&amp;nbsp; &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/&amp;nbsp; &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Clear cookies&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Response : Set-Cookie: Yacht=SessionId=&amp;lt;a guid wihout dashes&amp;gt;; path=/&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.aspx&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
17 lines&lt;/td&gt;
&lt;td width="322" valign="top"&gt;CREATE TABLE [dbo].[Session]&lt;br&gt;
/*6123A967-9D20-41a6-BED0-64A82D69D783*/ &lt;br&gt;
/*4080907D-4E44-41e6-A036-4B7CB41146D5*/ &lt;br&gt;
/*CC70CCEA-9D49-49b9-B207-EFBBA29F093D*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.aspx a second time&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
18 lines &lt;br&gt;
A new line should appear with dotnetdecimal&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*6123A967-9D20-41a6-BED0-64A82D69D783*/ &lt;br&gt;
/*4080907D-4E44-41e6-A036-4B7CB41146D5*/ &lt;br&gt;
/*CC70CCEA-9D49-49b9-B207-EFBBA29F093D*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth &lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestMultiDimTable.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestNoSessionAccess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20101123-194816-YFA*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestNoSessionAccess.aspx&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*07614B4A-4224-492e-88DE-656DB7F876F3*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestReadSess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
You should see the content of the session&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestRemoveAll.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestReadSess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
Session should be empty&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestScriptingDictionary.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestSessionAbandon.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190014-YFA*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestReadSess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
Session should be empty&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;SessionService/TestScriptingDictionary.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestSessionAbandon.aspx&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*4080907D-4E44-41e6-A036-4B7CB41146D5*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Multithreaded test&lt;/h1&gt;
&lt;p&gt;&amp;ldquo;On Internet Information Services (IIS) Manager&amp;rdquo; make sure that your test site has &amp;ldquo;server side debug&amp;rdquo; disabled.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174218"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174219" border="0" alt="image" width="714" height="395" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig6. For multithreaded tests server side debugging should be disabled&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;TestConsoleApplication&lt;/h2&gt;
&lt;p&gt;TestConsoleApplication is a C&amp;#43;&amp;#43; testing application console that test the session service layers of the COM component (Classic ASP) in a multithreaded environment. Each layer is tested in one or many test functions.&lt;/p&gt;
&lt;p&gt;The _tmain function is the entry point of the application. To enable a test function comment/uncomment the desired test. Each test will run indefinitely so you will have to kill the TestConsoleApplication.exe process to stop it.&lt;/p&gt;
&lt;p&gt;For non regression testing, each test should be launched in &lt;strong&gt;Release&lt;/strong&gt; mode during a few minutes (let&amp;rsquo;s say 5 minutes). No crashes should occurs and the memory (&amp;ldquo;Working Set&amp;rdquo; in the Windows Task Manager) should not grow indefinitely.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;LoggerTest: Testing of logging function. This test write a dummy log file on the hard drive. (5 minutes of test will generate a 1.5 Gbytes of dummy log in C:\Projects\SessionService\Dev\TestConsoleApplication).
&lt;/li&gt;&lt;li&gt;SerializerTest: Testing of the serialization. &lt;/li&gt;&lt;li&gt;DeserializerTest: Testing of the deserialization. &lt;/li&gt;&lt;li&gt;DeserializerSerialiserTest: Test that deserialization followed by a serialization produce the same result as what was initially provided to the deserialization layer.
&lt;/li&gt;&lt;li&gt;PartitionResolverTest: Testing of the partition resolver layer. &lt;/li&gt;&lt;li&gt;SessionPersistenceTest: Testing of the persistence layer that test the data access layer (ADO).
&lt;/li&gt;&lt;/ol&gt;
&lt;h2&gt;LoadTester&lt;/h2&gt;
&lt;p&gt;LoadTester is a C# testing application that act as a web browser. It will run many threads that will call test pages from
&lt;a href="http://sessionservice.my.homelidays.com"&gt;http://sessionservice.my.homelidays.com&lt;/a&gt;. Each test runs indefinitely so you will have to kill the LoadTester.exe process to stop it.&lt;/p&gt;
&lt;p&gt;For non regression testing each test should be ran in &lt;strong&gt;Release &lt;/strong&gt;
during a few minutes (5 minutes). No crashes should occurs and the memory of the w3wp.exe that host sessionservice.my.homelidays.com should not grow indefinitely.&lt;/p&gt;
&lt;p&gt;To choose the desired test change the test_type variable in the main function in Program.cs:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt; test_type = &lt;span style="color:#4bacc6"&gt;
TestType&lt;/span&gt;.ScriptingDictionary&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt;.ScriptingDictionary: Testing of /SessionService/TestScriptingDictionary.asp in a multithreaded environment.
&lt;/li&gt;&lt;li&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt;.ValueType: Testing of the /SessionService/Test.asp and /SessionService/TestNoSessionAccess.asp in a multithreaded environment.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt;.ValueTypeAndIisSession do not test the Homelidays session service and has been developed for dev purpose at a very early stage of the project. You do not need to run it.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 02 May 2011 11:08:23 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Tests of the Homelidays Session Service 20110502110823A</guid></item><item><title>Updated Wiki: Tests of the Homelidays Session Service</title><link>http://sessionservice.codeplex.com/wikipage?title=Tests of the Homelidays Session Service&amp;version=4</link><description>&lt;div class="wikidoc"&gt;
&lt;h1&gt;Set up the test environment&lt;/h1&gt;
&lt;h2&gt;SQL Server Trace&lt;/h2&gt;
&lt;p&gt;The SQL Server Trace is used to make sure that the right requests are sent to the database at the right moment.&lt;/p&gt;
&lt;p&gt;To set up a trace, start the profiler by clicking : Start Menu &amp;ndash;&amp;gt; Microsoft SQL Server 2008 &amp;ndash;&amp;gt; Performance Tools &amp;ndash;&amp;gt; SQL Server Profiler&lt;/p&gt;
&lt;p&gt;Start a new trace: File &amp;ndash;&amp;gt; New Trace&amp;hellip;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174199"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174200" border="0" alt="image" width="361" height="273" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig1.&lt;/strong&gt; SQL Server connection&lt;/p&gt;
&lt;p&gt;Click the &amp;ldquo;Events Selection&amp;rdquo; tab. Tick Trace RPC:Completed and SQL:BatchCompleted events and tick &amp;ldquo;Show all columns&amp;rdquo;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174201"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174202" border="0" alt="image" width="579" height="371" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig2.&lt;/strong&gt; Events Selection in Microsoft SQL Profiler&lt;/p&gt;
&lt;p&gt;Click on the &amp;ldquo;Column Filter&amp;rdquo; button. Add a filter to trace only the tempdb database by adding a filter&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174212"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174213" border="0" alt="image" width="312" height="247" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig3.&lt;/strong&gt; Add the &amp;ldquo;DatabaseName&amp;rdquo; filter&lt;/p&gt;
&lt;h2&gt;A Web browser&lt;/h2&gt;
&lt;p&gt;Internet Explorer or Firefox can be both used to do the tests.&lt;/p&gt;
&lt;h2&gt;Run Fiddler 2.3.1.0&lt;/h2&gt;
&lt;p&gt;Fiddler is an HTTP network profiler. We will use Fiddler to make sure that the session cookie is correctly set.&lt;/p&gt;
&lt;p&gt;You can run Fiddler from Firefox: Tools &amp;ndash;&amp;gt; &amp;ldquo;Monitor with Fiddler&amp;rdquo; &amp;ndash;&amp;gt; &amp;ldquo;Launch Fiddler Now&amp;rdquo;. Make sure that traffic is sent to Fiddler in the bottom right of Firefox window)&lt;/p&gt;
&lt;p&gt;You can also run Fiddler form Internet Explorer: Alt &amp;#43; Click on Tools &amp;ndash;&amp;gt; &amp;ldquo;Fiddler 2&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174214"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174215" border="0" alt="image" width="811" height="445" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Fig4.&lt;/span&gt; &lt;span&gt;Fiddler an HTTP Debugging proxy&lt;/span&gt;&lt;/p&gt;
&lt;h1&gt;Unit tests&lt;/h1&gt;
&lt;p&gt;The .Net assembly has unit tests written with MBunit 2.4. All tests should pass.&lt;/p&gt;
&lt;p&gt;In order to run unit test:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Compile Homelidays.Web.SessionService.Tests project of SessionService.sln in Release mode.&lt;/p&gt;
&lt;/li&gt;&lt;li&gt;Launch the SessionService.mbunit project and click &amp;ldquo;Run&amp;rdquo; &lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174216"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174217" border="0" alt="image" width="761" height="419" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig5.&lt;/strong&gt; MBunit.GUI passing all Homelidays Session Service tests.&lt;/p&gt;
&lt;h1&gt;Single threaded test&lt;/h1&gt;
&lt;table border="0" cellspacing="0" cellpadding="2" width="1337"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;&lt;strong&gt;Actions &lt;br&gt;
(Do not wait more than 1 minute between two actions)&lt;/strong&gt;&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&lt;strong&gt;Expected on the Browser&lt;/strong&gt;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&lt;strong&gt;Expected on the SQL Trace &lt;br&gt;
(Tags of Requests that should be seen)&lt;/strong&gt;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&lt;strong&gt;Expected on the HTTP protocol (Fiddler)&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Restart the SQL Server database in order to destroy the tempdb database&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;iisreset&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Clear cookies&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;CREATE TABLE [dbo].[Session] &lt;br&gt;
/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/&amp;nbsp; &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Response : Set-Cookie: Yacht=SessionId=&amp;lt;a guid wihout dashes&amp;gt;; path=/&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="194" valign="top"&gt;Restart the SQL Server database in order to destroy the tempdb database&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;An error should happen : error '80004005'&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
CREATE TABLE [dbo].[Session] &lt;br&gt;
/*20100722-190016-YFA*/&amp;nbsp; &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/&amp;nbsp; &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Clear cookies&lt;/td&gt;
&lt;td width="317" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="322" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;td width="502" valign="top"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Response : Set-Cookie: Yacht=SessionId=&amp;lt;a guid wihout dashes&amp;gt;; path=/&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.aspx&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
17 lines&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*6123A967-9D20-41a6-BED0-64A82D69D783*/ &lt;br&gt;
/*4080907D-4E44-41e6-A036-4B7CB41146D5*/ &lt;br&gt;
/*CC70CCEA-9D49-49b9-B207-EFBBA29F093D*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/Test.aspx a second time&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
18 lines &lt;br&gt;
A new line should appear with dotnetdecimal&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*6123A967-9D20-41a6-BED0-64A82D69D783*/ &lt;br&gt;
/*4080907D-4E44-41e6-A036-4B7CB41146D5*/ &lt;br&gt;
/*CC70CCEA-9D49-49b9-B207-EFBBA29F093D*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth &lt;br&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestMultiDimTable.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestNoSessionAccess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20101123-194816-YFA*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestNoSessionAccess.aspx&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*07614B4A-4224-492e-88DE-656DB7F876F3*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestReadSess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
You should see the content of the session&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;Call /SessionService/TestRemoveAll.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestReadSess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
Session should be empty&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestScriptingDictionary.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestSessionAbandon.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190014-YFA*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestReadSess.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur &lt;br&gt;
Session should be empty&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;SessionService/TestScriptingDictionary.asp&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*20100722-190015-YFA*/ &lt;br&gt;
/*20100722-190016-YFA*/ &amp;#43; Insert&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td width="196" valign="top"&gt;/SessionService/TestSessionAbandon.aspx&lt;/td&gt;
&lt;td width="317" valign="top"&gt;No error should occur&lt;/td&gt;
&lt;td width="322" valign="top"&gt;/*4080907D-4E44-41e6-A036-4B7CB41146D5*/&lt;/td&gt;
&lt;td width="502" valign="top"&gt;Request : Yacht cookie should be there with the session Id as above
&lt;br&gt;
Response : nothing about Yacth&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h1&gt;Multithreaded test&lt;/h1&gt;
&lt;p&gt;&amp;ldquo;On Internet Information Services (IIS) Manager&amp;rdquo; make sure that your test site has &amp;ldquo;server side debug&amp;rdquo; disabled.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174218"&gt;&lt;img title="image" src="http://download.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=sessionservice&amp;DownloadId=174219" border="0" alt="image" width="714" height="395" style="padding-left:0px; padding-right:0px; display:inline; padding-top:0px; border:0px"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Fig6. For multithreaded tests server side debugging should be disabled&lt;/strong&gt;&lt;/p&gt;
&lt;h2&gt;TestConsoleApplication&lt;/h2&gt;
&lt;p&gt;TestConsoleApplication is a C&amp;#43;&amp;#43; testing application console that test the session service layers of the COM component (Classic ASP) in a multithreaded environment. Each layer is tested in one or many test functions.&lt;/p&gt;
&lt;p&gt;The _tmain function is the entry point of the application. To enable a test function comment/uncomment the desired test. Each test will run indefinitely so you will have to kill the TestConsoleApplication.exe process to stop it.&lt;/p&gt;
&lt;p&gt;For non regression testing, each test should be launched in &lt;strong&gt;Release&lt;/strong&gt; mode during a few minutes (let&amp;rsquo;s say 5 minutes). No crashes should occurs and the memory (&amp;ldquo;Working Set&amp;rdquo; in the Windows Task Manager) should not grow indefinitely.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;LoggerTest: Testing of logging function. This test write a dummy log file on the hard drive. (5 minutes of test will generate a 1.5 Gbytes of dummy log in C:\Projects\SessionService\Dev\TestConsoleApplication).
&lt;/li&gt;&lt;li&gt;SerializerTest: Testing of the serialization. &lt;/li&gt;&lt;li&gt;DeserializerTest: Testing of the deserialization. &lt;/li&gt;&lt;li&gt;DeserializerSerialiserTest: Test that deserialization followed by a serialization produce the same result as what was initially provided to the deserialization layer.
&lt;/li&gt;&lt;li&gt;PartitionResolverTest: Testing of the partition resolver layer. &lt;/li&gt;&lt;li&gt;SessionPersistenceTest: Testing of the persistence layer that test the data access layer (ADO).
&lt;/li&gt;&lt;/ol&gt;
&lt;h2&gt;LoadTester&lt;/h2&gt;
&lt;p&gt;LoadTester is a C# testing application that act as a web browser. It will run many threads that will call test pages from
&lt;a href="http://sessionservice.my.homelidays.com"&gt;http://sessionservice.my.homelidays.com&lt;/a&gt;. Each test runs indefinitely so you will have to kill the LoadTester.exe process to stop it.&lt;/p&gt;
&lt;p&gt;For non regression testing each test should be ran in &lt;strong&gt;Release &lt;/strong&gt;
during a few minutes (5 minutes). No crashes should occurs and the memory of the w3wp.exe that host sessionservice.my.homelidays.com should not grow indefinitely.&lt;/p&gt;
&lt;p&gt;To choose the desired test change the test_type variable in the main function in Program.cs:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt; test_type = &lt;span style="color:#4bacc6"&gt;
TestType&lt;/span&gt;.ScriptingDictionary&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt;.ScriptingDictionary: Testing of /SessionService/TestScriptingDictionary.asp in a multithreaded environment.
&lt;/li&gt;&lt;li&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt;.ValueType: Testing of the /SessionService/Test.asp and /SessionService/TestNoSessionAccess.asp in a multithreaded environment.
&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;span style="color:#4bacc6"&gt;TestType&lt;/span&gt;.ValueTypeAndIisSession do not test the Homelidays session service and has been developed for dev purpose at a very early stage of the project. You do not need to run it.&lt;/p&gt;
&lt;/div&gt;&lt;div class="ClearBoth"&gt;&lt;/div&gt;</description><author>Yanal</author><pubDate>Mon, 02 May 2011 10:13:52 GMT</pubDate><guid isPermaLink="false">Updated Wiki: Tests of the Homelidays Session Service 20110502101352A</guid></item></channel></rss>