Logout after a while... AJAX

suwsuw
edited May 2012 in News & Announcements
I've built a massmail module which order the server to send mails and get sent mails status trough AJAX. Using this on 23000 adresses take a while, time which I suppose is considered by FuelCMS as inactive.
From time to time - if I get 3 errors from AJAX - I reload the whole page using javascript (document.location=__FUEL_PATH__+"/massmail/campain").

Now, the problem is that I can't finish a campain, without 2 or 3 logouts.
As session I am using mysql.
How can I tell fuelCMS to NOT log me out - while one campain is active.
Trough Ajax? is there any method?

Comments

  • suwsuw
    edited 11:06PM
    ok - I think I got it

    from config.php I had

    $config['sess_expiration'] = 7200;
    I set it to 0 - now my login session won't expire (hope so!)
Sign In or Register to comment.