Re: problemas con sessiones

From: Date: Tue, 05 Aug 2003 22:20:44 +0000
Subject: Re: problemas con sessiones
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-39030@lists.php.net to get a copy of this message
HE ENCONTRADO UNA SOL..Y ESO PONER: session_save_path ("./tmp"); AL PRINCIPIO DE CADA PROGRAMA. pero eso es una chap... a ver si logramos ver cual es el problema. saludos. Javier ----- Original Message ----- From: "Chang" <chang@infomail.lacaixa.es> To: <lista@phpes.com> Sent: Tuesday, August 05, 2003 10:36 PM Subject: [PHP-ES] problemas con sessiones > hola a todos: > > antes q nada, deciros q nunca usé sesiones, pero he de hacerlo hora. > El problema q me sale lo he leido y releido en el php.net y he > aplicado las sol. q indican pero nada, a ver si me ayudais: > > el prog. no es mas facil por q no puede... > > <?php > session_start(); > $_SESSION[v1]="cuenta"; > $_SESSION[v2]="nombre"; > ?> > > y al ejecutarlo me da: > > Warning: session_start() [function.session-start]: > open(/tmp\sess_8fcd0c842c9dbf82a68953c98f407c1f, O_RDWR) failed: No such > file or directory (2) in D:\Apache2\htdocs\hola\astycom_fac\TMPsudjj5yj5.php > on line 2 > > Warning: session_start() [function.session-start]: Cannot send session > cookie - headers already sent by (output started at > D:\Apache2\htdocs\hola\astycom_fac\TMPsudjj5yj5.php:2) in > D:\Apache2\htdocs\hola\astycom_fac\TMPsudjj5yj5.php on line 2 > > Warning: session_start() [function.session-start]: Cannot send session cache > limiter - headers already sent (output started at > D:\Apache2\htdocs\hola\astycom_fac\TMPsudjj5yj5.php:2) in > D:\Apache2\htdocs\hola\astycom_fac\TMPsudjj5yj5.php on line 2 > > > sin embargo el el php.ini he cambiado lo del /tmp a ".;c:\tmp" y me sigue > dando lo mismo > > > ayudaaaaa. gracias > > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com > >

« previous php.general.es (#39030) next »