Forum

SESSION values
 
Notifications
Retirer tout

SESSION values

4 Posts
2 Utilisateurs
0 Reactions
2,096 Vu
(@antonio-grr)
Posts: 84
Estimable Member
Début du sujet
 
[#4023]

Hi.
In Session model I see the following comment :
// Functions to set and retrieve data from SESSION : do not use direct $_SESSION
Furthermore it store values in an array at the $_SESSION[ $projeqtorSession].
It seems a good idea, but unfortunately often it is not applied and values are stored directly in SESSION.
Do you plan to extend the usage of model Session or that idea has been you abandoned for a specific reason ?
Thank you for your attention


 
Posté : 19/01/2017 7:17 pm
(@babynus)
Posts: 14952
Membre Admin
 

In fact we designed this feature to replace every use of Session data.
This was planned to avoid any interaction with other PHP application on same server.
We faced issues with other application storing date 'user' in session...
This blocked login with ProjeQtOr as we store an object in data 'user' in the session.
So we solved this and included feature to centralize session data management.
Unfortunately we had no time to finish replacing every session call with the new feature, but we will do this one day 😉
What is sure is that we try to always use new feature each time we write new code using session.


 
Posté : 19/01/2017 7:39 pm
(@antonio-grr)
Posts: 84
Estimable Member
Début du sujet
 

Ok.
Now i'm going to centralize $_SESSION and $_REQUEST in my version.
Unfortunately I think this cannot be useful for you, as I should send too many lines of code and to use them you would spend more time than doing the work by yourselves.


 
Posté : 20/01/2017 9:56 am
(@babynus)
Posts: 14952
Membre Admin
 

I should send too many lines of code and to use them you would spend more time than doing the work by yourselves.

Sure !!!!


 
Posté : 20/01/2017 11:23 am
Share:
Retour en haut