Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > PHP / mySQL

Notices


Reply
 
Thread Tools Rate Thread Display Modes
Old 08-07-2015, 04:56 AM   #1
chinmay.sahoo
Registered User
 
Join Date: Dec 2013
Location: Banglore
Posts: 336
Send a message via AIM to chinmay.sahoo Send a message via MSN to chinmay.sahoo
Arrow What Is a Persistent Cookie in PHP?

A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer. By default, cookies are created as temporary cookies which stored only in the browser's memory. When the browser is closed, temporary cookies will be erased. You should decide when to use temporary cookies and when to use persistent cookies based on their differences:




* Temporary cookies can not be used for tracking long-term information.
* Persistent cookies can be used for tracking long-term information.
* Temporary cookies are safer because no programs other than the browser can access them.
* Persistent cookies are less secure because users can open cookie files see the cookie values




Hanuman Chalisa Yantra | Body Buildo | Fair Look | | Slim Pro | Sandhi Sudha | Hot Shapers
chinmay.sahoo is offline   Reply With Quote

Old 08-20-2015, 05:24 AM   #2
rikshaw
Registered User
 
Join Date: Aug 2015
Location: dhaka
Posts: 25
Post Persistent Cookie in PHP?

I have already try this.

setcookie("_GuestID",$userID,time() + (20 * 365 * 24 * 60 * 60));

Last edited by rikshaw; 03-29-2016 at 10:32 PM..
rikshaw is offline   Reply With Quote
Old 11-14-2015, 10:06 AM   #3
smmexpertss
Registered User
 
Join Date: Sep 2015
Location: UK
Posts: 625
Also called a permanent cookie, or a stored cookie, a cookie that is stored on a user��s hard drive until it expires (persistent cookies are set with expiration dates) or until the user deletes the cookie. Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.
smmexpertss is offline   Reply With Quote
Old 11-18-2015, 09:15 PM   #4
ramskl
Registered User
 
Join Date: Sep 2015
Posts: 275
A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer.
ramskl is offline   Reply With Quote
Old 11-30-2015, 04:11 AM   #5
lewissmith
Registered User
 
Join Date: Sep 2015
Location: USA
Posts: 23
What Is a Persistent Cookie in PHP?

A persistent cookie is a cookie which is stored in a cookie file permanently on the browser's computer.

Content of a Persistent cookie remains unchanged even when the browser is closed.
Persistent cookies are less secure because users can open cookie files see the cookie values.
Persistent cookies can be used for tracking long-term information.

Setting cookie in php:
Cookies in PHP can be set using the setcookie() function

Syntax:
Setcookie(name, value, expire, path, domain);

Outsource Zend PHP Development | Application Development Company India


Last edited by lewissmith; 11-30-2015 at 04:13 AM..
lewissmith is offline   Reply With Quote
Old 12-10-2015, 09:35 PM   #6
clonect
Registered User
 
Join Date: Dec 2015
Posts: 11
Also called a permanent cookie, or a stored cookie, a cookie that is stored on a user��s hard drive until it expires (persistent cookies are set with expiration dates) or until the user deletes the cookie. Persistent cookies are used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.
clonect is offline   Reply With Quote
Old 11-19-2017, 10:27 PM   #7
John Sheperd
Registered User
 
Join Date: Nov 2017
Location: Unit 2, Stephendale Yard, Stephendale Rd, Fulham, London, UK, SW6 2LR
Posts: 6
Persistent Cookie in PHP

A persistent cookie in PHP is a cookie which is stored in a cookie file permanently on the browser's computer. They used to collect identifying information about the user, such as Web surfing behavior or user preferences for a specific Web site.
Application Development Company India
John Sheperd is offline   Reply With Quote
Old 11-23-2017, 06:29 AM   #8
Lebar.123
Registered User
 
Join Date: Nov 2017
Posts: 539
Also called a permanent cookie, or a stored cookie, a cookie that is stored on a user s hard drive until it expires (persistent cookies are set with expiration dates) or until the user deletes the cookie.
__________________
Get your email validated by our Email Validation Service
Check if an email is valid @ ZeroBounce
Lebar.123 is offline   Reply With Quote
Old 02-22-2018, 08:55 PM   #9
aesthetiqclinic
Registered User
 
Join Date: Jan 2018
Posts: 97
permanent cookie, or a stored cookie, a cookie that is stored on a user s hard drive until it expires (persistent cookies are set with expiration dates) or until the user deletes the cookie.
__________________
Laser Hiar Removal
aesthetiqclinic is offline   Reply With Quote
Old 02-25-2018, 01:23 AM   #10
smmexpertss
Registered User
 
Join Date: Sep 2015
Location: UK
Posts: 625
A third-party cookie is one that is placed on a user's hard disk by a Web site from a domain other than the one a user is visiting. ... Third-party cookies are often blocked and deleted through browser settings and security settings such as same origin policy; by default, Firefox blocks all third-party cookies.
smmexpertss is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP introduction stevepatton PHP / mySQL 53 07-08-2018 12:11 PM
Importance of Php Development for Web Development tech.biztech Programming General 51 07-08-2018 03:56 AM
What is the meaning of a Persistent Cookie? binarynpixel PHP / mySQL 6 04-02-2014 02:43 AM
PHP project training in ahmedabad, live project training in php ahmedabad anantitsolution Post your ad here 1 07-16-2013 07:42 PM
Are you aware of the fact that PHP programming is the most widely used one? johnrichards774 PHP / mySQL 3 02-07-2012 04:41 AM


All times are GMT -7. The time now is 02:05 AM.


Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.