<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;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.php-function-or-constant
        {mso-style-name:php-function-or-constant;}
span.php-string
        {mso-style-name:php-string;}
span.php-constant
        {mso-style-name:php-constant;}
.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 lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<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'>Check your settings.php file, drupal is setting the cookie lifetime as well using </span><span class=php-function-or-constant><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"><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 class=php-string><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 class=php-constant><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'>);<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Lucida Console";color:#222222;background:#F6F6F2'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Cheers<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Peter Droogmans<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'><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:17<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>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><o:p> </o:p></p></div><div><p class=MsoNormal>"php_value session.cookie_lifetime 0<o:p></o:p></p></div><div><p class=MsoNormal>php_value session.gc_maxlifetime 0"<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Could you give me some ideas?<o:p></o:p></p></div><div><p class=MsoNormal>thank you<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></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:<o:p></o:p></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.<o:p></o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></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:<o:p></o:p></p><p class=MsoNormal>edit the session.cookie_lifetime in .htaccess<o:p></o:p></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>> <o:p></o:p></p></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></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>