Stay Logged In while on non-vbulletin pages

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eliasen
    New Member
    • Jul 2011
    • 27
    • 4.1.x

    [Forum] Stay Logged In while on non-vbulletin pages

    Hi!

    I am currently making a website where I use vB as the "backbone", however my members get's logged out due to inactivity while they are browsing the non-vB pages.

    Is there a way to make the cookie "refresh" it's timer when they are browsering the non-vB pages?
    Not sure if this thread should be posted on vB.org, but i'll try here first .

    All my non-vbulletin pages includes:
    PHP Code:
    $curdir getcwd ();
    chdir('/home/myaccount/public_html/my-website.com/forum');
    require_once(
    '/home/myaccount/public_html/my-website.com/forum/global.php');
    chdir ($curdir); 
    Thanks!

    EDIT: Solved (hopefully) thanks to Lynne on VB.org.
    Solution: http://www.vbulletin.org/forum/showthread.php?t=228112
    Last edited by Eliasen; Tue 5 Jul '11, 11:25am.

Related Topics

Collapse

Working...