How to set the expiration time for session cookie in PHP?
I'm setting the session in index page which can be visited multiple time and the problem is this continuously resets the expiration time which I don't need.
How to use the session_set_cookie_params properly in the index page which is visited multiple times?