0

I try to add cookie information but i have no result. The tool sends me the same information. I trying to displayed the mention HttpOnly after path

parameter => "Parameter : PHPSESSID=jndfbcev6hie1jm02btk19grs1; path=/ "

I've configured WP with those options without succes:

@ini_set('session.cookie_httponly', true); 
@ini_set('session.cookie_secure', true); 
@ini_set('session.use_only_cookies', true); 

and modified the header and the htaccess ! nothing run !

1

Have you tried adding

Header always edit Set-Cookie (.*) "$1; HttpOnly"
Header always edit Set-Cookie (.*) "$1; Secure"

to your .htaccess?

Found this on StackOverflow

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.