ℹ️ Skipped - page is already crawled
| Filter | Status | Condition | Details |
|---|---|---|---|
| HTTP status | PASS | download_http_code = 200 | HTTP 200 |
| Age cutoff | PASS | download_stamp > now() - 6 MONTH | 0.6 months ago |
| History drop | PASS | isNull(history_drop_reason) | No drop reason |
| Spam/ban | PASS | fh_dont_index != 1 AND ml_spam_score = 0 | ml_spam_score=0 |
| Canonical | PASS | meta_canonical IS NULL OR = '' OR = src_unparsed | Not set |
| Property | Value |
|---|---|
| URL | https://teamtreehouse.com/library/browser-persistent-data-with-php |
| Last Crawled | 2026-03-19 23:52:48 (19 days ago) |
| First Indexed | 2018-10-06 03:51:36 (7 years ago) |
| HTTP Status Code | 200 |
| Meta Title | Browser Persistent Data with PHP Course (How To) | Treehouse |
| Meta Description | 49-minute PHP course: With smartphones, smartwatches and even smart appliances, the internet of things has brought us into a world to rival sci-fi ... |
| Meta Canonical | null |
| Boilerpipe Text | About this Course
With smartphones, smartwatches and even smart appliances, the internet of things has brought us into a world to rival sci-fi novels. We're no longer content with a simple search. We want context. We expect our devices to know our locations, preferences, desires and goals. We expect tailored suggestions, reminders and announcements. Most of the time we don't even realize how much our devices or websites are setup to assist us until our connection is broken or we try to use a different device, and all of a sudden our history and setting aren't there and it's so much harder to do or find anything. Users have come to expect so much and it's just getting worse.
So what does that mean to you as a programmer? How can you make your own applications "user aware"? It starts with data persistence.
What you'll learn
Data Persistence
Forms
URL Parameters
Sessions
Cookies |
| Markdown | ✨ [Earn college credits](https://join.teamtreehouse.com/college-credit/) in Cybersecurity, JS, HTML, CSS and Python
Join the [Treehouse affiliate program](https://join.teamtreehouse.com/affiliates/) and earn 25% recurring commission\!
✨ [Earn college credits](https://join.teamtreehouse.com/college-credit/) in Cybersecurity, JS, HTML, CSS and Python
Join the [Treehouse affiliate program](https://join.teamtreehouse.com/affiliates/) and earn 25% recurring commission\!
- ######
- [Sign In](https://teamtreehouse.com/signin?return_to=%2Flibrary%2Fbrowser-persistent-data-with-php)
- [Free Trial](https://teamtreehouse.com/subscribe/new?trial=yes)
### [Library](https://teamtreehouse.com/library)

# Browser Persistent Data with PHP
## 49-minute PHP Course
[Start Course](https://teamtreehouse.com/library/browser-persistent-data-with-php/types-of-persistence)
- [PHP Courses](https://teamtreehouse.com/library/topic:php)
- Intermediate
### About this Course
With smartphones, smartwatches and even smart appliances, the internet of things has brought us into a world to rival sci-fi novels. We're no longer content with a simple search. We want context. We expect our devices to know our locations, preferences, desires and goals. We expect tailored suggestions, reminders and announcements. Most of the time we don't even realize how much our devices or websites are setup to assist us until our connection is broken or we try to use a different device, and all of a sudden our history and setting aren't there and it's so much harder to do or find anything. Users have come to expect so much and it's just getting worse.
So what does that mean to you as a programmer? How can you make your own applications "user aware"? It starts with data persistence.
#### What you'll learn
- Data Persistence
- Forms
- URL Parameters
- Sessions
- Cookies
## Data Persistence on the Web
Data persistence is the means of storing information for a prolonged period of time. We can make applications that are "user aware" by using that information to set user preferences or show use input. We'll cover three ways to persist data in a browser. Forms, Sessions and Cookies. You can also combine these methods with a database or other file system for server based persistence.
[10 steps]()
- [Types of Persistence 3:27](https://teamtreehouse.com/library/browser-persistent-data-with-php/types-of-persistence)
- [Using Forms for Persistence 5:37](https://teamtreehouse.com/library/browser-persistent-data-with-php/using-forms-for-persistence)
- [Data Persistence 5 questions](https://teamtreehouse.com/library/browser-persistent-data-with-php/data-persistence-on-the-web/data-persistence)
- [Reading, Writing and Destroying Sessions 5:27](https://teamtreehouse.com/library/browser-persistent-data-with-php/reading-writing-and-destroying-sessions)
- [Checking for Sessions 2 objectives](https://teamtreehouse.com/library/browser-persistent-data-with-php/data-persistence-on-the-web/checking-for-sessions)
- [Writing Cookies 4:56](https://teamtreehouse.com/library/browser-persistent-data-with-php/writing-cookies)
- [Reading and Deleting Cookies 7:14](https://teamtreehouse.com/library/browser-persistent-data-with-php/reading-and-deleting-cookies)
- [Cookies 1 objective](https://teamtreehouse.com/library/browser-persistent-data-with-php/data-persistence-on-the-web/cookies)
- [Wrapping It All Up 1:12](https://teamtreehouse.com/library/browser-persistent-data-with-php/wrapping-it-all-up)
- [Browser Persistence 10 questions](https://teamtreehouse.com/library/browser-persistent-data-with-php/data-persistence-on-the-web/browser-persistence)
- #### Extra Credit
- Implement Code Challenges
- Check session for all 5 words, redirect to missing word
- Don't allow blank words
- If not starting over, show the last word they entered
- Set up a prompt to ask the user if they really want to delete the story.
- Write additional stories that use the same 5 words we utilized for the original story.
- Create a bank of different stories and save the entire story instead of the
- Use the language tool api to make sure the word conforms to the part of speech requested <http://wiki.languagetool.org/public-http-api>
### Teacher
- #### Alena Holligan
After starting out in fine art and moving into graphic design, Alena found her passion for programming over 15 years ago and has never looked back. Alena enjoys community and is excited to introduce people to the wonderful world of PHP and the Portland Tech Community.
When not at her computer, Alena enjoys exploring Portland with her friends and family, including her 3 young children. She also enjoys the Symphony, Cooking, Books, Yarn and Yoga.
### Download videos
You need to sign up for Treehouse in order to download course videos.
[Sign up](https://teamtreehouse.com/subscribe/new?trial=yes)
- [About](https://teamtreehouse.com/about)
- [Blog](https://blog.teamtreehouse.com/)
- [Careers](https://teamtreehouse.com/jobs)
- [Community](https://teamtreehouse.com/community)
- [Stories](https://teamtreehouse.com/stories)
- [Shop](https://teespring.com/stores/teamtreehouse)
- [Contact](https://teamtreehouse.com/support)
- [Gift Card](https://teamtreehouse.com/giftcard)
#### [See Full Catalogue](https://teamtreehouse.com/library)
#### [Techdegree](https://teamtreehouse.com/techdegree)
- [Front End Web Development](https://teamtreehouse.com/techdegree/front-end-web-development)
- [Full Stack JavaScript](https://teamtreehouse.com/techdegree/full-stack-javascript)
- [Python Development](https://teamtreehouse.com/techdegree/python-development)
- [Data Analysis](https://teamtreehouse.com/techdegree/data-analysis)
- [UX Design](https://teamtreehouse.com/techdegree/ux-design)
#### Tracks
- [Learn to Code for Beginners](https://teamtreehouse.com/tracks/learn-to-code-for-beginners)
- [Beginning Python](https://teamtreehouse.com/tracks/beginning-python)
- [Beginning SQL](https://teamtreehouse.com/tracks/beginning-sql)
- [Beginning Java](https://teamtreehouse.com/tracks/beginning-java)
- [...see more](https://teamtreehouse.com/tracks)
#### Courses
- [JavaScript Basics](https://teamtreehouse.com/library/javascript-basics)
- [Intro to HTML & CSS](https://teamtreehouse.com/library/introduction-to-html-and-css)
- [Python Basics](https://teamtreehouse.com/library/python-basics)
- [CSS Layout](https://teamtreehouse.com/library/css-layout)
- [...see more](https://teamtreehouse.com/library)
#### Explore
- [Plans](https://teamtreehouse.com/plans)
- [Affiliates](https://join.teamtreehouse.com/affiliates)
- [Perks](https://teamtreehouse.com/perks)
- [Free Treehouse Near Me](https://teamtreehouse.com/libraries/find-your-library)
- [Treehouse for Libraries](https://join.teamtreehouse.com/libraries/)
- [Treehouse for Businesses](https://teamtreehouse.com/teams)
[Terms & Conditions](https://teamtreehouse.com/terms) \| [Privacy](https://teamtreehouse.com/privacy)
© 2026 Treehouse Island, Inc.
 |
| Readable Markdown | ### About this Course
With smartphones, smartwatches and even smart appliances, the internet of things has brought us into a world to rival sci-fi novels. We're no longer content with a simple search. We want context. We expect our devices to know our locations, preferences, desires and goals. We expect tailored suggestions, reminders and announcements. Most of the time we don't even realize how much our devices or websites are setup to assist us until our connection is broken or we try to use a different device, and all of a sudden our history and setting aren't there and it's so much harder to do or find anything. Users have come to expect so much and it's just getting worse.
So what does that mean to you as a programmer? How can you make your own applications "user aware"? It starts with data persistence.
#### What you'll learn
- Data Persistence
- Forms
- URL Parameters
- Sessions
- Cookies |
| Shard | 167 (laksa) |
| Root Hash | 17654434789099829567 |
| Unparsed URL | com,teamtreehouse!/library/browser-persistent-data-with-php s443 |