<?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: Session variables do not work as expected???</title>
		<link>https://legacy.forums.gravityhelp.com/topic/session-variables-do-not-work-as-expected</link>
		<description>Gravity Support Forums Topic: Session variables do not work as expected???</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:34:45 +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/session-variables-do-not-work-as-expected" rel="self" type="application/rss+xml" />

		<item>
			<title>Deepend on "Session variables do not work as expected???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/session-variables-do-not-work-as-expected#post-88659</link>
			<pubDate>Thu, 08 Nov 2012 01:24:55 +0000</pubDate>
			<dc:creator>Deepend</dc:creator>
			<guid isPermaLink="false">88659@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In case anyone is wondering I moved the whole lot into the confirmation hook.  This seems to be working now...  Thanks for the lack of support.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deepend on "Session variables do not work as expected???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/session-variables-do-not-work-as-expected#post-88636</link>
			<pubDate>Thu, 08 Nov 2012 00:10:18 +0000</pubDate>
			<dc:creator>Deepend</dc:creator>
			<guid isPermaLink="false">88636@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I figured out this is because confirmation hook fires before the after_submission hook...&#60;/p&#62;
&#60;p&#62;which seems highly illogical... i need to get data created during after_submission and display it in a confirmation page.... &#60;/p&#62;
&#60;p&#62;any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Deepend on "Session variables do not work as expected???"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/session-variables-do-not-work-as-expected#post-88108</link>
			<pubDate>Tue, 06 Nov 2012 20:41:23 +0000</pubDate>
			<dc:creator>Deepend</dc:creator>
			<guid isPermaLink="false">88108@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I am simply trying to:&#60;br /&#62;
1) set a php _SESSION variable in a function attached to the &#34;gform_after_submission&#34; hook&#60;br /&#62;
2) retrieve that variable in the &#34;gform_confirmation&#34; hook.&#60;/p&#62;
&#60;p&#62;The session variable is never current when called upon in the confirmation hook... it's always one value older than it should be...&#60;/p&#62;
&#60;p&#62;I have tested that _SESSION variable is working fine if i use it in other areas of functions.php&#60;/p&#62;
&#60;p&#62;What is different about gravity forms that it doesn't work, and how do i access this variable!?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
