We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [jsession]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3
votes
3answers
392 views

How to check JSESSION in javascript

I am developing a component and I use ajax calls to do some tasks in the frontend. I have come to a problem when the session is expires and I don't want to use keepalive to solve it. In the frontend ...
0
votes
1answer
43 views

CheckToken() error when TinyMCE init

I have a form, which add some data to DataBase. <form> <input type="text" name="mydata" /> <textarea name="mytext"></textarea> <?php echo JHtml::_( 'form.token' );?> ...
3
votes
1answer
37 views

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

I've been trying to track down some odd behaviour on a test site of mine and it appears to be due to guest sessions. I could be wrong, but it seems like Joomla sessions for guests are expiring at a ...
1
vote
1answer
277 views

automatic redirect to login page after session timeOut in joomla 1.5.26

Due to audit of our client website the testing team told us that after login to admin pannel of website, if any user is idle for more than 5 min then it should redirect to login page. I set the ...
2
votes
0answers
40 views

How does the JSession works, and how to use it in different files?

I'm using JSession (in Joomla 3.9.x) to implement sort of a captcha field in a form, apparently the captcha code is been saved correctly in the session but I can't find the way to retrieve it, and ...
5
votes
1answer
841 views

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

I want to regenerate my cookie's name after every successfull login ( I regenerate already my Session Id). When I try to regenerate my cookie's name, joomla lost my session! ( in JSession class) ...
5
votes
2answers
1k views

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

I'm setting multiple session variables in a PHP script that is external to Joomla. The variables are set consecutively using the following code. //Access Joomla define( '_JEXEC', 1 ); define('...
2
votes
1answer
172 views

Joomla sessions within a loop passing only a single value

I need to pass some variables from one PHP module to another PHP module within a loop and at the same time display the module multiple times as well. I use Joomla sessions for passing variables and ...
3
votes
1answer
39 views

Is getExpire in minutes a documentation error?

I believe I've found a mistake in the Joomla documentation, according to the docs getExpire should get session expiration time in minutes. I've checked my settings and the session lifetime is set ...
1
vote
2answers
717 views

Setting Specific Session Variable (user specific image folder)

I'm trying to integrate http://responsivefilemanager.com/ into joomla to replace the normal image manager so I can have per user image folder option. I managed to integrate it reasonably well into ...
2
votes
1answer
477 views

How to read resp. parse Joomla session data read from database?

Is there a way to read respectively parse Joomla session data in PHP as session_decode() and unserialize() are not working on that values? In my component I need to read data from all active non-...
3
votes
1answer
600 views

Session variable in joomla 2.5 external file

I am trying to set a value in external file but the session values are not set correctly. The session is set some times and other times it is not set. I am setting a session using ajax call following ...
2
votes
1answer
332 views

Getting progress updates (via AJAX) on a controller action without blocking

I have a controller with an action that accepts requests over AJAX, does some data manipulation, and returns some data: function publicDirectoryAjaxSearch(){ // Check the form token JSession::...