Aljosa Mohorovic wrote:
> session cookie exists on client side and it is set to last 5 days.
> the problem is that after some time session data expires. cookie
> on client side exists ($PHPSESSID), but session data on server side
> does not exists.
>
> i think that the answer is something like:
>
The session_start() needs to come before any code outputs anything to
the browser, so in your case you need to put it before the and
tags:
Here's my code:
>
>
> //trying to start a session right here for the usr and pwd variables
> session_start();
> session_register("usr"
Am in need of help or I will loose my sanity!!! Im runnin Php 4.1.2 with
Apache 1.3.22 on Win32 with register_globals set to off. My script is as
follows:
If I check the cookie, its completely empty. Now if I change this to:
the cookie now contains:
myVar|s:9:"Something";
This is annoying a
3 matches
Mail list logo