Welcome Guest, Not a member yet? Register   Sign In
Flashdata Issue
#1

[eluser]vikascoollives[/eluser]
I have inserted permissions in the session for each function . It works fine for me but when i take more time fill the form it shows permission error as permissions are lost . Can anybody help?
#2

[eluser]oldmatt[/eluser]
Are you using it in any forms that work?

I ask because sometimes people get
Code:
$this->session->set_userdata();
and
Code:
$this->session->set_flashdata();
mixed up.

Also In the past, I have used:
Code:
$this->session->flashdata();

When trying to set the data and didn't realize it.

Just by the question you asked it sounds like the session is timing out before you have filled out the form, but I have never experienced that problem before.
#3

[eluser]oldmatt[/eluser]
Oh,

Also, have you set up the session encryption key in the config.php file?
#4

[eluser]vikascoollives[/eluser]
No, I have not set up the session encryption key and it works fine for all the forms i have used.
#5

[eluser]vikascoollives[/eluser]
I have used this in my form :

if($this->session->flashdata('frame_url')!="")
$redirect_to = $this->session->flashdata('frame_url');
else
$redirect_to = $this->session->flashdata('referer_url');


Can this be the issue ?




Theme © iAndrew 2016 - Forum software by © MyBB