Welcome Guest, Not a member yet? Register   Sign In
No Session Expiry or expiration of ci_session after logout
#1

Dear All/Group members,

I am using CodeIgniter Framework version 2.1.0. I have got an issue of No Session expiry after a user logs out of the application. The ci_session variable is not getting expired after the user logs out from the application. Please help me out or suggest changes..

Steps:
1) User logs into the application providing valid credentials. He then logs out of the application.

2) The ci_session value gets set to a new value in Set-Cookie.

3) But by using the previous ci_session value(before logout) in the 'Cookie', I am getting logged in again into the application without entering valid credentials.


Thanks in advance!!

Regards,
Ansuman
Reply
#2

What does your logout function look like? Are you destroying the session?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB