Hi,
I’m really stock with csrf in IE and I had no where to go but here.
see this link for complete details.
main idea is that no matter what I do, CSRF won’t work in IE.
any help or suggestions?!
This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.
The active forums are here.
November 03, 2013 3:42pm
Subscribe [1]#1 / Nov 03, 2013 3:42pm
Hi,
I’m really stock with csrf in IE and I had no where to go but here.
see this link for complete details.
main idea is that no matter what I do, CSRF won’t work in IE.
any help or suggestions?!
#2 / Apr 15, 2014 8:20am
You can do something like following
[removed]
$(function(){
$('.someButton').click(function(){
var post_data = {
'<?php echo $this->security->get_csrf_token_name(); ?>' : '<?php echo $this->security->get_csrf_hash(); ?>'
};
$.ajax({
type: "POST",
url: "url",
data: post_data,
success: function(msg){
/// do something
}
});
});
});
[removed]