Changes:
- Support for AJAX request with
application/json
content type (JSON Payload). Token now transferred through request header in case of POST request (AJAX). Added support in server to handle such tokens. - The parameters
path
,domain
&secure
of setcookie method made configurable via config file. Developers can set them according to needs. In case of no special requirement they can use the default settings.