In my product review form the form key fetched from core/session is cached and does not pass the validation upon form submission. So,
$this->getRequest()->getParam('form_key') return different values.
I don't want to switch off block's caching because it will impact on performance. Is there any way to get actual form key in js? Is it stored somewhere as js variable?
Or is there any other way i can get valid form key without switching the cache off?