php - CodeIgniter Flashdata not being overwritten -


struggling find similar reports, thought i;d ask if else has encountered this, or knows why might happening.

i'm setting session flashdata, , using keep_flashdata property ensure it's not lost on couple of requests. it's used exclusively in linear process ends in confirmation screen displays flashdata.

the issue sometimes, although relatively randomly, display old flashdata.

i.e. if user runs through process once, they'll correct data, second time might data last time. encountered situation whereby second time flashdata blank, third time flashdata first run through (which mad)

the values going flashdata exist, whole thing break if didn't. isn't case of trying set new flashdata undefined , ending retaining old data - scenario makes sense me.

anyone seen this? because of how sessions work? maybe it;s related keep_flashdata property? there way 'unset' flashdata?

you need destroy session if exists @ beginning of process:

sess_destroy(); 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -