Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:entwickler:sessionhandling [2015/11/04 19:48] – created thomas-rcven: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 doesn´t exist, so it is applied, but **$gValidLogin** remains false. Only after a valid login a user is then assigned to the session and the variable is set to true.+If the session doesn'exist, so it is applied, but **$gValidLogin** remains false. Only after a valid login a user is then assigned to the session and the variable is set to true.
  
 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->renewOrganizationObject ()** and **$ getCurrentSession->renew User Object ()** you can force the new reading for all users.  Using the methods **$getCurrentSession->renewOrganizationObject ()** and **$ getCurrentSession->renew User Object ()** you can force the new reading for all users. 
  • en/entwickler/sessionhandling.1446662923.txt.gz
  • Last modified: 2015/11/04 19:48
  • by thomas-rcv