Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

SESSION values
 
Notifications
Clear all

SESSION values

4 Posts
2 Users
0 Reactions
2,124 Views
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 
[#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


 
Posted : 19 Jan 2017 19H17
babynus
(@babynus)
Posts: 14966
Main Contributor 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.


 
Posted : 19 Jan 2017 19H39
(@antonio-grr)
Posts: 84
Active Member
Topic starter
 

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.


 
Posted : 20 Jan 2017 9H56
babynus
(@babynus)
Posts: 14966
Main Contributor 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 !!!!


 
Posted : 20 Jan 2017 11H23
Share:

Scroll to Top