Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Cyber Security
  3. Question
Cyber Security

Does session_regenerate_id () without the parameter capable of improving security?

Asked by Andrea Bailey Apr 7, 2022 801 views 1 answer
Share

About this question

I want to decrease session fixation attack vulnerability, hence I used session_regenerate_id() before login. Somehow I'm in dark now and not sure the right answer for questions below:


When we don't set the function parameter to TRUE then old files won't be deleted. Is this at all secure when we have access to old sessions? Can an attacker use old sessions to fixate sessions?

Should I use the function before login?

Should I set the parameter to true?

Your answer

1 Answer

More Cyber Security discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Cyber Security Blogs

Guides, tips and career advice on Cyber Security from JanBask experts.