Welcome Guest ( Log In | Register )

 Forum Rules Extensions Support
> 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
 
Start new topic
Replies (1 - 2)
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 Cron Jobs Not Executing With Easycron After Updating
4 Kat 273,518 9th September 2021 - 06:41 PM
Last post by: Kat
No New Posts Cron Jobs Failing
1 Kat 62,345 29th July 2021 - 06:08 AM
Last post by: Web Design Seo
No New Posts Cron Job Working But With Notices
1 Kat 48,984 5th May 2017 - 05:56 AM
Last post by: Web Design Seo
No new Cron With Post By Email
5 livewiremaxx 28,037 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 26,675 2nd September 2013 - 02:09 PM
Last post by: ac1977
No New Posts Cron Error
1 mallchick 15,993 17th April 2013 - 06:36 AM
Last post by: Web Design Seo
No New Posts Cron Job Not Working
1 dugleydoright 14,212 2nd March 2013 - 11:44 AM
Last post by: Web Design Seo
No new Crontab In Scraper
only last rss update
11 _david 24,988 25th January 2013 - 08:36 AM
Last post by: Web Design Seo
No New Posts Cron ?
3 -ikodan- 11,945 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 19,203 7th December 2012 - 11:31 AM
Last post by: Vittorio


 



RSS Lo-Fi Version Time is now: 2nd June 2026 - 03:03 AM