What is a persistent cookie in php?



What is a persistent cookie in php?..

Answer / Deepk Bansal

A persistent cookie in PHP is a type of HTTP cookie that stores user-specific data on the client's computer for an extended period or until it expires. To create a persistent cookie, you can use the set_cookie() function and set the expiration time with the expires attribute.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

Explain php split() function.

1 Answers  


Does php need a closing tag?

1 Answers  


What’s the difference between htmlentities() and htmlspecialchars()?

1 Answers  


How to set cookies in PHP?

1 Answers  


How do I clear my browser session?

1 Answers  


What is session in php why it is use?

1 Answers  


What is a definer in mysql?

1 Answers  


What is the function used to change the root directory in PHP?

1 Answers  


How to reset/destroy a cookie in php?

1 Answers  


What does $globals mean?

1 Answers  


I finished my degree 4 years back. I didnt get job in software. In the time(for 4 years) i worked one kpo industries. but now i got job in php(40 employes working there) as fresher(Salary 8000). Shall i join in php. I have no knowledge about php. Can i do well in php. How will my carrier if i join in php? Please can you give your idea.? It will be more usefull to me.

2 Answers  


How to submit form without a submit button.

1 Answers  


Categories