Apologize for my English. I have a boring and very vital problem with Joomla! Session. When a table of data appears on the first page, a series of information is stored in the session as follows:
$session = JFactory::getSession(); $session->set('userRecog', $user->id); $session->set('qmanageIdsArray', $qmanageIdsArray); $session->set('userAccessLevel', $userAccessLevel); $session->set('qbookIdArr', $qbookIdArr); $session->set('quserIdArr', $quserIdArr);
In another page I want to get session data with new values as follow:
$session = JFactory::getSession(); $userRecog = $session->get('userRecog'); $qmanageIdsArray = $session->get('qmanageIdsArray'); $userAccesslvl = $session->get('userAccessLevel'); $qbookIdArr = $session->get('qbookIdArr'); $quserIdArr = $session->get('quserIdArr');
When new data is merged with the table and reload the page, session set with new tables data. Then I want to get stored session data but the data stored in the old session appears. I have to navigate the page for storing new session values of the new data table. refreshing the page, clearing session, destroying the session, logging out and log in again user, and changing browser doesn't resolve the problem. This problem has taken me all the time for 3 days and I've used any solution, but the problem is still there. Can anyone help me?