Marcos it took me some time to understand this problem since I never use the sessions via cookies and hence never stumbled over this odd behaviour. The problem is that PHP by default for whatever reason uses a session cookie at the level "/", which means for the whole domain. So 2 different applications on the same domain share and overwrite the session of the the others, with the effect you noticed.
In order to force separate session cookies for every separated application it is necessary to add the following lines at the very beginning of the "map_xyz.phtml" file, before any "require_once..." line: if (ini_get("session.use_cookies")) { ini_set("session.cookie_path", dirname($_SERVER['SCRIPT_NAME'])); } Then this problem should have been resolved. So far I don't see any reason why one would like to have 2 applications with different URL's sharing the same session, so I will add this to the code as default setting. Armin On 23/05/2011 14:49, Marcos Bastos wrote: > Hello Armin Burger. > > To appear as feedback, the only change in the configuration given the link to > confirguração installed was the parameter in php.ini: session.use_cookies who > was 1, changed to 0. Now it is working properly. > > Thank you for your help. > > Marcos N. Bastos > > > > > ________________________________ > De: Armin Burger<armin.bur...@gmail.com> > Para: pmapper-users@lists.sourceforge.net > Enviadas: Sábado, 21 de Maio de 2011 6:35:32 > Assunto: Re: [pmapper-users] How do I have two different applications running > on > a pmapper? > > see: > > http://svn.pmapper.net/trac/wiki/DocQuickinstall#Usingcookiesforsessions > > > > On 20/05/2011 19:28, Marcos Bastos wrote: >> Good afternoon! >> >> How do I have two applications running on a pmapper (version 3) without >> interfering in each other when used / viewed simultaneously in the same > browser >> (mozilla or ie)? >> I have developed two applications pmapper with different folders and >> application >> data (4 folders in total, but when I run the two in two different browser >> windows to perform any operations involving the generation of new image in an >> application (1) occurs when rendering / rezise in another application (2) > loads >> the image from the initial application(1). An application is interfering with >> another. I've changed the httpd.d (httpd_pmapper.conf), I created the tmp >> directory and ms_tmp different for each application, made changes to files. >> map (web: ImagePath , ImageUrl, template) and not resolved. >> I need this because two application are in different system coordinates >> (datum). >> Thank you in advance any help. >> >> Mark >> ------------------------------------------------------------------------------ >> What Every C/C++ and Fortran developer Should Know! >> Read this article and learn how Intel has extended the reach of its >> next-generation tools to help Windows* and Linux* C/C++ and Fortran >> developers boost performance applications - including clusters. >> http://p.sf.net/sfu/intel-dev2devmay >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users