<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments on: PHP Sessions</title>
	<atom:link href="http://blog.olebox.com/2008/11/11/php-sessions/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.olebox.com/2008/11/11/php-sessions/</link>
	<description>Giving back to the Community</description>
	<lastBuildDate>Wed, 17 Mar 2010 17:14:05 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Shaun</title>
		<link>http://blog.olebox.com/2008/11/11/php-sessions/comment-page-1/#comment-24</link>
		<dc:creator>Shaun</dc:creator>
		<pubDate>Fri, 21 Nov 2008 19:27:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.olebox.com/?p=99#comment-24</guid>
		<description>This can be a bit difficult to accomplish when using various frameworks without exposing yourself to vulnerabilities. There are a couple ways you can do this. You can have an ajax request within the browser start a session on the other site at the same time the user logs in. This is blatantly visible, so for this to be secure, you should probably do a server side post with an ip address after the ajax post to verify the session. Once it&#039;s established, store a cookie for both sites with the login id.

To overview, the user logs in, if correct, the server performs a post to authenticate the ip address and the signed in username. Then you do a browser ajax request to the second site to create a cookie. When all is said and done, you will have 2 websites, each with a cookie. 

You&#039;ll have to make sure your session/cookie timeout is set the same on both servers and if you provide the user with the ability to log out, you&#039;d need to reverse this process to delete the cookies.</description>
		<content:encoded><![CDATA[<p>This can be a bit difficult to accomplish when using various frameworks without exposing yourself to vulnerabilities. There are a couple ways you can do this. You can have an ajax request within the browser start a session on the other site at the same time the user logs in. This is blatantly visible, so for this to be secure, you should probably do a server side post with an ip address after the ajax post to verify the session. Once it&#8217;s established, store a cookie for both sites with the login id.</p>
<p>To overview, the user logs in, if correct, the server performs a post to authenticate the ip address and the signed in username. Then you do a browser ajax request to the second site to create a cookie. When all is said and done, you will have 2 websites, each with a cookie. </p>
<p>You&#8217;ll have to make sure your session/cookie timeout is set the same on both servers and if you provide the user with the ability to log out, you&#8217;d need to reverse this process to delete the cookies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HardCoded</title>
		<link>http://blog.olebox.com/2008/11/11/php-sessions/comment-page-1/#comment-12</link>
		<dc:creator>HardCoded</dc:creator>
		<pubDate>Wed, 12 Nov 2008 22:26:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.olebox.com/?p=99#comment-12</guid>
		<description>Shaun I have a unique project I am working on. Don&#039;t worry no graphics involved. Anyway do you know if there is a way to share sessions between a PHP application and a Coldfusion one? 

Maybe share isn&#039;t exactly the word I am looking for. Perhaps a better way would be to create the same sessions both in PHP and Coldfusion. Any ideas?

The breakdown is that I have a project in which a huge website was built in Coldfusion and now they want to add a PHPBB3 Forum to this site and share the user login information. So basically a person with an existing account should be able to login at the coldfusion app and not have to login a second time when they reach the forums. 

I think that made sense. Thanks!</description>
		<content:encoded><![CDATA[<p>Shaun I have a unique project I am working on. Don&#8217;t worry no graphics involved. Anyway do you know if there is a way to share sessions between a PHP application and a Coldfusion one? </p>
<p>Maybe share isn&#8217;t exactly the word I am looking for. Perhaps a better way would be to create the same sessions both in PHP and Coldfusion. Any ideas?</p>
<p>The breakdown is that I have a project in which a huge website was built in Coldfusion and now they want to add a PHPBB3 Forum to this site and share the user login information. So basically a person with an existing account should be able to login at the coldfusion app and not have to login a second time when they reach the forums. </p>
<p>I think that made sense. Thanks!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
