Ver Mensaje Individual
  #5 (permalink)  
Antiguo 03/12/2002, 07:44
Avatar de joseisrael
joseisrael
 
Fecha de Ingreso: noviembre-2002
Ubicación: Maracay, Edo. Aragua
Mensajes: 221
Antigüedad: 21 años, 5 meses
Puntos: 1
A ver si puedo Responder.

Saludos.

Cluster tratare de responder cada una de las preguntas.

P: - Como propagas el SID? .. automatico/manual

R: NO LO SE, te muestro la parte del php.ini referente a esto:

----------------------------------------------------------------------------

[Session]
; Handler used to store/retrieve data.
session.save_handler = files

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP's session functions.
session.save_path = C:\PHP\sessiondata ; argument passed to save_handler

; Whether to use cookies.
session.use_cookies = 1


; Name of the session (used as cookie name).
session.name = PHPSESSID

; Initialize session on request startup.
session.auto_start = 0

; Lifetime in seconds of cookie or, if 0, until browser is restarted.
session.cookie_lifetime = 0

; The path for which the cookie is valid.
session.cookie_path = /

; The domain for which the cookie is valid.
session.cookie_domain =

; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php

; Percentual probability that the 'garbage collection' process is started
; on every session initialization.
session.gc_probability = 1

; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
session.gc_maxlifetime = 1440

; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.
session.referer_check =

; How many bytes to read from the file.
session.entropy_length = 0

; Specified here to create the session id.
session.entropy_file =

;session.entropy_length = 16

;session.entropy_file = /dev/urandom

; Set to {nocache,private,public} to determine HTTP caching aspects.
session.cache_limiter = nocache

; Document expires after n minutes.
session.cache_expire = 180

----------------------------------------------------------------------




P: - Propagas usando cookie el SID?

R: NO LO SE


P: - Aunque parezca obvio .. indicas y tienes creado el directorio donde PHP guardará las sessiones que creea? ..

R: SI. Es un archivo .php que mantiene en variables todas las variables de sesion que requiero manejar a través de los administradores de contenido. EJ: Nombres y Apellidos, ID, email, teléfonos, etc. Este archivo también tramita la muerte de las variables una ves que los usuarios "Cierran Sesion".


P: - Que versión de PHP usas en tu IIS ?

R: PHP 4.2.3 && IIS 5.0




A manera de comentario te digo lo siguiente:


- Tengo IIS 5.0 sobre win200.
- Tengo PHP 4.2.3 para win.
- Tengo mysql-3.23.46a-win.
- Manejo el MySql con WinMySqlAdmin Ver 1.3 for Win95/98/NT/2000



Ojala y con esta info me puedan hechar una mano.



NOCHERO: Al instalar el PHP en tu PC, el IIS automáticamente lo entiende.

Pero tienes que hacer algunos cambios por el Register (Según version de win) para que todo funcione bien. Además tienes que especificarle al IIS que ahora también se va a encontrar con archivos tipo: .php; .php3 o todos con los que tu esten trabajando.
__________________
Aprender Siempre. Lema de Vida

José Molina