<?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>Fredrik Haglund's blog &#187; EPiServerProfile</title>
	<atom:link href="http://blog.fredrikhaglund.se/blog/tag/episerverprofile/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fredrikhaglund.se</link>
	<description>Chatter about EPiServer, ASP.NET, CSS and Web Development.</description>
	<lastBuildDate>Tue, 28 Jun 2011 13:37:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Profile Data in EPiServer</title>
		<link>http://blog.fredrikhaglund.se/blog/2007/11/28/profile-data-in-episerver/</link>
		<comments>http://blog.fredrikhaglund.se/blog/2007/11/28/profile-data-in-episerver/#comments</comments>
		<pubDate>Wed, 28 Nov 2007 10:09:06 +0000</pubDate>
		<dc:creator>Fredrik Haglund</dc:creator>
				<category><![CDATA[EPiServer]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[EPiServerProfile]]></category>

		<guid isPermaLink="false">http://blog.fredrikhaglund.se/?p=52</guid>
		<description><![CDATA[To store settings for the current user, use the built-in Profile support in ASP.NET. EPiServer is using this for its own need to store information on a per user basis. (The built-in values EPiServer needs are accessible through the class EPiServerProfile that is a subclass of the ASP.NET class ProfileBase). You can get access to [...]]]></description>
			<content:encoded><![CDATA[<p>To store settings for the current user, use the built-in Profile support in ASP.NET.</p>
<p>EPiServer is using this for its own need to store information on a per user basis. (The built-in values EPiServer needs are accessible through the class <em>EPiServerProfile</em> that is a subclass of the ASP.NET class <em>ProfileBase</em>).</p>
<p>You can get access to the current users EPiServer&#8217;s Profile instance accessing the static property <strong>Current</strong> on the <em>EPiServerProfile</em> class. There is also a default indexer property inherited from ASP.NET&#8217;s <em>ProfileBase</em> class that you can use for you own values.</p>
<pre><code>EPiServer.Personalization.EPiServerProfile.Current["MySetting"] = "Test123";
			</code></pre>
<p>For performance reasons use only <em>string</em>, <em>int</em>, <em>DateTime</em> and avoid objects that must be serialized. There is also support for handling anonymous users (not logged in) if needed.</p>
<p>Read more: <a href="http://msdn2.microsoft.com/en-us/library/at64shx3.aspx">http://msdn2.microsoft.com/en-us/library/at64shx3.aspx</a></p>
<p><strong>Update</strong>: <a href="http://www.episerver.com/en/EPiServer_Knowledge_Center/Documentation/Release-Notes/Release-Notes---EPiServer-CMS-5-SP1/">Read more about changes to Profile information in SP1 for EPiServer CMS 5 R1</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.fredrikhaglund.se/blog/2007/11/28/profile-data-in-episerver/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

