Welcome Guest, Not a member yet? Register   Sign In
tempdata not getting erased after given time
#1

hi,
iam using
$this->session->set_tempdata('messege', 'hi', 5); 
in my controller to set tempdata. and i used 
<div class="card-body">
               <?php ?>
                    <span style="color: red;"><?php echo $this->session->tempdata('messege'); ?></span>   
               <?php  ?>
                                  <div class="table-responsive">


to call tempdata.But its not geting erased after 5 seconds
Reply


Messages In This Thread
tempdata not getting erased after given time - by adil - 07-23-2018, 03:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB