Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Transmit Session IDs in URLs (Session trans_sid equivalent Laravel)

We are making microsites using Laravel 5 which are included as Iframe in another webpage.

Internet Explorer has the problem, that session cookies are not working in iframe.

So we developed a quite hacky solution to keep the session IDs in the URLs.

I am wondering if there is a ready-made solution for this (I will post my solution later as answer / make a nice module if there is not already a good solution)

like image 347
Alex Avatar asked Apr 23 '15 08:04

Alex


1 Answers

There is a solution to get your cookies working which you might want to try and might be preferable to putting session IDs in the URL.

Cookie blocked/not saved in IFRAME in Internet Explorer

like image 56
Totoro53 Avatar answered Oct 13 '22 20:10

Totoro53