News:

Join the Facebook Fan Page.

Main Menu

Logout doesn't work

Started by Onin, November 21, 2007, 10:48:41 AM

Previous topic - Next topic

Onin

I'm using ssi_login on my mainsite but I can't  logout from it because then I get redirected to the forum (which I don't want to) where it says:

Session verification failed. Please try logging out and back in again, and then try again.

How to solve this?

I disabled local storage of cookies and enabled subdomain independent cookies to make the autologin work on main site, also to be able to actually be logged in at the main site.

Another problem is that I don't get redirected to the last page when I log in/out (from main site).

Onin


Ant59

I need to know this too! But with the ssi_login(). It won't redirect.


<?php
$_SESSION
['login_url']="/";
ssi_login();
?>



Where am I going wrong? (I'm using the require function at the top of the page to get SSI.php)

Ant59


Onin

I disabled database driven sessions and it's all working now :)

Advertisement: