How to use POST while keeping CSRF as true |
Thanks for your help.
For point number 2, this is what I can see in developer tool: General Request URL:http://localhost/Projects/New_folder/dashboards/user/country_actvity_search Request Method ![]() Status Code:403 Forbidden Remote Address:[::1]:80 Referrer Policy:no-referrer-when-downgrade Response Headers Connection:Keep-Alive Content-Length:1131 Content-Type:text/html; charset=UTF-8 Date:Tue, 02 Jan 2018 05:58:20 GMT Keep-Alive:timeout=5, max=99 Server:Apache/2.4.28 (Win32) OpenSSL/1.0.2l PHP/7.1.10 Set-Cookie:csrf_cookie_name=08af56109abf30e2787847894cfcc24c; expires=Tue, 02-Jan-2018 07:58:20 GMT; Max-Age=7200; path=/; domain=http://localhost/Projects/New_folder/dashboards/ X-Powered-By ![]() Request Headers Accept:*/* Accept-Encoding:gzip, deflate, br Accept-Language:en-US,en;q=0.9 Connection:keep-alive Content-Length:86 Content-Type:application/x-www-form-urlencoded; charset=UTF-8 Cookie:ci_session=1e4emamhsuvf2ho1pjc5tnavaiup1243 Host:localhost Origin:http://localhost Referer:http://localhost/Projects/New_folder/dashboards/user/country_overview User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36 X-Requested-With:XMLHttpRequest Form Data csrf_token_name:cdbbad48a99402d377961d7348a1bc4c country_name:Sweden country_year:2017 Also, I have kept $config['csrf_regenerate'] = FALSE; Can you help with the issue. Thanks, -Krati |
Messages In This Thread |
How to use POST while keeping CSRF as true - by kratisalgia - 12-28-2017, 06:09 AM
RE: How to use POST while keeping CSRF as true - by PaulD - 12-28-2017, 09:00 AM
RE: How to use POST while keeping CSRF as true - by dave friend - 12-28-2017, 02:24 PM
RE: How to use POST while keeping CSRF as true - by kratisalgia - 12-29-2017, 12:26 AM
RE: How to use POST while keeping CSRF as true - by dave friend - 12-29-2017, 08:04 AM
RE: How to use POST while keeping CSRF as true - by kratisalgia - 01-01-2018, 11:21 PM
RE: How to use POST while keeping CSRF as true - by dave friend - 01-02-2018, 06:42 AM
RE: How to use POST while keeping CSRF as true - by developer_fisdom - 06-05-2023, 04:13 AM
RE: How to use POST while keeping CSRF as true - by XtreemDeveloper - 01-01-2018, 11:41 PM
RE: How to use POST while keeping CSRF as true - by InsiteFX - 01-02-2018, 04:08 AM
|