Вопрос

It seems to be that my PHP session is expiring/deleting when the browser is closed.

Is there a way I can prevent this to happen ? Is it only a PHP setting or is there a browser say in this as well ?

Это было полезно?

Решение 2

You need:

However, if you want your session to persist after browser was closed, it seems that it's not "session" by definition. I.e. technically, you can do that - but logically that seems to be architecture smell.

Другие советы

That is the behaviour of a session . If you don't want that to happen make use of Cookies.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top