Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    May 2010
    Posts
    18
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question Simple .htaccess set cookie code

    I'm new to .htaccess. And can't find a tutorial anywhere for this. So forgive the simple question.

    What do I need to add to this code to set the cookie to expired today's date + 365, and make it accessible by third party websites?

    Code:
    Header set Set-Cookie "cscvisit=true"
    Thanks
    Last edited by thewiizard; 05-08-2010 at 10:49 PM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •