• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem jQuery in CI 2.0

#8
[eluser]SPeed_FANat1c[/eluser]
hello, I am having the problem too:

Code:
wrap.load(project_url + 'lt/adminuzsakovai/show-company-activity',
                {
                    companyID: $(':hidden[name=imones_id]').val(),
                   // csrf_token_name: "action=do&ci;_csrf_token="+$.cookie("ci_csrf_token")
                    csrf_token_name: $(':hidden[name=csrf_test_name]').val()
                }

I am selecting the csrf_token_name from the form which is generated using form_open(). But when I post this value, I cannot access the function, get an error:

"NetworkError: 500 Internal Server Error - http://localhost/autoloadsSVN/lt/adminuzsakovai/show-company-activity"

when I go to this page using browsers adrres bar then I can acces that url. If I disable csrd protection, then it also works.

Why is it not working even when I post the csrf_token_name ?


Messages In This Thread
Problem jQuery in CI 2.0 - by El Forum - 02-13-2011, 01:09 PM
Problem jQuery in CI 2.0 - by El Forum - 02-13-2011, 01:16 PM
Problem jQuery in CI 2.0 - by El Forum - 02-13-2011, 01:34 PM
Problem jQuery in CI 2.0 - by El Forum - 02-13-2011, 01:45 PM
Problem jQuery in CI 2.0 - by El Forum - 02-13-2011, 02:40 PM
Problem jQuery in CI 2.0 - by El Forum - 02-13-2011, 09:29 PM
Problem jQuery in CI 2.0 - by El Forum - 03-01-2011, 02:27 AM
Problem jQuery in CI 2.0 - by El Forum - 07-18-2011, 03:26 AM
Problem jQuery in CI 2.0 - by El Forum - 07-18-2011, 10:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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