Session verification failed

Started by unrelenting, October 02, 2004, 07:10:40 PM

Previous topic - Next topic

[Unknown]


LostProphecy

ok just an update, i just installed firefox, used it

and i got 3 erros (that's all i attempted)

failures for editing a post, entering admin and logging out
Angelus Ex Quo Nox

andrea

Quote from: LostProphecy on October 05, 2004, 02:55:13 AM
ok just an update, i just installed firefox, used it

and i got 3 erros (that's all i attempted)

failures for editing a post, entering admin and logging out

Interesting. Did you try already to clear all cookies - maybe the cookie is still stored from RC1 and conflicts somehow wiht RC2?

FYI: I unchecked "store local cookies" in the admin settings - does that make a difference?

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



LostProphecy

since the upgrade i've been clearing the cookies every time i wanted to access the admin center cause it's the only way it could get in *shrugs*

unless it doesn't seem to be holding them too well... or maybe im not completely deleting them... i just using the tools>internet options> delete cookies method
Angelus Ex Quo Nox

LostProphecy

ok i think that's done it andrea :)... everything seems to be working now :)
Angelus Ex Quo Nox

[Unknown]

Something wrong with local cookies?  This isn't good news :(.

-[Unknown]

andrea

FYI: I now also changed the cookie name - not sure if your positive reply was before or after - not sure which one was it - the local cookies or the old cookie name


Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



wahi

I started getting the same problems last night, and I think that all members on my forum are having the same problem, since no one has posted anything since last night (this is a fairly busy forum).

My forum: http://www.washington-heights.us/yabbse/

The error:
QuoteAn Error Has Occurred!
Session verification failed. Please try logging out and back in again, and then try again.

It doesn't let me log out and back in again. It keeps giving me this error.

As far as I know, I hadn't experienced this problem since I upgraded on August 15th, although I have been getting messages every so often from members saying that they couldn't post -- I'm wondering whether it was the same problem.

Any help would be greatly appreciated.

wahi

Quote from: Metho on October 02, 2004, 07:55:03 PM
If you have database access (ie through phpMyAdmin or something) you can go into your database, to the table smf_settings, click on the SQL tab and run this query in it:UPDATE `smf_settings` SET `value` = '1' WHERE `variable` = 'databaseSession_enable';

Followed these instructions too, and now everything seems to be OK. Question: Are database sessions better than browser sessions? Thanks.

bulliedog

wahi, are you hosted at Powweb by chance?  In any event anyone who is might be experiencing this issue.  Here is more on how to fix it:

http://forum.powweb.com/showthread.php?t=41929

[Unknown]

So... I see.  It's powweb.  That's why so many are having this problem....

Database sessions can be better, yes... but they are still done with the browser.  It's database sessions vs. flat file sessions.

-[Unknown]

wahi

'Deed I am! Thanks for the info. Will try fiddling with the PowWeb php.ini file.

destalk

Hmmmmm. I no longer get this error when in the forum proper. But I *always* get this error when I logout via the menubar on any page where I have included the menubar via an SSI. For example <?php ssi_menubar(); ?>.

[Unknown]

Your front page isn't properly starting/setting the session.... are you doing anything special with sessions?

Have you tried enabling/disabling "database driven" sessions?

-[Unknown]

destalk

Quote from: [Unknown] on January 07, 2005, 02:18:48 AM
Your front page isn't properly starting/setting the session.... are you doing anything special with sessions?

Seeing as I don't really even understand what a session is, I would have to say no ;) . All I did was stick the relevant SSI code into the pages on my site.

Quote from: [Unknown] on January 07, 2005, 02:18:48 AM

Have you tried enabling/disabling "database driven" sessions?

-[Unknown]

I'll try that and report back.

destalk

Hi

Well I disabled database driven sessions and the error is there. I've now switched it on again. I don't know if there is any connection (i.e. as regards general weirdness), but I know that when I enabled the check box to hide the last registered user, the feature is ignored. I have since removed the whole Stats box from index.template.php, which works for me.


andrea

#36
Destalk,

I registered testwise into your forum. It appears that the logout link in the ssi menu is incomplete.

It is:
http://www.designtalkboard.com/designtalk/index.php?action=logout;sesc=

But it should be:
http://www.designtalkboard.com/designtalk/index.php?action=logout;sesc=xxxxxxxxxxxxxxxxxxxxx

The session id value xxxxxxxxxxxxxxxxxxxxx appears to be missing. That causes the session error message.

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



destalk

Hi Andrea, thanks for your time.

I can see what it's doing. Unfortunately, I don't  know how to fix it. All I know is that I copied the SSI code from  'ssi_examples.php' and pasted it into my page. :-X

andrea

You must add the session id into the logout link.

The session id is contained in this variable:
$context['session_id']

Andrea Hubacher
Ex Lead Support Specialist
www.simplemachines.org

Personal Signature:
Most recent work:
10 Aqua Themes for SMF



destalk

Thanks, but I'm sorry I'm not sure I really understand what that means

I've pasted <?php ssi_menubar(); ?> into the document, which brings in the menu bar dynamically. Where do I add $context['session_id'] ?

Cheers.

Advertisement: