PHP Classes

If session is store in database

Recommend this page to a friend!

      PHP Classes blog  >  Fix the AJAX Requests...  >  All threads  >  If session is store in database  >  (Un) Subscribe thread alerts  
Subject:If session is store in database
Summary:store session in database
Messages:2
Author:chetan gadgilwar
Date:2015-05-04 12:23:57
Update:2015-05-04 23:17:32
 

  1. If session is store in database   Reply   Report abuse  
Picture of chetan gadgilwar chetan gadgilwar - 2015-05-04 19:45:16
What happen if session is stored in database (mysql/dynamoDB), still it will lock the row or it will work smoothly ?


  2. Re: If session is store in database   Reply   Report abuse  
Picture of Eslam Mahmoud Eslam Mahmoud - 2015-05-04 23:17:32 - In reply to message 1 from chetan gadgilwar
Hello, Locking the row will happen if you try to access it from more than one connection/session but each user should work with his set of rows so overlapping or lock may happen form two pages the same user opened (not as simple as that you may need to check http://dev.mysql.com/doc/refman/5.0/en/internal-locking.html) .