<?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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>threehv &#187; host name</title>
	<atom:link href="http://www.3hv.co.uk/blog/tag/host-name/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.3hv.co.uk/blog</link>
	<description>precision engineering for your website</description>
	<lastBuildDate>Fri, 13 Jan 2012 16:18:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Bug of the day: cookie not being saved?  Check your host-name.</title>
		<link>http://www.3hv.co.uk/blog/2009/04/27/bug-of-the-day-cookie-not-being-saved-check-your-host-name/</link>
		<comments>http://www.3hv.co.uk/blog/2009/04/27/bug-of-the-day-cookie-not-being-saved-check-your-host-name/#comments</comments>
		<pubDate>Mon, 27 Apr 2009 14:55:05 +0000</pubDate>
		<dc:creator>Rahoul Baruah</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Ruby on Rails and Software Development]]></category>
		<category><![CDATA[Writing Reliable, Bug-Free Code]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[cookies]]></category>
		<category><![CDATA[domain name]]></category>
		<category><![CDATA[host name]]></category>

		<guid isPermaLink="false">http://www.3hv.co.uk/blog/?p=476</guid>
		<description><![CDATA[Lesson learnt today. Apparently, underscores are not part of the standard for a host name. However, your browser (and DNS server and all the links in between) will accept underscores in the host name. But, when you have Safari set to &#8220;only accept cookies for sites that I visit&#8221; the underscore in the cookie&#8217;s host [...]]]></description>
			<content:encoded><![CDATA[<p>Lesson learnt today.  </p>
<p>Apparently, underscores are not part of the standard for a host name.  However, your browser (and DNS server and all the links in between) will accept underscores in the host name.  </p>
<p>But, when you have Safari set to &#8220;only accept cookies for sites that I visit&#8221; the underscore in the cookie&#8217;s host will cause Safari to silently discard the cookie.  Leaving you with a strange log-in bug that seems to defy explanation.  </p>
<p>The solutions &#8211; make your host name compliant with the <a href="http://tools.ietf.org/html/rfc1035">standard</a>.  And until you can do that, switch Safari to &#8220;accept all cookies&#8221;.   </p>
]]></content:encoded>
			<wfw:commentRss>http://www.3hv.co.uk/blog/2009/04/27/bug-of-the-day-cookie-not-being-saved-check-your-host-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.181 seconds -->

