• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page Refresh poblem

#7
[eluser]Swayam[/eluser]
Code:
$data = array('uname'=>$this->input->post('e_uname'),...
ok..this is also a good way..direct assigning..removing unnecessary variables..i will follow it next time..yes..definitely i m taking inputs from the user..i also have to put validation in it..
Sir,i need your help once again..i have a logout link..which is working fine..here is the code..
Code:
public function logout()
{
  $this->session->sess_destroy();
  redirect('http://localhost/CodeIgniter_2.1.2/index.php/login/flogout','refresh');
}
function flogout()
{

$this->load->view('login_page','refresh');
}
but there is one problem ..when user comes to login page after logout and again pressing back button..then it shows the previous page..which should not be happen..Glad if u help your student..!!


Messages In This Thread
Page Refresh poblem - by El Forum - 09-07-2012, 04:32 AM
Page Refresh poblem - by El Forum - 09-07-2012, 05:56 AM
Page Refresh poblem - by El Forum - 09-07-2012, 06:02 AM
Page Refresh poblem - by El Forum - 09-07-2012, 06:44 AM
Page Refresh poblem - by El Forum - 09-07-2012, 06:52 AM
Page Refresh poblem - by El Forum - 09-07-2012, 07:01 AM
Page Refresh poblem - by El Forum - 09-07-2012, 07:25 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.