![]() |
Just had a thought, how can this be done if my site is on a subdomain of the main one, but both sites are on the same server?
Syb, |
if you use absolute path's it should work :)
|
Well, the idea was there but not quite that simple.
I have had to copy global.php into the root dir of the site and also copy 4 other files into a new "admin" dir. Then I had to edit a few SQL queries in the files because the SQL Connection I use for my site is not the same as for the main one. The setup works but I would prefer to control the sessions via MySQL but I dont know enough about how vbb was coded to do this. Can you maybe give me some hints and tips on how I can keep a user's session alive on my site using the vbb db tables? I have good knowledge of php and mysql but my brain just aint ready for reading the vbb code yet! Thx, Syb, |
hmm i think a chdir() use before including global.php would have been enough, no need to copy files :)
hmm, the sessions.php which controlls the vb sessions is a file i never worked with, just take a look at the table sessions of the vb database, every active user is in there with a field lastactivity. just update this field to time() to keep trhe session alive :) |
That is what I was not sure of, things like session hash had me thrown, so all I have to do is update that table?
Or, that is how it should work in theroy, Thx, Syb, |
it should work :)
just be sure you update the right row ;) |
All times are GMT. The time now is 09:00 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:
|