News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

$context['session_id'] returning false values

Started by AntiPaste, January 14, 2011, 04:26:25 PM

Previous topic - Next topic

AntiPaste

Hello,
I'm trying to integrate a custom SMF logout button to my site, but the $context['session_id'] and $context['session_var'] variables are returning session keys that do not match the ones on SMF's own logout button.
For example:
Code ("My button's link") Select
index.php?action=logout;c5b286144=23c39aead6398e9c4f146605a84cc5ad
Code ("SMF button's link") Select
index.php?action=logout;e1cd4796dd1e=e1a40fb6f516ab75a583924adb88bdfa

I'm calling SSI.php, using SMF 2.0 RC4, PHP 5, MySQL 5 and Apache web server.
If you need any more information, don't hesitate to ask :)

AntiPaste

Solved it by disabling 'Use database driven sessions' :)

Yigal

Yigal V.
Contact me by PM


do yourself a favour and not annoy support helpers by spamming or messaging for support
1.x Support | 2.x Support | 5Mods

Advertisement: