Differences
This shows you the differences between two versions of the page.
en:entwickler:sessionhandling [2015/11/04 19:48] – created thomas-rcv | en:entwickler:sessionhandling [2016/12/03 15:00] (current) – typos ximex | ||
---|---|---|---|
Line 9: | Line 9: | ||
It is once determined whether this season already exists in the table. It exists and is a USR_ID assigned, so the login is valid, and the variable ** $ gValidLogin ** is set. This variable was in the previous versions $ gSessionValid. Because this name would now lead to confusion (now every visitor has a valid session), it was renamed. | It is once determined whether this season already exists in the table. It exists and is a USR_ID assigned, so the login is valid, and the variable ** $ gValidLogin ** is set. This variable was in the previous versions $ gSessionValid. Because this name would now lead to confusion (now every visitor has a valid session), it was renamed. | ||
- | If the session | + | If the session |
A new addition in version 2.0 also is the column ses_renew. About this column, you can control the rescan of $ gCurrentOrganization and $ gCurrentUser. These are read only once usually per user and then remain in the session. There are problems when someone stays very online a long time and at the same time, another admin user, for example, changes the system settings or the profile fields. This had previously not affect to all users already logged on. | A new addition in version 2.0 also is the column ses_renew. About this column, you can control the rescan of $ gCurrentOrganization and $ gCurrentUser. These are read only once usually per user and then remain in the session. There are problems when someone stays very online a long time and at the same time, another admin user, for example, changes the system settings or the profile fields. This had previously not affect to all users already logged on. | ||
Using the methods **$getCurrentSession-> | Using the methods **$getCurrentSession-> |