<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Blog Sovalid</title>
	<atom:link href="http://www.sovalid.com/blog/index.php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sovalid.com/blog</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Thu, 19 Nov 2009 01:46:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Zune 30GB Frozen Z2K9 Fix</title>
		<link>http://www.sovalid.com/blog/index.php/2009/11/zune-30gb-frozen-z2k9-fix/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/11/zune-30gb-frozen-z2k9-fix/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 01:46:01 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[30GB]]></category>

		<category><![CDATA[Z2K9]]></category>

		<category><![CDATA[Zune]]></category>

		<category><![CDATA[Zune Frozen]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=175</guid>
		<description><![CDATA[I actually saw how many people's Zune 30GB froze aka Z2K9 including my manager's, so I offered to fix it.]]></description>
			<content:encoded><![CDATA[<p>I actually saw how many people&#8217;s Zune 30GB froze aka Z2K9 including my manager&#8217;s, so I offered to fix it. Basically I found out that taking the Zune apart is not the answer it actually still boots up and freezes on the Zune load page. The proper way to fix the problem is;</p>
<p>1) Drain the battery completely.<br />
2) Next re-charge the Zune when the Zune is about to load quickly press the LEFT ARROW, LEFT MIDDLE, and CENTER buttons all at the same time.<br />
3) This will then prompt you to clear the contents of your Zune.<br />
4) Let this screen stay like this for about 6hrs, then let the battery drain again.<br />
5) Once drained re-charge the battery and it should be good to go.</p>
<p>Check out my Video it has both options first is disassembly if that does not work then the second option is the step by step that is above and shown in the video. Hope this helps out any of you with a dead Zune. </p>
<p></p>
<div align="center">
<object width="380" height="195"><param name="movie" value="http://www.youtube.com/v/GtL-yZKTETw&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GtL-yZKTETw&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="380" height="195"></embed></object>
</div>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/11/zune-30gb-frozen-z2k9-fix/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Microsoft Courier</title>
		<link>http://www.sovalid.com/blog/index.php/2009/09/microsoft-courier/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/09/microsoft-courier/#comments</comments>
		<pubDate>Tue, 29 Sep 2009 22:53:59 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Courier]]></category>

		<category><![CDATA[Microsoft]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=170</guid>
		<description><![CDATA[So I recently saw the article posted on Gizmodo about the new Microsoft Courier, and I have to say I am really impressed and disappointed.]]></description>
			<content:encoded><![CDATA[<p>So I recently saw the article posted on <a href="http://gizmodo.com/" style="color:blue;" target="_blank">Gizmodo</a> about the new Microsoft Courier, and I have to say I am really impressed and disappointed. I was saying impressed because of the simplicity and the amount of functionality that is available with the Courier. I was disappointed in the fact that Apple has been discussing a tablet laptop for a few months now and nothing has been made into a concept. I guess the hype alone might be good enough for some people but for people like me I actually need to see a working concept or even a simulation of a prototype.  If you haven&#8217;t seen the video please check it out below. </p>
<p align="center"><object width="400" height="215"><param name="movie" value="http://www.youtube.com/v/UmIgNfp-MdI&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/UmIgNfp-MdI&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="400" height="215"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/09/microsoft-courier/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Classic ASP to Excel</title>
		<link>http://www.sovalid.com/blog/index.php/2009/09/classic-asp-to-excel/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/09/classic-asp-to-excel/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 23:27:08 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Classic ASP]]></category>

		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=167</guid>
		<description><![CDATA[Have you ever wondered how to go from a Classic ASP page to Excel?]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how to go from a Classic ASP page to Excel? I have done this a lot usually someone in the office will ask, &#8220;Can I have the total profit of the month in a spreadsheet?&#8221; now you can handle this one of two ways go and copy all the data from the database one by one or you can extract the data and spit it out using ASP to Excel.</p>
<p>
&lt;%<br />
&#8216;The line below lets the browser know this is an Excel File<br />
Response.ContentType = &#8220;application/vnd.ms-excel&#8221;<br />
%&gt;<br />
&lt;table&gt;<br />
&lt;thead&gt;<br />
&lt;tr&gt;<br />
&lt;th style=&#8221;background-color:#CCCCCC;color:#FFFFFF;&#8221;&gt;First Name&lt;/font&gt;&lt;/th&gt;<br />
&lt;th style=&#8221;background-color:#CCCCCC;color:#FFFFFF;&#8221;&gt;Last Name&lt;/font&gt;&lt;/th&gt;<br />
&lt;/tr&gt;<br />
&lt;/thead&gt;<br />
&lt;tbody&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;John&lt;/td&gt;<br />
&lt;td&gt;Doe&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Steve&lt;/td&gt;<br />
&lt;td&gt;Smith&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;Frank&lt;/td&gt;<br />
&lt;td&gt;McCoy&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/tbody&gt;<br />
&lt;/table&gt;
</p>
<p>Basically take the code above and paste it into your editor and save it as an ASP file run it and see the results.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/09/classic-asp-to-excel/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email Via Classic ASP</title>
		<link>http://www.sovalid.com/blog/index.php/2009/09/email-via-classic-asp/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/09/email-via-classic-asp/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 00:07:00 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Classic ASP]]></category>

		<category><![CDATA[Emails Via ASP]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=158</guid>
		<description><![CDATA[I know it has been a while since I sat down and wrote a decent post so tonight I figured let me discuss sending emails Classic ASP style.]]></description>
			<content:encoded><![CDATA[<p>I know it has been a while since I sat down and wrote a decent post so tonight I figured let me discuss sending emails Classic ASP style. View the code below which will be explained in further detail:</p>
<p>&lt;%<br />
Dim strMailTo<br />
Dim strMailSubject<br />
Dim strMailBody<br />
Dim objCDOMail &#8216;The CDO object</p>
<p>strMailSubject = &#8220;Test Via ASP&#8221;</p>
<p>strMailTo = Request.Form(&#8221;sendemail&#8221;)</p>
<p>strMailBody = &#8220;Hello World,&#8221;<br />
strMailBody = strMailBody &amp; &#8220;This is my first email.&#8221;<br />
strMailBody = strMailBody &amp; &#8220;Sent via ASP!!!&#8221;</p>
<p>Set objCDOMail = Server.CreateObject(&#8221;CDO.Message&#8221;)</p>
<p>objCDOMail.From = &#8220;mail@yourdomain.com&#8221;<br />
objCDOMail.To = strMailTo<br />
&#8216;objCDOMail.Cc = &#8220;user@domain.com&#8221;<br />
&#8216;objCDOMail.Bcc = &#8220;user@domain.com&#8221;<br />
objCDOMail.Subject = strMailSubject<br />
objCDOMail.TextBody = strMailBody<br />
objCDOMail.Send()<br />
Set objCDOMail = Nothing<br />
%&gt;</p>
<p>Alright so the code above may looked complicated but it really isn&#8217;t. Basically the main part of this is the objCDOMail this is telling the server that you want to send a message via email. The variables dimed are just place holders for the objCDOMail parameters for example: strMailSubject is used to hold a string message for the subject line, objCDOMail.Subject.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/09/email-via-classic-asp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Digital Photo Frame Video</title>
		<link>http://www.sovalid.com/blog/index.php/2009/07/digital-photo-frame-video/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/07/digital-photo-frame-video/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 23:33:35 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Digital Photo Frame]]></category>

		<category><![CDATA[IBM Thinkpad A21m]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=154</guid>
		<description><![CDATA[Below is a video of the IBM Thinkpad A21m that I converted into a digital photo frame, at least now you can see it in action.

]]></description>
			<content:encoded><![CDATA[<p>Below is a video of the IBM Thinkpad A21m that I converted into a digital photo frame, at least now you can see it in action.</p>
<p><object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/r34D3A5pWaI&#038;hl=en&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/r34D3A5pWaI&#038;hl=en&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/07/digital-photo-frame-video/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Laptop Digital Photo Frame</title>
		<link>http://www.sovalid.com/blog/index.php/2009/06/my-laptop-digital-photo-frame/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/06/my-laptop-digital-photo-frame/#comments</comments>
		<pubDate>Sun, 21 Jun 2009 20:51:27 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<category><![CDATA[Digital Photo Frame]]></category>

		<category><![CDATA[Laptop Photo Frame]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=151</guid>
		<description><![CDATA[So I recently decided to try something that I have seen on the internet but with no real explanation as to how to accomplish this I figured let me try it out for myself. I got a laptop free of charge from my sister-in law she wasn’t using it any longer so I decided to convert it into a digital photo frame.]]></description>
			<content:encoded><![CDATA[<p>So I recently decided to try something that I have seen on the internet but with no real explanation as to how to accomplish this I figured let me try it out for myself. I got a laptop free of charge from my sister-in law she wasn&#8217;t using it any longer so I decided to convert it into a digital photo frame. I disassembled the IBM Thinkpad A21m, Intel Pentium 3 128mb of RAM really slow. All I basically needed was the motherboard, memory, hard drive, network adapter, and LCD screen. Once disassembled I purchased two mat boards and a custom shadow box frame. I then fastened the board to the mat using bolts from Home Depot along with the other necessary parts. On the second mat board I cut a hole for the LCD to be shown through about 14 inches. I then duct taped the screen to the mat board and placed it in the 15 inch custom frame. And placed the boarded mat on the top using spacers in between not to put pressure on the LCD screen. The only down side is that the power button is built on the keyboard so this had to stay on as well, see below for the final result, currently I am trying to trouble shoot a power issue I get to the windows login then it powers down I think it is a memory issue but I shall have to see.</p>
<p></p>
<p><img src="http://www.sovalid.com/images/blogimages/DSC02035.jpg" /></p>
<p><img src="http://www.sovalid.com/images/blogimages/DSC02039.jpg" /></p>
<p><img src="http://www.sovalid.com/images/blogimages/DSC02037.jpg" /></p>
<p><img src="http://www.sovalid.com/images/blogimages/DSC02041.jpg" /></p>
<p><img src="http://www.sovalid.com/images/blogimages/DSC02045.jpg" /></p>
<p><img src="http://www.sovalid.com/images/blogimages/DSC02046.jpg" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/06/my-laptop-digital-photo-frame/feed/</wfw:commentRss>
		</item>
		<item>
		<title>First Letter Upper Case in Classic ASP</title>
		<link>http://www.sovalid.com/blog/index.php/2009/06/first-letter-upper-case-in-classic-asp/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/06/first-letter-upper-case-in-classic-asp/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 22:43:22 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Classic ASP]]></category>

		<category><![CDATA[First Letter]]></category>

		<category><![CDATA[Upper Case]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=147</guid>
		<description><![CDATA[Today I want to illustrate a quick and easy way to change all first letters of words in a string to upper case using classic ASP.]]></description>
			<content:encoded><![CDATA[<p>Today I want to illustrate a quick and easy way to change all first letters of words in a string to upper case using classic ASP.</p>
<p>&lt;%<br />
Function ChagetoUpperCase(X)<br />
Dim lcstring<br />
Dim oldcase<br />
Dim NewArray<br />
Dim newString<br />
Dim IntegerI<br />
Dim I</p>
<p>lcstring = CStr(LCase(X))<br />
oldcase = &#8221; &#8221;<br />
NewArray = Split(lcstring,&#8221; &#8220;)<br />
For IntegerI = LBound(NewArray) To UBound(NewArray)<br />
For I = 1 To Len(NewArray(IntegerI))</p>
<p>If Len(NewArray(IntegerI)) = 1 Then</p>
<p>newString = newString &amp; UCase(NewArray(IntegerI)) &amp; &#8221; &#8221;</p>
<p>ElseIf I=1 Then</p>
<p>newString = newString &amp; UCase(Mid(NewArray(IntegerI), I, 1))</p>
<p>ElseIf I = Len(NewArray(IntegerI)) Then</p>
<p>newString = newString &amp; Mid(NewArray(IntegerI), I, 1) &amp; &#8221; &#8221;</p>
<p>Else</p>
<p>newString = newString &amp; Mid(NewArray(IntegerI), I, 1)</p>
<p>End If</p>
<p>Next<br />
Next<br />
ChagetoUpperCase = Trim(newString)<br />
End Function<br />
%&gt;</p>
<p>Then just call the function like this:</p>
<p>&lt;%<br />
Dim MyNewText<br />
MyNewText = &#8220;hello everyone&#8221;</p>
<p>Dim NewOutPut<br />
NewOutPut = ChagetoUpperCase(MyNewText)</p>
<p>Response.Write NewOutPut<br />
%&gt;</p>
<p>It should output this Hello Everyone. And that&#8217;s all there is to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/06/first-letter-upper-case-in-classic-asp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Image Size from JavaScript to Classic ASP</title>
		<link>http://www.sovalid.com/blog/index.php/2009/06/image-size-from-javascript-to-classic-asp/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/06/image-size-from-javascript-to-classic-asp/#comments</comments>
		<pubDate>Thu, 04 Jun 2009 23:32:09 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Classic ASP]]></category>

		<category><![CDATA[Image Size]]></category>

		<category><![CDATA[JavaScript]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=145</guid>
		<description><![CDATA[I have spent the past day or so looking, thinking, and writing the perfect code that will return the dimensions of an image using JavaScript and place them in a cookie so that I may use it on an ASP page.]]></description>
			<content:encoded><![CDATA[<p>I have spent the past day or so looking, thinking, and writing the perfect code that will return the dimensions of an image using JavaScript and place them in a cookie so that I may use it on an ASP page. Well after some research and thinking I came up with the following code.</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
//Reference http://www.sovalid.com/blog<br />
//Get and Assign Image<br />
function GetImageSize(){<br />
var img = new Image();<br />
img.src = &#8220;http://www.google.com/intl/en_ALL/images/logo.gif&#8221;;<br />
//Get Width and Height<br />
wth = img.width;<br />
hgt = img.height;</p>
<p>//Create the Two Cookies<br />
document.cookie = &#8220;ImageWidth&#8221; + &#8220;=&#8221; +escape(wth)<br />
document.cookie = &#8220;ImageHeight&#8221; + &#8220;=&#8221; +escape(hgt)</p>
<p>//Alert Width and Height as Test<br />
wh=wth+&#8221; &#8220;+hgt;<br />
alert(wh)<br />
}</p>
<p>//Call Function<br />
GetImageSize();<br />
&lt;/script&gt;</p>
<p>Reference my last post to see how to call the JavaScript cookie in Classic ASP. You can make the code as complex as you want this is just the basics, you can for example get the image from an ASP function instead of hard coding the image. You could also get the image from the page it self using document get element by id. Happy Coding.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/06/image-size-from-javascript-to-classic-asp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Pass JavaScript Cookie to Classic ASP</title>
		<link>http://www.sovalid.com/blog/index.php/2009/06/pass-javascript-cookie-to-classic-asp/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/06/pass-javascript-cookie-to-classic-asp/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 23:13:15 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Classic ASP]]></category>

		<category><![CDATA[Cookie]]></category>

		<category><![CDATA[Pass JavaScript]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=142</guid>
		<description><![CDATA[Keeping up with yesterdays post I figured I would illustrate how to create a JavaScript cookie and pass it to Classic ASP.]]></description>
			<content:encoded><![CDATA[<p>Keeping up with yesterdays post I figured I would illustrate how to create a JavaScript cookie and pass it to Classic ASP.</p>
<p>This part was taken from http://www.w3schools.com for those of you that need a course on JavaScript Cookies:</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
function getCookie(c_name)<br />
{<br />
if (document.cookie.length&gt;0)<br />
{<br />
c_start=document.cookie.indexOf(c_name + &#8220;=&#8221;);<br />
if (c_start!=-1)<br />
{<br />
c_start=c_start + c_name.length+1 ;<br />
c_end=document.cookie.indexOf(&#8221;;&#8221;,c_start);<br />
if (c_end==-1) c_end=document.cookie.length<br />
return unescape(document.cookie.substring(c_start,c_end));<br />
}<br />
}<br />
return &#8220;&#8221;<br />
}</p>
<p>function setCookie(c_name,value,expiredays)<br />
{<br />
var exdate=new Date();<br />
exdate.setDate(exdate.getDate()+expiredays);<br />
document.cookie=c_name+ &#8220;=&#8221; +escape(value)+((expiredays==null) ? &#8220;&#8221; : &#8220;; expires=&#8221;+exdate.toGMTString());<br />
}</p>
<p>function checkCookie()<br />
{<br />
username=getCookie(&#8217;username&#8217;);<br />
if (username!=null &amp;&amp; username!=&#8221;")<br />
{<br />
alert(&#8217;Welcome again &#8216;+username+&#8217;!');<br />
}<br />
else<br />
{<br />
username=prompt(&#8217;Please enter your name:&#8217;,&#8221;");<br />
if (username!=null &amp;&amp; username!=&#8221;")<br />
{<br />
setCookie(&#8217;username&#8217;,username,365);<br />
}<br />
}<br />
}<br />
&lt;/script&gt;</p>
<p>The real important part to take away from this is:</p>
<p>function setCookie(c_name,value,expiredays)<br />
{<br />
var exdate=new Date();<br />
exdate.setDate(exdate.getDate()+expiredays);<br />
document.cookie=c_name+ &#8220;=&#8221; +escape(value)+((expiredays==null) ? &#8220;&#8221; : &#8220;; expires=&#8221;+exdate.toGMTString());<br />
}</p>
<p>Now we can edit this to what we need like so:</p>
<p>var exdate=new Date();<br />
var CookieValue = &#8216;Hello World&#8217;</p>
<p>exdate.setDate(exdate.getDate()+1);<br />
document.cookie=&#8221;CookieName&#8221;+ &#8220;=&#8221; +escape(CookieValue)+((&#8217;==null) ? &#8220;&#8221; : &#8220;; expires=&#8221;+exdate.toGMTString());</p>
<p>To call this Cookie all you need to do is:</p>
<p>&lt;%<br />
Response.Write Request.Cookies(”CookieName”)<br />
%&gt;</p>
<p>That&#8217;s all there is to it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/06/pass-javascript-cookie-to-classic-asp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Classic ASP Cookies</title>
		<link>http://www.sovalid.com/blog/index.php/2009/06/classic-asp-cookies/</link>
		<comments>http://www.sovalid.com/blog/index.php/2009/06/classic-asp-cookies/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 22:50:50 +0000</pubDate>
		<dc:creator>Danny</dc:creator>
		
		<category><![CDATA[Tutorial]]></category>

		<category><![CDATA[Classic ASP Cookies]]></category>

		<guid isPermaLink="false">http://www.sovalid.com/blog/?p=140</guid>
		<description><![CDATA[Today I want to review the uses of classic ASP cookies and how to use them. Let us say that we want to save the last item a customer viewed for the next time they return. ]]></description>
			<content:encoded><![CDATA[<p>Today I want to review the uses of classic ASP cookies and how to use them. Let us say that we want to save the last item a customer viewed for the next time they return. This is accomplished really easily, let us take a look.</p>
<p>Create the cookie on different item pages:</p>
<p>&lt;%<br />
&#8216;On the item page at the bottom we want to create the cookie<br />
Response.Cookies(&#8221;ItemNumber&#8221;) = 123</p>
<p>&#8216;We want to keep the cookie for about 7 days<br />
Response.Cookies(&#8221;ItemNumber&#8221;).Expires = Date() + 7<br />
%&gt;</p>
<p>To call the Cookie all you have to do is:</p>
<p>&lt;%<br />
Dim LastItem<br />
LastItem = Request.Cookies(&#8221;ItemNumber&#8221;)<br />
Response.Write LastItem<br />
%&gt;</p>
<p>Now here is something that you might find very useful, what if you wanted to pass this cookie along to multiple sub-domains? To do this we need to make some changes to the beginning code.</p>
<p>&lt;%<br />
&#8216;On the item page at the bottom we want to create the cookie<br />
Response.Cookies(&#8221;ItemNumber&#8221;) = 123</p>
<p>&#8216;We want to keep the cookie for about 7 days<br />
Response.Cookies(&#8221;ItemNumber&#8221;).Expires = Date() + 7</p>
<p>&#8216;Pass to all sub-domains<br />
Response.Cookies(&#8221;ItemNumber &#8220;).Domain = &#8220;.myserver.com&#8221;<br />
%&gt;</p>
<p>And that&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sovalid.com/blog/index.php/2009/06/classic-asp-cookies/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
