Hi Peter,<br><br>I have also changed this option already, but it still doesn't work.<div><br></div><div>I changed it to 0, then I truncate table 'session', then I try to login and close</div><div>Fire Fox, then open Fire Fox, users still logged in.<br>
<br>Did I do it right?</div><div>Do you have any ideas?</div><div><br></div><div>thank you<br><br><div class="gmail_quote">On Fri, Jul 6, 2012 at 5:20 PM, Peter Droogmans <span dir="ltr"><<a href="mailto:Peter@attiks.com" target="_blank">Peter@attiks.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="NL-BE" link="blue" vlink="purple"><div><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Check your settings.php file, drupal is setting the cookie lifetime as well using </span><span><span style="font-size:9.0pt;font-family:"Lucida Console";color:#0000aa;border:none windowtext 1.0pt;padding:0cm;background:#f6f6f2"><a href="http://php.net/ini_set" title="string ini_set(string $varname, string $newvalue)
Sets the value of a configuration option" target="_blank"><b><span lang="EN-US" style="color:#004488;text-decoration:none">ini_set</span></b></a></span></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#f6f6f2">(</span><span><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#aa0000;border:none windowtext 1.0pt;padding:0cm;background:#f6f6f2">'session.cookie_lifetime'</span></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#f6f6f2">, </span><span><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#aa3333;border:none windowtext 1.0pt;padding:0cm;background:#f6f6f2">2000000</span></span><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#f6f6f2">);<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#f6f6f2"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Cheers<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Peter Droogmans<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:development-bounces@drupal.org" target="_blank">development-bounces@drupal.org</a> [mailto:<a href="mailto:development-bounces@drupal.org" target="_blank">development-bounces@drupal.org</a>] <b>On Behalf Of </b>Nam PHAM<br>
<b>Sent:</b> vrijdag 6 juli 2012 12:17<br><b>To:</b> <a href="mailto:development@drupal.org" target="_blank">development@drupal.org</a><br><b>Subject:</b> Re: [development] Auto logout when users close browser.<u></u><u></u></span></p>
<div><div><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Hello Lee Rowlands,<br><br>I have added two lines into .htaccess file but it doesn't work.<u></u><u></u></p><div><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">"php_value session.cookie_lifetime 0<u></u><u></u></p></div><div><p class="MsoNormal">php_value session.gc_maxlifetime 0"<u></u><u></u></p></div><div><p class="MsoNormal">
<u></u> <u></u></p></div><div><p class="MsoNormal">Could you give me some ideas?<u></u><u></u></p></div><div><p class="MsoNormal">thank you<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">
On Fri, Jul 6, 2012 at 4:39 PM, Nam PHAM <<a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a>> wrote:<u></u><u></u></p><p class="MsoNormal">Thank you for your quick response.<br><br>I will try as you said and let you know the result later.<u></u><u></u></p>
<div><div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Fri, Jul 6, 2012 at 4:35 PM, Lee Rowlands <<a href="mailto:lee.rowlands@previousnext.com.au" target="_blank">lee.rowlands@previousnext.com.au</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">edit the session.cookie_lifetime in .htaccess<u></u><u></u></p><div><div><p class="MsoNormal"><br><br>On Friday, 6 July 2012, Nam PHAM <<a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a>> wrote:<br>
> Hello everybody,<br>><br>> I have a problem with drupal 6.<br>> I want users to log out automatically, after users close the Tab of browser, or close browser.<br>> At the moment, when users close browser and then open browser again, they still logged in.<br>
> I have try by edit 'session.cookie_lifetime' in 'settings.php', but it doesn't work.<br>> Thanks in advance for any ideas.<br>> --<br>> Nam Pham<br>> Phone: (+84) 932 830 330<br>> Email: + <a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a><br>
> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a><br>> Skype: nampham-mbm<br>> Yahoo: allstars_men<br>> <u></u><u></u></p></div></div></div><p class="MsoNormal"><br>
<br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal"><b>Nam Pham</b><u></u><u></u></p></div><div><p class="MsoNormal">Phone: (+84) 932 830 330<br>
Email: + <a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a><u></u><u></u></p></div><div><p class="MsoNormal"> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a><u></u><u></u></p>
</div><div><p class="MsoNormal">Skype: nampham-mbm<u></u><u></u></p></div><div><p class="MsoNormal">Yahoo: allstars_men<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div><p class="MsoNormal">
<br><br clear="all"><u></u><u></u></p><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal">-- <u></u><u></u></p><div><p class="MsoNormal"><b>Nam Pham</b><u></u><u></u></p></div><div><p class="MsoNormal">
Phone: (+84) 932 830 330<br>Email: + <a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a><u></u><u></u></p></div><div><p class="MsoNormal"> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a><u></u><u></u></p>
</div><div><p class="MsoNormal">Skype: nampham-mbm<u></u><u></u></p></div><div><p class="MsoNormal">Yahoo: allstars_men<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></div></blockquote>
</div><br><br clear="all"><div><br></div>-- <br><div><b>Nam Pham</b></div><div>Phone: (+84) 932 830 330<br>Email: + <a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a></div><div> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a></div>
<div>Skype: nampham-mbm<br></div><div>Yahoo: allstars_men</div><br>
</div>