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 2 of 2
  1. #1
    TrainReq
    Guest

    Setting a session

    How do I set a session with a value?

    Like $_SESSION['paidmember'] with the value of "yes"

  • #2
    New Coder
    Join Date
    Oct 2006
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello,
    you were very close.
    Here:
    PHP Code:
    $_SESSION['paidmember'] = true// If you want it like a boolean.
    $_SESSION['paidmember'] = "yes"// If you still want it that way. 


  •  

    Posting Permissions

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