Skip to main content
7 votes
Accepted

Do Joomla sessions for guests expire at different periods of time than logged in users?

No, it is not expected behavior that sessions for guests expire faster than sessions for admins. Front-end and back-end users all use the same Session Lifetime which you configure in Administrator > ...
pe7er's user avatar
  • 2,068
3 votes
Accepted

How to check JSESSION in javascript

One way I can imagine to check the session is before you ignite the above ajax call, you make a previous ajax call to another function in com_contract/controller(task = your new session checking ...
Zollie's user avatar
  • 2,946
2 votes

How to check JSESSION in javascript

To get the session state, you can use the following: JFactory::getSession()->getState(); I'm not sure if this script is inline or a separate file. If it's inline then you can simply add the ...
Lodder's user avatar
  • 26.9k
2 votes

How to check JSESSION in javascript

well after the valuable help of @Zollie I will post the answer and working code to help others. A sample of the template file : <form action="<?php echo JRoute::_('index.php?option=...
mixahlos's user avatar
  • 418
1 vote

Set and Retrieve Array in Joomla Session Namespace

The above method is 100% correct and working. My own code, where I had my_custom_namespace had a typo - I was setting myNamespace and trying - and obviously failing - to get MyNamespace :Faceplam:
Kaleb Thompson's user avatar
1 vote

Joomla sessions within a loop passing only a single value

Ok I see the issue now. It's because you've overriding the session variable in the loop, each time. Instead, try this: First module $session = JFactory::getSession(); $modules = JModuleHelper::...
Lodder's user avatar
  • 26.9k
1 vote

How to change the cookie name on every Session in JOOMLA?

In joomla we had the Joomla Registration and login plugins and modules. if you can use it. it automatically generate the cookies also. use it. then you can get the good result.
B V S A Kumar's user avatar
1 vote

Is there anything wrong with setting Joomla session variables consecutively in an external php script?

OK, the problem is that we got to use the same session. In order to do that. We had to call $session->getId() to get current seeeion_id then send it to the client side, when we create the session ...
Jack Ting's user avatar
  • 111

Only top scored, non community-wiki answers of a minimum length are eligible