![]() |
External login logs out after 15 minutes
I've managed to get a script working to login using vB on an external site, but users get logged out after 15 minutes (presumably due to lack of activity, even if I am doing something).
I guess the question is, how do I make vB think the user is doing something while they are "logged in" via my other site? Thanks! |
There was a thread on this not too long ago. I think the answer is that you should call exec_shut_down() at the end of your script, otherwise the session lastactivity time never gets written to the db.
|
Here is my login, script. As you can see I do use exec_shut_down()
PHP Code:
|
OK, but that's your login script, right? You need to do something to get the lastactivity updated when they "doing something" (by which I assume you mean accessing other external pages?). You probably only need to do something like:
PHP Code:
on each of your external pages. |
Quote:
Thanks! --------------- Added [DATE]1314452078[/DATE] at [TIME]1314452078[/TIME] --------------- It worked :) What actually is exec_shut_down() by the way..? |
Quote:
|
All times are GMT. The time now is 08:27 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|