How to increase session timeout in PHP

preview_player
Показать описание

In PHP, sessions are maintained to check if the user is active or not. When you work on an application, you open it and do some changes and then close it. This duration is called a session.
By default, the PHP session expired when you close the browser or after a specific time. That usually is 24 minutes, but it depends on your server configuration. You can manually increase session timeout in PHP according to your scenario if you follow the steps which you are going to learn in this video.

FOLLOW US

#php #session #timeout #codeleaks #guide #tutorial
Рекомендации по теме
Комментарии
Автор

ma'am your voice is cute. And thank u so much for helping me in my assignment.😇

RajanikantPatil-ivwc
Автор

9:31 Never, *EVER, * trust user input!
You should never perform DB queries with unsanitized user input.
I understand that this is a video on sessions, but someone may copy-paste the entirety of your code & use it on a live site.
At the very least you should have mentioned that the query shown is *UNSAFE* & it's only for demonstration purposes.

KatorNia
Автор

Just a question when you are stiling the form you put #form and then with 20% but this is 20% of what?

tiagoborges
Автор

The only problem is that after login in and closing the browser, when you reopen de url it closes de session. How can you fix this ? Thank you!

alphamx
Автор

Hi mam
I face some problem in coding
I need your help

yogiandkrish
Автор

When we clear background history of phone then our session is automatically expired

yogiandkrish
Автор

I want the session to be expired only when the user logout

yogiandkrish
join shbcf.ru