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

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -