The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
evening all. so I downloaded on of the modules that allows you to login with your forum credentials on NON-forum pages. I'm doing this to have a shared login for the rest of my site.
however, despite still being logged in on the forums, even if I am constantly active while logged in on non-forum pages, I get timed out and logged out. so my question is, how do i keep the forum session alive on the non-forum pages? cheers |
#2
|
|||
|
|||
![]()
Someone was just asking about this - I think the session is kept alive by updating lastactivity in the session table, and it's done as a shutdown query so you need to call exec_shut_down() a the end of your script (which is done by print_output() in most vB scripts). But I guess that assumes that you're including global.php or init.php.
Which module are you talking about? |
#3
|
|||
|
|||
![]()
thanks for the tip kh99. I'll try out calling that function.
I'm using this module https://vborg.vbsupport.ru/showthread.php?t=173693 --------------- Added [DATE]1297023144[/DATE] at [TIME]1297023144[/TIME] --------------- looks like calling exec_shut_down() worked. my session has yet to time out. cheers kh99!! |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|