[Cartoweb-users] Problem with Exportpdf plugin

Olivier DURR odurr at agape-ped.org
Wed Jan 16 11:01:49 EST 2008


 Hello,

Many thanks Alexandre; I put in my client.php
ini_set('session.use_cookies',1); and it works well.

Olivier

-----Message d'origine-----
De : Alexandre Saunier [mailto:alexandre.saunier at camptocamp.com] 
Envoyé : mercredi 16 janvier 2008 16:27
À : Olivier DURR
Cc : cartoweb-users at lists.maptools.org
Objet : Re: [Cartoweb-users] Problem with Exportpdf plugin

Hello,

Olivier DURR wrote:
> In my php.ini i have "session.use_cookies=0"; if I put this value to 1 
> (ie session.use_cookies=1), my problem with exportpdf plugin is 
> solved; but I need the value of session.use_cookies to 0 for another 
> application !

You may switch off or on PHP parameters separately from an application to
another.

If you use an apache virtualhost for your cartoweb application you may add
in your apache config something like:
<Directory /path/to/cartoweb3/htdocs/>
php_flag session.use_cookies "on"
</Directory>

Else maybe you can add this php_flag directive in a .htaccess file?

Another (hackish) solution is to add
ini_set('session.use_cookies', 1);
in your php.

AS
----------------------------------------------------------------------------
-----------
Orange vous informe que cet  e-mail a ete controle par l'anti-virus mail. 
Aucun virus connu a ce jour par nos services n'a ete detecte.





More information about the Cartoweb-users mailing list