<?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>WebPaws.com &#187; classic</title>
	<atom:link href="http://webpaws.com/blog/tag/classic/feed/" rel="self" type="application/rss+xml" />
	<link>http://webpaws.com/blog</link>
	<description>Internet Marketing and Design</description>
	<lastBuildDate>Tue, 15 Jun 2010 11:43:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Classic ASP header redirect (302 Object Moved)</title>
		<link>http://webpaws.com/blog/6/classic-asp-header-redirect-302-object-moved/</link>
		<comments>http://webpaws.com/blog/6/classic-asp-header-redirect-302-object-moved/#comments</comments>
		<pubDate>Tue, 19 Aug 2008 21:24:27 +0000</pubDate>
		<dc:creator>webpaws</dc:creator>
				<category><![CDATA[ASP]]></category>
		<category><![CDATA[302]]></category>
		<category><![CDATA[303]]></category>
		<category><![CDATA[classic]]></category>
		<category><![CDATA[redirect]]></category>

		<guid isPermaLink="false">http://webpaws.com/blog/?p=6</guid>
		<description><![CDATA[ASP makes it easy to redirect [...]<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://webpaws.com/blog/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br /><p><a href="http://webpaws.com/blog/6/classic-asp-header-redirect-302-object-moved/">Classic ASP header redirect (302 Object Moved)</a> is a post from: <a href="http://webpaws.com/blog">WebPaws.com</a></p>
]]></description>
			<content:encoded><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>ASP makes it easy to redirect a user to another page. This is a<br />
useful trick for redirecting users after form submissions, protecting<br />
content on your site by redirecting users to a login page, and pointing<br />
an old page address to a new one.</p>
<p><strong>Classic ASP header redirect (302 Object Moved)</strong></p>
<p>At the top of your ASP document (before any HTML code), use the following code:</p>
<p><code>&lt;% Response.Redirect("default.asp") %&gt;</code></p>
<p>This example shows how to redirect a user to a page on your own<br />
site, in the same directory as your redirect page. If you wanted to<br />
redirect a user to a completely different website, simply use the full<br />
URL:</p>
<p><code>&lt;% Response.Redirect("http://www.yourdomain.com") %&gt;</code></p>
<p>The Response.Redirect declarative gives an “Object Moved,” or Status<br />
Code 302 header response. If you want to permanently point an old page<br />
address to a new one using ASP, see below.</p>
<p><strong>Serving a permanent redirect (301) header status code</strong></p>
<p>There may be an instance where you want to point an old page to a<br />
new location. This can be accomplished in ASP by including specific<br />
header information in your code snippet. The following example serves a<br />
301 Redirect (“301 Moved Permanently”) to anyone who accesses the page.</p>
<p>&lt;%<br />
Response.Status=&#8221;301 Moved Permanently&#8221;<br />
Response.AddHeader &#8220;Location&#8221;, &#8220;http://www.thenewdomain.com&#8221;<br />
%&gt;</p>
<br /><a target="_blank" href="http://www.gdstarrating.com/"><img src="http://webpaws.com/blog/wp-content/plugins/gd-star-rating/gfx/powered.png" border="0" width="80" height="15" /></a><br /><p><a href="http://webpaws.com/blog/6/classic-asp-header-redirect-302-object-moved/">Classic ASP header redirect (302 Object Moved)</a> is a post from: <a href="http://webpaws.com/blog">WebPaws.com</a></p>
<div style="clear:both;">&nbsp;</div>]]></content:encoded>
			<wfw:commentRss>http://webpaws.com/blog/6/classic-asp-header-redirect-302-object-moved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
