Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Disallow session changes in smarty

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
jeffreydev
Smarty n00b


Joined: 07 Apr 2013
Posts: 3

PostPosted: Tue Nov 12, 2013 9:42 am    Post subject: Disallow session changes in smarty Reply with quote

I was wondering if there is a possibility to disallow changing the session variables? (it should still be allowed to be read, however I can also assign it using php to a different variable again).
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Tue Nov 12, 2013 2:17 pm    Post subject: Reply with quote

If you are allowing PHP, you are allowing a lot more than session variable changes. PHP in templates is strongly discouraged.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP