Ashok9
asked on
Session on PHP
I have a php page. That has AJAX code with in it. My Question is that if the page is not refreshed for more than two hours but AJAX script runs in each 5 mins. In that time will the session expire.
My total ambition is that the session should not end until user closes window or sign outs or any interuption from client side.
My total ambition is that the session should not end until user closes window or sign outs or any interuption from client side.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You have to call session_start for the session variable array to be available, else it will be empty. Theoretically also, if that didn't matter for the session array to available, then it would time out anyway.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER