7 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for MasterHacker110

I am trying to let my website create a cookie on the user's system so that it will know if the user is logged in or out. But it doesnt seem to work. Here is my javascript cookie code: function createCookies() { // Creates a cookie on the user's computer …

Member Avatar for MasterHacker110
0
262
Member Avatar for joshl_1995

Hello Community, Is there a way to make it so a cookie will expire after the user has been inactive for 10 minutes. Please Help...

Member Avatar for joshl_1995
0
245
Member Avatar for tingwong

Hello all. For my project I have to create a snack machine with mints and cookies. So far I have gotten an array of cookies with the code below. However an interesting problem I'm having is my output: OATMEAL cookie LEMON cookie null CHOCOLATE_CHIP cookie OATMEAL cookie LEMON cookie null …

Member Avatar for JamesCherrill
0
1K
Member Avatar for logicaweb

I'm making a B2B portal that can see just loggedin business customers that I add to base, I finished almost all, but there is one problem. When customer add some goods to his cart, goes to checkout and confirm his order he will have a link to invoice.php?ids=156 and that …

Member Avatar for urtrivedi
0
168
Member Avatar for Surfsup

I have 2 links ('black' & 'white'). I wish for the user to click on one of these links in order to addClass and removeClass to the body and for that change of body class to persist throughout as the user browses other pages of the website (or indeed on …

Member Avatar for Surfsup
0
1K
Member Avatar for rayidi

Dear Friends, I'm Currently using php session ( $_SESSION[''] ), I want to use $_COOKIE Because when a user didn't click the logout button and he closed the website. still he is showing Online because i write the code at the logout page. So If we use $_COOKIE it is …

Member Avatar for diafol
0
187
Member Avatar for reco21

how do I set the path of this cookie to my whole site "/"? [ICODE]setcookie("name$id$uid", $id, $month);[/ICODE] currently this is what I have. How do I format the above to set the cookie on a global scale for the entire site.

Member Avatar for reco21
0
189

The End.