2013 – How to set Path Attribute for Cookie and its importance

I want to set Path attribute to cookie for our internet facing website, i already set cookie attribute below as secure

when i add path attribute our SharePoint site it not work it shows the message ‘redirected too many times.’

Here i want to know in which scenario path attribute required?
Is this not set it has any security vulnerability to our site?

I check in browser developer tools there is Path value for cookies showing ‘/’ root directory.