<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";
        mso-fareast-language:NL-BE;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NL-BE link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Are you sure you are allowed to change the setting, if you go to admin/reports/status/php is the cookie_lifetime set to 0?<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Peter Droogmans<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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"'> development-bounces@drupal.org [mailto:development-bounces@drupal.org] <b>On Behalf Of </b>Nam PHAM<br><b>Sent:</b> vrijdag 6 juli 2012 12:31<br><b>To:</b> development@drupal.org<br><b>Subject:</b> Re: [development] Auto logout when users close browser.<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hi Peter,<br><br>I have also changed this option already, but it still doesn't work.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I changed it to 0, then I truncate table 'session', then I try to login and close<o:p></o:p></p></div><div><p class=MsoNormal>Fire Fox, then open Fire Fox, users still logged in.<br><br>Did I do it right?<o:p></o:p></p></div><div><p class=MsoNormal>Do you have any ideas?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>thank you<o:p></o:p></p><div><p class=MsoNormal>On Fri, Jul 6, 2012 at 5:20 PM, Peter Droogmans <<a href="mailto:Peter@attiks.com" target="_blank">Peter@attiks.com</a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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 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" target="_blank" title="string ini_set(string $varname, string $newvalue) Sets the value of a configuration option"><b><span lang=EN-US style='color:#004488;text-decoration:none'>ini_set</span></b></a></span><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#F6F6F2'>(</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 lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#F6F6F2'>, </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 lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#F6F6F2'>);</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#F6F6F2'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Peter Droogmans</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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.</span><o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello Lee Rowlands,<br><br>I have added two lines into .htaccess file but it doesn't work.<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>"php_value session.cookie_lifetime 0<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>php_value session.gc_maxlifetime 0"<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Could you give me some ideas?<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>thank you<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Fri, Jul 6, 2012 at 4:39 PM, Nam PHAM <<a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a>> wrote:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Thank you for your quick response.<br><br>I will try as you said and let you know the result later.<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>edit the session.cookie_lifetime in .htaccess<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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>> <o:p></o:p></p></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Nam Pham</b><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Phone: (+84) 932 830 330<br>Email: + <a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Skype: nampham-mbm<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yahoo: allstars_men<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>-- <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Nam Pham</b><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Phone: (+84) 932 830 330<br>Email: + <a href="mailto:nampham@mbm.vn" target="_blank">nampham@mbm.vn</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a><o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Skype: nampham-mbm<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Yahoo: allstars_men<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div></div></div></div></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <o:p></o:p></p><div><p class=MsoNormal><b>Nam Pham</b><o:p></o:p></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><o:p></o:p></p></div><div><p class=MsoNormal> + <a href="mailto:allstarsmen@gmail.com" target="_blank">allstarsmen@gmail.com</a><o:p></o:p></p></div><div><p class=MsoNormal>Skype: nampham-mbm<o:p></o:p></p></div><div><p class=MsoNormal>Yahoo: allstars_men<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>