Author
|
Message
|
hassan zerkoune
|
Thursday 20 November 2003 1:46:51 am
Hello, I know how make Session variable in php, but how to register a variable in the session and get it after in ez? Thanks for the futur answer.
|
hassan zerkoune
|
Thursday 20 November 2003 9:35:58 am
Is it possible? If that is not possible, i use "<input type hidden" but thats not a good and secure solution. Is eZ have any secure solution?
|
hassan zerkoune
|
Friday 21 November 2003 9:53:45 am
Is there anybody here?
|
Selmah Maxim
|
Saturday 22 November 2003 10:13:18 am
What for u need this ? Do u wanna do it with php .. or template code ? with php code : $_SESSION['test'] = "Hello"; // register echo $_SESSION['test'] ; // call
|
duff beer
|
Sunday 23 November 2003 5:54:09 am
So i am a friend of hassan.
We know how use session variable in php but is it possible to make the same in ez? If not, is it possible to use php in ez (without modifification of the kernel)? Thank you for your answer. Duff
|
Marco Zinn
|
Sunday 23 November 2003 12:52:38 pm
It would be good, if you tell us, what you want to do. What kind of information do you want to register?
I saw some "hack" to put php into ezPublish templates, but you must disable caching, which is not advisable at all.
If you need to pass information from one template to the other, this is possible, too (i saw this here, too).
Additionally, it's possible to "register" some kind of preference (see http://ez.no/developer/ez_publish_3/documentation/incoming/user_preferences) Hope this helps.
Marco
http://www.hyperroad-design.com
|
duff beer
|
Monday 24 November 2003 12:13:26 am
I have some variables wich can be modifie by the user during his visit (language,part of the site, id of a document, ...). thanks for your help i am going to understand the preference for user.
|
hassan zerkoune
|
Monday 24 November 2003 9:05:38 am
Is it possible tu set a user preference whithout call a url in a browser, and with an ez code?
Because i have now a problem with a document system. I am in a document when i go to a chapter i must know my document. I don't know how to go up by iterating to take my document node root , so i want to use a user preference variable to store this node id. Thanks for the futur answer
|