first try uncommenting the 4 lines with 'header(...' in map.phtml. Then 
  try disabling the use of cookies for PHP sessions in php.ini 
(session.use_cookies = 0).

armin

Andrea Borruso wrote:
> Dear all,
> I'm working pmapper 1.9.5 beta. I use it starting from a report: for 
> every record of the report I have a zoom to map button. Every button 
> should have to open a map centered into a different layer with a 
> different extent.
> I use a different javascript parameter for every link. In example I have 
> for two of these records:
> openNew(850, 600, 'it', 
> '&dg=per_vul,italia&me=443203.888,4511178.599,464434.708,4529793.019')
> openNew(850, 600, 'it', 
> '&dg=c_grav,italia&me=418581.868,4514601.438,433247.828, 4527804.358')
> 
> I have a strange behavior. When I open the first link it's all ok; then 
> I close the pop-up window opened and I click in the second link. As 
> result I have the same layers of the first link at the same extent, but 
> if I see the url I can see a rigth url. If I close the browser, and 
> start this time from the second link I have the right layers and the 
> right extents, but if I close the pop-up window and I click on the first 
> link I have wrong layers and extent (those one of the first link). It 
> seems to me it's something related to cookie/session. Am I right? How is 
> it possible to change this behavior, and to have always the right layers 
> and the right extent?
> You can test here this behavior:
> http://esempi.mapserver.it/pmapper195/test.htm
> 
> I have PHP Version 4.3.11, Windows 2003 server with IIS
> 
> 
> Thank you,
> 



Reply via email to