JEFF MACK Posted April 18, 2015 Share Posted April 18, 2015 I use a cookie to help with a few small features outside of the forum and it always worked like a charm. I haven't seem the same system option for a site cookie here in 4 unless its tucked aways somewhere. Anyone know if it is still there or a way to activate it? Link to comment Share on other sites More sharing options...
Rhett Posted April 18, 2015 Share Posted April 18, 2015 This shouldn't be needed, and has moved to a power setting via constants.php if needed for SSO etc.If you need to set a cookie domain in IPS4, add this to your constants.php (where x=cookiedomain)define( 'COOKIE_DOMAIN', 'x' ); Link to comment Share on other sites More sharing options...
Lince Posted January 23, 2016 Share Posted January 23, 2016 This is indeed necessary sometimes. I have several apps in different subdomains and I need the cookie to be only "domain.com" instead of "www.domain.com" because if not, the sessions wouldn't work in the rest of the subdomains. This way I can create some kind of SSO using IPS members. It would be nice to have the constants.php file with some reference to all available variables. Regards. Link to comment Share on other sites More sharing options...
AutoItScript Posted January 23, 2016 Share Posted January 23, 2016 As a makeshift reference I usually open up init.php and that has a nice-ish list of these sorts of settings that is fairly easy to understand/guess. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.