Hii @kartik,
Use the session_set_cookie_params funciton to set the session.
If necessary call this function before session_start() call.
Try this:
$lifetime = strtotime('+50 minutes', 0);
session_set_cookie_params($lifetime);
session_start();
Thank you!