Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
 
Reply to this topicStart new topic
> Cron Killing User Sessions
Reggie
post May 23 2012, 11:18 PM
Post #1


Newbie
*

Group: Members
Posts: 8
Joined: 10-May 12
Member No.: 1,189



Every time the cron fetches new mail to post, users are forced to login again to keep using the front end. This does not occur if theres no new email.

Is this a documented bug? Can you reproduce?
Go to the top of the page
 
+Quote Post
Reggie
post Jun 4 2012, 01:54 PM
Post #2


Newbie
*

Group: Members
Posts: 8
Joined: 10-May 12
Member No.: 1,189



I see there's no feedback on this issue. It's really a big problem because if users are creating content on the site while the cron is run they are forced to re-login and loose their work!!!

Any comment will be very appreciated...

Thanks!
Go to the top of the page
 
+Quote Post
Reggie
post Jun 4 2012, 02:06 PM
Post #3


Newbie
*

Group: Members
Posts: 8
Joined: 10-May 12
Member No.: 1,189



Well, desperately looking I found that logout line in the cron script that I removed and it seems to eliminate the problem. Wish it's not a security risk and that the created session will eventually expire by its own. Besides my concern is that a new session cookie be created every five minutes my script runs and could stall the server.

CODE
if ($mainframe->login($credentials)) {
    $controller = new PostByEmailController();
    echo $controller->importAll();
    // @$mainframe->logout();
} else
    echo 'Post By Email Cron Job fatal error: the login attempt has failed, wrong username and/or password!';


Would still appreciate some comment from the developer, yet I had to alter that cron file in so many ways to have it work correctly!

Thanks!
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Collapse

> Similar Topics

  Topic Replies Topic Starter Views Last Action
No New Posts Cron Job Working But With Notices
1 Kat 2,037 5th May 2017 - 05:56 AM
Last post by: Web Design Seo
No new Cron With Post By Email
5 livewiremaxx 3,449 29th October 2013 - 02:02 PM
Last post by: Web Design Seo
No New Posts Cron Job Issue And How To Setup Rss Feeds In Scraper
2 ac1977 3,340 2nd September 2013 - 02:09 PM
Last post by: ac1977
No New Posts Cron Error
1 mallchick 2,800 17th April 2013 - 06:36 AM
Last post by: Web Design Seo
No New Posts Cron Job Not Working
1 dugleydoright 2,410 2nd March 2013 - 11:44 AM
Last post by: Web Design Seo
No new Crontab In Scraper
only last rss update
11 _david 5,233 25th January 2013 - 08:36 AM
Last post by: Web Design Seo
No New Posts Cron ?
3 -ikodan- 2,903 27th December 2012 - 01:09 PM
Last post by: -ikodan-
No new Cron Job Not Work In Post By Email
Cron Job problem [solved]
12 Vittorio 4,747 7th December 2012 - 11:31 AM
Last post by: Vittorio
No New Posts Cron Job Not Working With 2 Email Accounts
Cron job is not working with 2 emai l accounts
1 bangde 2,848 18th September 2012 - 06:39 AM
Last post by: Web Design Seo
No new Cron Job Issues
[solved]
7 manzanita 6,346 13th February 2012 - 12:22 PM
Last post by: Web Design Seo


 



RSS Lo-Fi Version Time is now: 23rd October 2019 - 03:28 PM
Clicky Web Analytics