Welcome Guest, Not a member yet? Register   Sign In
Dynamic generated dropdown value is not passed to controller after page refresh.
#5

(01-07-2019, 06:05 PM)Shawn Wrote: Are you passing back a new csrf hash when your controller responds to the AJAX call? Normally you get an access forbidden error if you don't, but maybe it's buried.

Code:
$ajax_data['csrf_token_name'] = $this->security->get_csrf_token_name();
$ajax_data['csrf_hash'] = $this->security->get_csrf_hash();

The main problem is that on page refresh the form data do not contain the dynamic generated dropdown value. I don't have any csrf token functionality in here. 
:/

//Life motto
if (sad() == true) {
     sad().stop();
     develop();
}
Reply


Messages In This Thread
RE: Dynamic generated dropdown value is not passed to controller after page refresh. - by HarrysR - 01-07-2019, 06:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB