Hi I have the following problem: I developed a system that it runs perfec in my PC and in hosting server with Linux. But the session vars don't work in a hosting server with Windows... The technical contact of the Server with Windows says me that the problem is a space before the function session_start() in my code... I tried this, but don't work... Have any idea why session vars don't work in a Windows Server??? I have the same version exactly of the system in a server with Linux: http://www.pentagonoonline.com.ar/soporte and in a server with Windows: http://www.iracbiogen.com.ar/virtual Try to login into the system with: user (usuario): master password (clave): gh306 In Linux you can login without problems, but in Windows you won't to leave the login page. This is because in the Windows server the session var that I'm using to determine if the user has loged correctly don't work... How can I solve this problem? I send you the files procesa_login.php (processes login) and controla.php (controls). The first one verifies the user name and password in the database (no problems), the second verify that the user has loged correctly (problems with the session var $_SESSION['autentificado'] (authenticated).) Well I wait to have explained to myself, and... sorry for my english... Ahead of time, thank you very much, Tom. begin 666 procesa_login.php M/#\@<V5S<VEO;E]S=&%R="@I.PT*("!I;F-L=61E*")C;VYE>"YP:' B*3LO M+U!R;W9E92!U;F$@9G5N8VEO;B!P87)A(&-O;F5C=&%R<V4@86P@<V5R=FED M;W(@9&4@8F%S92!D92!D871O<R!->5-13"X-"B @+R\D;&EN:SUC;VYE8W1A M<G-E*")L;V-A;&AO<W0B+")C;W1O;2(L(F=R965N,S V(BPB8V]T;VU?<&5N M=&%G;VYO(BD[(" O+W!A<F$@96P@<V5R=F5R#0H@("\O)&QI;FL]8V]N96-T M87)S92@B;&]C86QH;W-T(BPB<F]O="(L(B(L(G-O<&]R=&4B*3LO+U)E86QI M>F$@;&$@8V]N97AI;VX@8V]N(&QA(&)A<V4@9&4@9&%T;W,-"B @)&YI8VL] M)%]03U-46R=N:6-K)UT[#0H@("1C;&%V93TD7U!/4U1;)V-L879E)UT[(" - M"B @)&-U<G-O/21?4$]35%LG8W5R<V\G73L-"B @#0HO+T%U=&5N=&EC86-I M;VX@9&4@=7-U87)I;RTM+2TM+2TM+2TM+2TM+2TM+2TM+2TM#0HD=7-U87)I M;W,];7ES<6Q?<75E<GDH(E-%3$5#5" J($923TT@861M:6YI<W1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F5L<V4-"B @(" @(" @>R @(" @(" @#0H@(" @(" @(" @(" D:&]R85]A M8W1U86P]9V5T=&EM96]F9&%Y*"D[+R]/8G1I96YE(&QA(&AO<F$@86-T=6%L M+@T*(" @(" @(" @(" @)&AO<F%?96YT<F%D83TD7U-%4U-)3TY;(FAO<F$B M73LO+T]B=&EE;F4@;&$@:&]R82!D92!L82!U;'1I;6$@<&5T:6-I;VXN#0H@ M(" @(" @(" @(" D9&EF97)E;F-I83TD:&]R85]A8W1U86Q;(G-E8R)=+21H M;W)A7V5N=')A9&$[+R]#86QC=6QA(&QA(&1I9F5R96YC:6$@96YT<F4@;&$@ M:&]R82!D92!I;F=R97-O('D-"B @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @("\O(&QA(&AO<F$@86-T=6%L+@T*(" @(" @(" @ M(" @(&EF*"1D:69E<F5N8VEA/C$R,# I#0H@(" @(" @(" @(" @>R\O4VD@ M;&$@9&EF97)E;F-I82!E;B!M87EO<B!A(&1I97H@;6EN=71O<RP@96P@=7-U M87)I;R!E<R!D96-O;F5C=&%D;R!Y(&5N=FEA9&\@82!L82!P86YT86QL82!D M90T*(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @+R]L;V=I;BX- M"B @(" @(" @(" @(" @(" @('-E<W-I;VY?9&5S=')O>2@xxxx*(" @(" @ M(" @(" @(" @(" @:&5A9&5R*"),;V-A=&EO;CH@;&]G:6XN<&AP(BD[#0H@ M(" @(" @(" @(" @('T-"B @(" @(" @(" @(" @96QS90T*(" @(" @(" @ M(" @("![#0H@(" @(" @(" @(" @(" @(" D7U-%4U-)3TY;(FAO<F$B73TD M:&]R85]A8W1U86Q;(G-E8R)=.R\O06-T=6%L:7IA(&QA(&AO<F$@9&4@;&$@ M=6QT:6UA('!E=&EC:6]N+@T*(" @(" @(" @(" @("!](" @(" @(" @(" - M"B @(" @(" @(" @?2HO#0H)?2 -"@EE;'-E#0H)>PD)(" -"@D))%]315-3 M24].6R=A=71E;G1I9FEC861O)UT](DY/(CL-"@D):&5A9&5R*"),;V-A=&EO :;CH@;&]G:6XN<&AP(BD[#0H@(" @?0T*/SX` ` end -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php