Unsetting a session variable sometimes does not work with http and https

Created on 5 June 2018, over 6 years ago
Updated 5 September 2024, 3 months ago

I am getting problem in using session variable. In chrome it's working but in Mozilla some time session data is being removed automatically.

I have tried all the way which i have gotten after search. But still I am getting problem. only some data from array is being removed.

I am using 5 form all form is placed on different pages. And all data is being saved in session. So, in some case some field value is being lost.

I have tried to change session variable in php.ini . I have also used ini_set('session.gc_probability', 1); ini_set('session.gc_divisor', 100); ini_set('session.gc_maxlifetime', 200000); ini_set('session.cookie_lifetime', 0); $conf['https'] = FALSE; I have used these variable in setting.php . I have made simple form using form api. After submit I am saving value in session. So, in some case some value is being missed when i goes onto another page.

🐛 Bug report
Status

Active

Version

7.0 ⚰️

Component
Bootstrap 

Last updated about 6 hours ago

No maintainer
Created by

🇮🇳India Kunal Kumar

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024