Title: Session Variables
Last modified: August 21, 2016

---

# Session Variables

 *  [dannybeton](https://wordpress.org/support/users/dannybeton/)
 * (@dannybeton)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/session-variables-1/)
 * Hi,
 * I have a Gravity form that when submitted saves some data in a PHP Session variable.
 * With Total Cache enabled this session variable does not work, when disabled it
   does work.
 * I have removed page caching (didn’t work) and also applied cache exclusions to
   the page in question (which also didn’t work).
 * I did it in the format:
    /domain.com/my-form-page /domain.com/my-form-page/*
 * Is there a syntax error in my exclusions?
 * Also, when I want to make a change in the Total Cache settings, I have to save
   it multiple times, as the changes I make never seem to save…
 * Any assistance would be greatly appreciated!
 * Kind regards,
 * Danny
 * [http://wordpress.org/plugins/w3-total-cache/](http://wordpress.org/plugins/w3-total-cache/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [dannybeton](https://wordpress.org/support/users/dannybeton/)
 * (@dannybeton)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/session-variables-1/#post-4073836)
 * Nobody else has had this issue?

Viewing 1 replies (of 1 total)

The topic ‘Session Variables’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

## Tags

 * [session variables](https://wordpress.org/support/topic-tag/session-variables/)

 * 1 reply
 * 1 participant
 * Last reply from: [dannybeton](https://wordpress.org/support/users/dannybeton/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/session-variables-1/#post-4073836)
 * Status: not resolved