After creating a session variable (using cookies), how do I expire it automatically after a given time. Sort of an expiration date rather than doing an unset(). Is it session_cache_expire($minutes) -- is it this? I thought this was used in versions 4.2.0 of PHP and lower.
Any advice is appreciated. Thanks!