I think that it is a good idea to implement a good entropy source from
something like .
I belive that it goes something like this (by looking briefly at the
platform SDK help).
HCRYPTPROVhCryptProv;
BYTEpbData[8];
CryptAcquireContext(
&hCryptProv,
NULL,
NULL,
PROV_RSA_FUL
if you want to expire cookie set it's date in the past ... (eq. 0 or 10 or
something smaller then time() gives you :)
greets,
Jürgen.
""Glenn"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Please, can anybody tell me how to set the lifetime
> of a session
Please, can anybody tell me how to set the lifetime
of a session without cookies, in PHP 4 and IIS?
I have tryied this on the main.php file but it did't work
session_set_cookie_params ( time()+10);
the session did't killed
best regards
//Glenn
_