Title: How To Work With Cookies and Sessions
Course: COP 2842 Internet Programming > Section: Twelve: How To Work With Cookies and Sessions

Introduction

In all but the simplest of web applications, you need to keep track of your users as they move through an application. That’s why this module shows how to use sessions to track users. But first, since sessions use cookies, this module begins by showing how to use cookies.

Learning Outcomes

By the end of this section, you will be able to:

- Work with cookies and sessions.

Instructional Objectives

Upon completion of this module, you will be able to:

- Set and get a cookie.
- Disable and enable cookies.
- Create and end a session.
- Set and get session variables.

Reading / Resource

Read:

- Chapter 12: How to work with cookies and sessions (Pages 348-376)