Trouvé ça :
"jfgatineau@ec44.scolanet.org
10-Jul-2002 01:36
Using IIS 5 and PHP4.1.2
if you use :
setcookie("user","$info",time()+15552000);
and after :
Header("Location: index.php");
the cookie can't be set.
solution :
print '<html><head><meta http-equiv="refresh"
content="0;URL=index.php"></head></html>';
instead of the header.
it's running!
Jeff"
Quelqu'un a des infos sur ce sujet ?
Salut,
Par rapport à ce mail, est-ce qu'un sauveur potentiel va se pencher sur ce
problème d'authentification IIS, ou dois-je définitivement faire une croix
sur mon site sous SPIP sur ce serveur ?
Je précise que je suis obligé de me faire héberger sur ce serveur et que je
ne veux pas utiliser autre chose que SPIP (je suis devenu accro...) : des
tensions commencent à se faire sentir professionnellement.
a+
Chris
Trouvé ça :
"jfgatineau@ec44.scolanet.org
10-Jul-2002 01:36
Using IIS 5 and PHP4.1.2
if you use :
setcookie("user","$info",time()+15552000);
and after :
Header("Location: index.php");
the cookie can't be set.
solution :
print '<html><head><meta http-equiv="refresh"
content="0;URL=index.php"></head></html>';
instead of the header.
it's running!
Jeff"
Quelqu'un a des infos sur ce sujet ?
_______________________________________________
spip-dev@rezo.net - http://listes.rezo.net/mailman/listinfo/spip-dev
Documentation de SPIP : http://www.uzine.net/spip
From gfabre@resaction.com Fri Sep 6 13:15:09 2002
Return-Path: <gfabre@resaction.com>
Received: from smtp.noos.fr (zola.noos.net [212.198.2.76])
by miel.brainstorm.fr (Postfix) with ESMTP id 1DB4C1C130
for <spip-dev@rezo.net>; Fri, 6 Sep 2002 13:15:09 +0200 (CEST)
Received: (qmail 67969867 invoked by uid 0); 6 Sep 2002 11:15:08 -0000
Received: from unknown (HELO dagweg.dyndns.org) ([81.65.132.12])
(envelope-sender <gfabre@resaction.com>)
by 212.198.2.76 (qmail-ldap-1.03) with SMTP
for <spip-dev@rezo.net>; 6 Sep 2002 11:15:08 -0000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Mime-Version: 1.0 (Apple Message framework v543)
Salut Chris,
Par rapport à ce mail, est-ce qu'un sauveur potentiel va se pencher sur
ce problème d'authentification IIS, ou dois-je définitivement faire
une croix sur mon site sous SPIP sur ce serveur ?
Le problème c'est qu'on n'a rien pour tester (enfin, moi en tout cas,
et les autres développeurs sûrement pas plus). Je ne sais pas si Nicolas,
qui est dans le coin, a plus d'infos sur ce genre de problème.
Une piste. Prend le fichiers spip_cookie.php3 ; repère les dernières
lignes du fichier, qui contiennent :
// redirection
@header("Location: " . $cible->getUrl());
Remplace ces deux lignes par :
// redirection
echo "<html><head>";
echo "<meta http-equiv='Refresh' content='0; url=".$cible->getUrl()."'>";
echo "</head><body></body></html>";
Dis-moi si ça marche comme ça ?
a+
Antoine.
Note : c'est un bug qui existe depuis 1997 (et toujours pas corrigé)....
http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q176113&
Antoine wrote: