Mind blowing SEO improving and Google rank increasing Signature Rotator SEO Tool.


PHP set cookie?

Tags: None
letsplay Offline referral

Posts: 274
Joined: Jul 2013
Reputation: 1

Senior Member
How to set a cookie with PHP that will have name and expiration date?
marcus_avrelius Offline referral

Posts: 2,424
Joined: May 2013
Reputation: 102

Support Team
This will set cookie that will expire in 24 hours.
PHP Code:
$value ="mycookie value";

You can leave value empty if you wish:
PHP Code:
Rapidsoft technologies Offline referral

Posts: 196
Joined: Sep 2015
Reputation: 1

there are few other techniques to set cookie by code.
inder Offline referral

Posts: 12
Joined: Feb 2016
Reputation: 0

Junior Member
To view or modify cookies settings, follow these steps:
In Internet Explorer, click Internet Options on the Tools menu, and then click the Security tab.
Click the Web content zone you want, and then click Custom Level.
Under Cookies, click the options you want, click OK, and then click OK.

User(s) browsing this thread: 1 Guest(s)