session not passed back from template

30 views
Skip to first unread message

Spencer Brown

unread,
Dec 3, 2014, 5:03:18 PM12/3/14
to smarty-d...@googlegroups.com
I have a PHP file that forms a session, then renders the smarty template.  When the user submits, the php file is called again but the session is gone.  I'm using 3.1.8.  Is this a smarty thing?  Can I work around it?

uwe.tews

unread,
Dec 5, 2014, 12:30:14 AM12/5/14
to smarty-d...@googlegroups.com
This is not a Smarty problem.

Did you call session_start(); in your php file before any output?

Monte Ohrt

unread,
Jan 17, 2015, 7:27:31 PM1/17/15
to smarty-d...@googlegroups.com
sessions are not a smarty thing.

--
You received this message because you are subscribed to the Google Groups "Smarty Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to smarty-develop...@googlegroups.com.
To post to this group, send email to smarty-d...@googlegroups.com.
Visit this group at http://groups.google.com/group/smarty-developers.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages