Fri 07 Sep, 2018 03:22 pm

In that case, you need a session cookie - like what this site does, that is why you dont need to login everytime you visit.
What language are you using for your work?


Sat 08 Sep, 2018 07:24 am
Php can u post a piece of code please like how the session cookie works


Sat 08 Sep, 2018 04:34 pm

Here is a good example:

session_set_cookie_params('86400'); // 1 week
You can alternatively try setting it from your .htaccess file

ini_set('session.cookie_lifetime', 86400);
ini_set('session.gc_maxlifetime', 86400);


Sat 08 Sep, 2018 10:02 pm
Thank you I thought it was cookie lifetime So how do we resume the session from the code is it automatic or is there a way to do it

Lord Jerry

Thu 13 Sep, 2018 03:25 am
Lord Jerry wrote:
Well its been long I touched PHP but try this [code]

My code are not showing