Quote:
Originally Posted by kh99
I posted this before somewhere a long time ago, but: I was debugging scoring problems and found that holdsession.php doesn't do what's intended because there's two problems with it: one is with the refresh html, there's an extra double quote after URL= so that the params aren't right.
The other problem is that the "lastactivity" time that's used to keep the session alive is updated using a shutdown query, and those don't get run at all unless exec_shut_down() is called (which is usually called by print_output() in vb scripts). I put exec_shut_down() at the end of my holdsession.php. (I haven't done anything with vB 4 versions so I don't know if this still applies).
There was also a problem with some code that apparently addresses a bug involving some version of IE and an "Error 005". I don't remember the details but I ended up hacking the code and changing $vs['start'] = $gametime; to $vs['start'] = $gametime - 1.0; around line 3484 of arcade.php.
|
thanks for the info ..
here is the holdsession line
Code:
echo "<meta http-equiv=\"refresh\" content=\"$secs; URL=\"$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid\">";
what quotes are you talking about
could it have been fixed ?
did you add exec_shut_down() after the above code but before ?>
the "Error 005". would happen when ?
I see the line is still $vs['start'] = $gametime;
if that error never happened should it still be changed to $vs['start'] = $gametime - 1.0;
--------------- Added [DATE]1297014126[/DATE] at [TIME]1297014126[/TIME] ---------------
ok I found your post..
https://vborg.vbsupport.ru/showpost....5&postcount=94
and with some testing
removing the \ from this code in the holdsession.php
Code:
echo "<meta http-equiv=\"refresh\" content=\"$secs; URL=\"$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid\">";
so it looks like this
Code:
echo "<meta http-equiv=\"refresh\" content=\"$secs; URL="$vboptions[bburl]/holdsession.php$session[sessionurl_q]act=arcade&do=play&gameid=$gameid\">";
you no longer need the remember me ticked when you log in...
as far as the exec_shut_down();
I tried it with it in and out and it still keeps you logged in...
nyce find bud
please explain a little more about exec_shut_down();
I am not sure if it's still needed
what was it doing with out it before.. thanks