Forums: Log out when logging in

Forum Archive - from http://theuniversal.net
Locked
User avatar
VDZ
Posts: 1205
Joined: Wed Apr 07, 2004 11:32 am
Location: Netherlands

Forums: Log out when logging in

Post by VDZ »

Name: Log out when logging in
Date/Time: 18/06/04, 14:24
Bug Short Description: If you log in, it logs you out. Then if you log in again, you're logged in.
Steps To Recreate: 1. Log in. 2. Log in again.
Attachments/Notes: Once you've logged in and logged out, all topics are marked read. So i can't see what's read and what's unread anymore. It's annoying.
Nightattacker
Posts: 28
Joined: Sun Apr 25, 2004 6:38 am

Post by Nightattacker »

means: you are bugged :shock:
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

ermmm this is a known bug with phpbb2 and has been known for some time...

if your interested in tech. reason why this is read on else leave topic now.

PhPbb2 uses sessional variables to store your login on the forum. The session is stored in a backend database evrytime anybody refreshes a page it checks all the database entries and sees if any session id's need deleting.

When you hit the login linik this is what generates you session id and stores to the database. Next time you hit the login button it then sends another session id and erases your previous session id.

How it works out if posts are read/unread is that it keeps a check of the last time your session id was deleted any posts that are after that session id is considered to be unread and befor to be read.

The session managment is a fundemental bit of programming the back end of the forum itself and to change it would be a huge task which is not going to be undertaken by anybody within this community.

how to get round this...

A) write your own forum software ... cya in about 2 years.
B) devise a handy way of managing sessions which nobody else has thought of yet.
C) read all the posts whilst you are here :)
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

simple solution, enable cookies and check the thingy to always log you in. :P
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

that not cross browser compatible with phpbb
User avatar
leigon
World Owner
World Owner
Posts: 563
Joined: Thu Apr 15, 2004 11:23 pm
Location: UK - Programming under the influance.

Post by leigon »

eh but leigon figerd out the problem ages ago...

When inside the forums look for:

Code: Select all

Forum Index -> Game Help & Tips
And click on Forum Index...

The reson you log out is because you click the Forums button at the top of the screen wich for some reson restarts the setion.
User avatar
VDZ
Posts: 1205
Joined: Wed Apr 07, 2004 11:32 am
Location: Netherlands

Post by VDZ »

Listen. I do not click anything.
Once i press Log In, it refreshes the page and tells me i'm not logged in.
User avatar
Magicfinger
Staff
Staff
Posts: 1078
Joined: Tue Sep 30, 2003 10:38 am
Location: here,there and everywhere

Post by Magicfinger »

wouldnt worry too much the new website (due soon) has the most up to date version of phpbb and doesnt user the custom headers
Locked