Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Sharing session across subdomains
- // added following in /vendor/autoload.php
- $some_name = session_name("some_name");
- session_set_cookie_params(0, '/', '.dak9.com');
- session_start();
- // For using sessions across the subfolders and sub-domains.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement