V.E.C.T.O.R. wrote:
I'll post more (including something else regarding the login procedure that I just noticed) after I finish up on fully documenting what I did. THANKS SO MUCH, YOU'RE A GENIUS!!! :DWell, that something else regarding the login procedure that I noticed is this:
In vBulletin, the user session times out in 15 minutes by default. After 15 minutes though, if I refresh the browser I am still logged in. I suspect this happens when I check the "Remember Me?" option. So I went ahead and changed the 15 minutes to 60 seconds, and unchecked the "Remember Me?" option, and sure enough, I'm logged out after 60 seconds. This means the key to my problem below lies in the variable for that "Remember Me?" option.
So the problem I'm having is, in Links' static pages (http://www.mysite.com/links/index.php), I'm logged in as long as I'm logged in within vBulletin (at this point I've checked the "Remember Me?" option again of course). However, when I go to any dynamic page (http://www.mysite.com/cgi-bin/links/add.cgi), I get logged out precisely after the 15 minute (or 60 seconds) period. So at that point, I can log in again, OR just go to the vBulletin directory (http://www.mysite.com/vbulletin/index.php) and then go back to the dynamic page and now it shows that I'm logged in again, probably for another 15 minutes (or 60 seconds).
So how do I do it so that I'm logged in Links' dynamic pages as long as I'm logged in within vBulletin, just like in Links' static pages? I know I gotta do something with the "Remember Me?" variable, but don't know where to start...
P.S. I've looked within this website and found some people talking about a Sessions table, but mine doesn't have one?!? Is it because I'm using an old version (Links SQL 2.1.0)?