session - Codeigniter flashdata not working in internet explorer and google chrome -


Codeigniter FlashData is not working in Internet Explorer and Chrome but it is working on Firefox. What can be the problem?

In my Controller: -

  $ this-> Session-> Set_flashdata ('login_reference', 'your username or password is incorrect.'); Redirect (base_url () 'admin / login'.);   

In my opinion

  resonance '& lt; Span & gt; ' $ This- & gt; Session-> Flash data ('login_ar'). & Lt; / Span & gt; ';   

In Chrome and that means I'm getting an empty span, while in Firefox it's displaying flash data.

There are similar questions on the stack but I have not got any answer which is working.

I solved my problem.

I can change from 'sess_cookie_name' to 'ci_session' to 'cisession' < P> and sess_expiration to 7200 to 84200 and it was fixed.

Comments

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -