I will create a redirect with a very big custom variable in the Magento 2 backend.
Now I use this method:
$resultRedirect->setPath('custom/url/index',array('_query'=>array('very_big_array'=>$arr);
When I try this, my server says: This URL is too long.
How can I pass a very big variable within my redirect? Maybe the only way is: set a session? But if yes, how can I do this? Do I need this Session manager?
\Magento\Backend\Model\Session $backendSession
Thanks for your reply.