So I've just found out that this line breaks my session handling in my PHP application:
session_set_cookie_params($ttl, '/', '.example.com');
Pretty logical though. I shouldn't be able to set a cookie exclusive to the example.com
and assume that it will work when I run the application at a staging server in the LAN.
But to the question, what domain should I enter to make this work when running my application at my LAN-based staging server which is accessed at 192.168.1.100
?
Thanks