1
snotling
Auto-logout when posting (CBB)
  • 2006/11/30 1:17

  • snotling

  • Just popping in

  • Posts: 2

  • Since: 2006/10/29


Hello -

Xoops: 2.0.15 - 2.0.16
cbb: 3.05 - 3.06 - 3.07
php: 4.3.11
mysql: 4.0

The problem that I am having on my site (http://www.snotling.org) is that when users goto post they get logged out. It can happen many times is a row, or it can wait several posts before it times out.

I have changed the "Session expiration" to 1440 and it still does it (I did change Use "custom session" to yes). Anyone else see this kind of problem? It happens most when a user clicks on the reply button. the Quick Reply seems to work most of them time for me.

Any ideas on how to fix this would be most grateful.

thanks
-snotling

2
dasdan
Re: Auto-logout when posting (CBB)
  • 2007/2/18 21:43

  • dasdan

  • Just popping in

  • Posts: 29

  • Since: 2005/1/22


I'm having the same problem since a few weeks. After login everything works fine, but suddenly I'm logged out. Mostly happens when trying to post, reply, edit the forum, but also in other modules. Just browsing a few pages and I can simulate the problem.

also using a custom Session name and session expiration is set to 300

PHP Version 4.4.5

3
darklab
Re: Auto-logout when posting (CBB)
  • 2007/3/17 5:07

  • darklab

  • Just popping in

  • Posts: 1

  • Since: 2007/1/18


It seems u guys didn't get any reply?
I'm facing the same problem due to my carelessness,
I set it to 0 and I'm doomed! I can't even
post anything in the forum - VALID TOKEN EXPIRED.

Anyone, pls help....u can msg me, email me.

Thank you in advance.

4
dasdan
Re: Auto-logout when posting (CBB)
  • 2007/3/17 20:59

  • dasdan

  • Just popping in

  • Posts: 29

  • Since: 2005/1/22


Quote:

dasdan wrote:
I'm having the same problem since a few weeks. After login everything works fine, but suddenly I'm logged out. Mostly happens when trying to post, reply, edit the forum, but also in other modules. Just browsing a few pages and I can simulate the problem.

also using a custom Session name and session expiration is set to 300

PHP Version 4.4.5


I solved my problem by comparing serveral backups of my website in SVN. First I couldn't find the cause of this strange behaviour.

After a while I restored a version from before the problem started. Then I upgraded sequentialy and tested every change I had made to the code.

Strange but true, the problem were the google adds on my newbb module.

After I removed the google adds from the forum the sessions don't get broken anymore.

More info here (in dutch) http://www.dasdan.be/modules/newbb/viewtopic.php?topic_id=500&forum=10&post_id=931#forumpost931

Kind regards,

Kevin

5
BlueStocking
Re: Auto-logout when posting (CBB) - darklab


TO Darklab: Stefan88 helped with this eariler.
The prefix on my table was XOOPS_config
IF you need more information, just ask!
and I will try to lead you through it....BS


Link to Original Thread

EXCERPT:
Resized Image
____________


Resized Image

AFTER selecting BROWSE you will look down the selections offered until you come to session_expire then select edit and continue to next screen where you may edit the config_value text to 15 from 0

BlueStocking
http://hardhunting.com
hhttps://xoops.org/modules/repository .. It is time to get involved - XOOPS.ORG

Login

Who's Online

452 user(s) are online (383 user(s) are browsing Support Forums)


Members: 0


Guests: 452


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits