Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

[Solved] how to access vanilla session data from an external page ?

edited January 2011 in Vanilla 2.0 - 2.8
Hi,
I'm using vanilla's login to login to my site.[i.e vanilla's user table merged with my site table]. When the user click sign-in it will be redirected as
http://mysiteurl/forum/people.php?ReturnUrl=http://mysiteurl/controlpanel.php

After checking the login details, the page successfully redirecting to controlpanel.php. But i cannot access the session data. when i do a
session_start()print_r($_SESSION) in controlpanel.php it shows an empty array.

When i print the session inside forum it shows the session data.

I have followed the instructions in Why can't I access the LussumoUserID session variable? and changed the COOKIE_DOMAIN and COOKIE_PATH [both empty].

But i still cant access the LussumoUserID from a page outside forum.

How can i access the session details that are created by vanilla authenticator.

Please help...
Tagged:

Comments

  • edited January 2011
    $Configuration['COOKIE_DOMAIN'] = ''; $Configuration['COOKIE_PATH'] = '/';

    You need to clear the cookies and restart the firefox .
    this worked for me...
Sign In or Register to comment.