Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

[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

  • Options
    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.