[Cartoweb-users] trouble between ajax and sent header
Oliver Christen
oliver.christen at camptocamp.com
Mon Apr 14 02:33:00 EDT 2008
a frozen map is usualy the result of javascript error, do you have any?
>
> Hi,
> in order to download a file I've used the header way, that is :
>
> header('Content-Description: File Transfer');
> header('Content-Type: application/octet-stream');
> header('Content-Disposition: attachment;
> filename='.basename($file));
> header('Content-Transfer-Encoding: binary');
> header('Expires: 0');
> header('Cache-Control: must-revalidate, post-check=0,
> pre-check=0');
> header('Pragma: public');
> header('Content-Length: ' . filesize($file));
>
> the download is ok, but after chosing every button in download dialog, the
> map is totally freezed , then if I push any button external to the map,
> for
> example the rows which move the map a bit at south,north east etc, the map
> has been unfreezed.
>
> A solution could be a reload the page after saving the file, but how can I
> perform this ?
> Is there a way to send the correct header after the first one ?
>
> I've used IE 6.0.
>
> THanks in advace
>
> Please, help it's urgent
>
>
>
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
>
> Sponsor:
> Scopri le tue passioni con Leonardo.it!
>
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7653&d=20080413
>
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
More information about the Cartoweb-users
mailing list