Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION How to add $cookie_secure?
#3
(2020-10-30, 00:41:11)Felix Wrote: Give us more information:

First of all:
can you repeat this message popup ?

Second:
Where did this message popup
What windows were open during the message popup
http https ?
What browser are you using

Hi Felix, the message isn't on screen it's generated online by an organisation who evaluate the website (which I can't disclose for security reasons) and then I read their notices. The website uses HTTPS

I noticed that the GS cookie GS_ADMIN_USERNAME  already has a setting of http_only but not secure

I need to add secure as I think it may resolve the issue and close the cors problem.

I looked in the configuration.php but changing the setting for $cookie_secure to TRUE, didn't work.

Code:
// cookie config
$cookie_name        = lowercase($name_url_clean) .'_cookie_'. $ver_no_clean; // non-hashed name of cookie
$cookie_login       = 'index.php'; // login redirect
$cookie_time        = '10800';     // in seconds, 3 hours
$cookie_path        = '/';         // cookie path
$cookie_domain      = null;        // cookie domain
$cookie_secure      = null;        // cookie secure only
$cookie_httponly    = true;        // cookie http only


Thanks
Reply


Messages In This Thread
How to add $cookie_secure? - by craiga - 2020-10-29, 20:44:24
RE: How to add $cookie_secure? - by Felix - 2020-10-30, 00:41:11
RE: How to add $cookie_secure? - by craiga - 2020-10-30, 01:11:22
RE: How to add $cookie_secure? - by Felix - 2020-10-30, 01:20:55
RE: How to add $cookie_secure? - by Felix - 2020-10-30, 01:33:56
RE: How to add $cookie_secure? - by Felix - 2020-10-30, 02:00:19
RE: How to add $cookie_secure? - by craiga - 2020-10-30, 18:52:31



Users browsing this thread: 1 Guest(s)