Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

session.use_cookies

Discussion in 'General Discussion' started by dflame, Jun 24, 2003.

  1. dflame

    dflame Member

    Joined:
    Nov 28, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    We are trying to turn session cookies off for one domain and are not having a lot of luck with a .htaccess file.

    Can any one supply the full correct argument for this in a .htaccess file ?

    cPanel.net Support Ticket Number:
     
  2. www-lab

    www-lab Well-Known Member

    Joined:
    Feb 1, 2003
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    php_value session.use_cookies "0"

    cPanel.net Support Ticket Number:
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. dflame

    dflame Member

    Joined:
    Nov 28, 2002
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    many thx

    cPanel.net Support Ticket Number:
     
  4. jameshsi

    jameshsi Well-Known Member

    Joined:
    Oct 22, 2001
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    316
    So, If I use this "php_value session.use_cookies "0"" in the .htaccess file, my php system will not write a cookie to visitors PC ?
     
  5. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,216
    Likes Received:
    10
    Trophy Points:
    313
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Not for PHP sessions, see the related documentation at: http://us.php.net/session

    Instead, PHP sessions will be recorded server-side. However, The PHP Group recommends using cookies rather than storing sessions on the server, as a security measure against social engineering.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice