Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
76 views

I'm facing an issue with toast notifications in my CodeIgniter app. After a failed login attempt, the error message is displayed correctly using Toastr. However, this message keeps appearing on every ...
Shahreyar Habibi's user avatar
0 votes
2 answers
70 views

I try to make an alert for invalid login so I use $this->session->set_flashdata('error', 'Invalid Credentials'); redirect("admin/login"); and i put this in my index ...
Firdaus Rashid's user avatar
0 votes
1 answer
1k views

I want to redirect route to index of same controller. My scenario is after store of data in database I want to show message. Now I tried using FlashData like: $this->session->setFlashdata('...
guradio's user avatar
  • 15.6k
0 votes
1 answer
42 views

I have a codeigniter project I am working on. When a certain flashdata gets added the site locks up for no apparent reason. I write some data to my database or remove it. Then according to a success ...
PJC's user avatar
  • 103
0 votes
1 answer
95 views

When I use CodeIgniter session set_flashdata and insert data in database page going looping infinity. but without use set_flashdata it working fine perfectly. $this->session->set_flashdata('...
Vishal Vasani's user avatar
0 votes
1 answer
407 views

I am trying to get the value of the flashdata and userdata from one function to another within the same controller. It seems that I am using redirect in the func A to func B. So when the func loads it ...
Kunal Parekh's user avatar
1 vote
2 answers
4k views

I read on stack overflow about flash data only valid till next server request, therefore I made new flashdata for couple of message display.. here below is the my code This is my controller ...
user avatar