• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post method not working in Codeigniter

#11
[eluser]InsiteFX[/eluser]
Use jQuery cookie.
Code:
/* global ajax setup
------------------------------------------------------------------------- */
$.ajaxSetup({
  type: 'GET',
  datatype: 'json',
  // for CodeIgniter CSRF protection...
  data: { csrf_test_name: $.cookie('csrf_cookie_name') },
  timeout: 20000
});


Messages In This Thread
Post method not working in Codeigniter - by El Forum - 06-28-2012, 05:50 AM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 07:32 AM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 10:26 AM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 10:41 AM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 10:51 AM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 01:26 PM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 10:03 PM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 10:53 PM
Post method not working in Codeigniter - by El Forum - 06-28-2012, 11:00 PM
Post method not working in Codeigniter - by El Forum - 07-05-2012, 12:10 AM
Post method not working in Codeigniter - by El Forum - 07-05-2012, 02:21 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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