Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8852141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T13:19:35+00:00 2026-06-14T13:19:35+00:00

Codeigniter flashdata not working in internet explorer and chrome but it is working on

  • 0

Codeigniter flashdata not working in internet explorer and chrome but it is working on firefox.What could be the issue?.

In My controller:-

$this->session->set_flashdata('login_error','Your username or password is incorrect.');
redirect(base_url().'admin/login');

In My view

echo  '<span>'.$this->session->flashdata('login_error').'</span>';

In Chrome and ie i’m getting blank span whereas in firefox it is displaying flash data.

There are similar questions on the stack but i could not find any answer which are working.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T13:19:36+00:00Added an answer on June 14, 2026 at 1:19 pm

    I solved my problem.There was some issue with ie and chrome cookie management.

    I change the 'sess_cookie_name' in config from 'ci_session' to 'cisession'

    and sess_expiration from 7200 to 84200 and it got fixed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I’m having some issues with Codeigniter flashdata. Everything seems to be working in Firefox,
In CodeIgniter I would do: print_r ($this->db->queries); In Yii I tried: print_r (Yii::app()->db) But
In CodeIgniter I'm using a base CRUD My_model , but I have this small
CodeIgniter - I have a public function in a controller but I don't want
CodeIgniter has a method $this->load->vars($array) that is ideally used in the parent Controller to
Okay, I have this in my Codeigniter controller: public function post($id) { $data['query'] =
I am relatively new to CodeIgniter, so I'm not sure if this is just
Whats wring with this code? if(isset($this->session->flashdata('login_error'))) { // Line 39 echo You entered an
CodeIgniter is brilliant but I'm using it to develop a site where users need
Ok this is a weird one. I've just moved the CodeIgniter code to my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.