<div>My apologies. The problem below was a configuration problem.&nbsp; One wiki virtual directory was defined as with Windows autentication and the other was not in IIS 6.0.&nbsp; When both virtual directories were under Windows authentication the problem vanished.
</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Pep.<br><br>&nbsp;</div>
<div><span class="gmail_quote">2005/6/2, Pep Condal &lt;<a href="mailto:pcondal@gmail.com">pcondal@gmail.com</a>&gt;:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>First of all congratulations for this outstanding program.</div>
<div>&nbsp;</div>
<div>I have a problem with session expriation.</div>
<div>&nbsp;</div>
<div>I installed Beta 37 on a Windows 2003 IIS 6 Server machine with PHP 5.0.4 in CGI mode.</div>
<div>&nbsp;</div>
<div>This is for a family of intranet wikis running from the same machine.</div>
<div>&nbsp;</div>
<div>One of our requirements was to have Windows Logon Integration, so I modified author.php to retrieve the user from&nbsp;&nbsp;the _SERVER variable and have set the IIS virtual directory with Windows Authentication.&nbsp; I removed the Author field from the interface so that all modifications are logged with the domainname\username author id. 
</div>
<div>&nbsp;</div>
<div>This works well.&nbsp; However, the information requirements in our installation is segmented across users and some users will have one wiki, other users another one and some users both of them.&nbsp; Each wiki is a virtual directory of IIS and will run from different physical directories but from the same machine. 
</div>
<div>&nbsp;</div>
<div>While both wikis work well independently, I noticed that if I jump from one wiki to the next one on the same machine, although they are different directories, the pmwiki engine thinks it is the same session and I get the following error at the bottom of the screen.&nbsp; The workaround is to close Internet Explorer and start it again, so that the session is somehow reset, but I expect that some users will be jumping often from one wiki to the other one, and therefore I would like to know&nbsp;if there is any part of the code&nbsp;handling with this specifically so I can adjust it for my special multi-wiki implementation with Windows ids. 
</div>
<div>&nbsp;</div>
<div>This is the error:</div>
<div>----</div>
<div>PHP Warning: session_write_close() [<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://tsv03.apsic.com/wikiloc/function.session-write-close" target="_blank">function.session-write-close</a>]: open(C:\WINDOWS\TEMP\\sess_q89r3fk45hk4iiq56t9a6hp245, O_RDWR) failed: Permission denied (13) in C:\pmwikiLoc\pmwiki.php on line 1234 PHP Warning: session_write_close() [ 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://tsv03.apsic.com/wikiloc/function.session-write-close" target="_blank">function.session-write-close</a>]: Failed to write session data (files). Please verify that the current setting of 
session.save_path is correct () in C:\pmwikiLoc\pmwiki.php on line 1234 </div>
<div>&nbsp;</div>
<div>----</div>
<div>&nbsp;</div>
<div>Thanks for your help,</div><span class="sg">
<div>&nbsp;</div>
<div>Pep.</div></span></blockquote></div><br>