Using Cookies in PHP
Wednesday, March 10th, 2010What is a Cookie?Cookies are small bits of information that can be stored on a client computer. Once a cookie is created, it will expire after a specified time period. All the information stored in a cookie exist until it expires or deleted by the user.
Why do we need Cookies? Now-a-days most of the websites use cookies to store small amounts of information. Websites can read the values from the cookies and use the information as desired. The browser is capable of keeping track of the websites and their corresponding cookies and is capable of reading the information from relevant cookies. Some common use of cookies include:
- User’s aesthetic preference for a specific site.
- User keys to link them with their personal data – as used by many Shopping Cart Applications.
- Allowing a user to remain ‘logged on’ until he explicitly logs out or the browser window is closed.






Smarty is categorized as a “Template engine”, though developers describe it more detailed as a “Template/Presentation Framework”, that offers developers and programmers ample tools to make extensive coding tasks easier by replacing tags with their appropriate counterparts. Smarty is aimed to hasten and make the development process simpler for all who aim to develop pages for the internet.
There are several platforms on which web pages are deployed and with thousands of people using different versions of software,
With many of the internet’s web pages and applications based on PHP, many questions are being raised by the security and robustness of the system so to speak as we go through years of rapid development. Now the
In web development, it is quite necessary to separate the roles of the page designer and the