How do I expire a PHP session after 30 minutes? Asked 07 September, 2021 Viewed 363 times php session cookies 59 Votes 17 Answers I need to keep a session alive for 30 minutes and then destroy it. php session cookies Your reply on this question: Add Reply Cancel 17 Answer Order by Voted Recent Oldest Submit an answer Embed images in Question