<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Gravity Support Forums Topic: PHP session variables</title>
		<link>https://legacy.forums.gravityhelp.com/topic/php-session-variables</link>
		<description>Gravity Support Forums Topic: PHP session variables</description>
		<language>en-US</language>
		<pubDate>Fri, 17 Apr 2026 22:56:33 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/php-session-variables" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "PHP session variables"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/php-session-variables#post-18058</link>
			<pubDate>Wed, 09 Feb 2011 13:47:54 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">18058@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Did the post you found about setting a cookie and using that data to pre-populate form fields have sample code in it to show you how to do this?&#60;/p&#62;
&#60;p&#62;If so that should be sufficient to do what you need to do.  Just replace the pieces of the code that read/write to a cookie with code that read/writes to a session variable.  It's the same workflow only you would use session variables instead of a cookie.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kevinwholland on "PHP session variables"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/php-session-variables#post-18020</link>
			<pubDate>Tue, 08 Feb 2011 20:39:10 +0000</pubDate>
			<dc:creator>kevinwholland</dc:creator>
			<guid isPermaLink="false">18020@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I found a post about using Gravity Forms to set a cookie and then using that data to pre-populate other form fields. However, we actually create a PHP session variable to store several data fields when people login, using a custom user authentication system. I would like to pre-populate certain Gravity Form fields with session variables from that session. In a standard html form this is pretty simple and straightforward, but the Gravity Forms plugin doesn't seem to allow insertion of the standard php code. Any tips on how we could easily accomplish this? Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
