---
title: "Discussion on \"PHP Sessions vs Cookies for GTU Web Programming: Build a Tiny Login and Actually Understand It\" | Hashnode"
description: "Discussion on \"PHP Sessions vs Cookies for GTU Web Programming: Build a Tiny Login and Actually Understand It\". Classic web programming question: \"Differentiate session and cookie with example\". Aur classic answer: half the class writes \"session is on server, cookie is on client\" and then stares at the ceiling"
url: "https://hashnode.com/posts/php-sessions-vs-cookies-for-gtu-web-programming-build-a-tiny-login-and-actually-understand-it/6b0fa2ede8490e4fe09f3023"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [PHP Sessions vs Cookies for GTU Web Programming: Build a Tiny Login and Actually Understand It](https://gtuhero.hashnode.dev/php-sessions-vs-cookies-for-gtu-web-programming-build-a-tiny-login-and-actually-understand-it?utm_source=hashnode&utm_medium=feed)

Classic web programming question: "Differentiate session and cookie with example". Aur classic answer: half the class writes "session is on server, cookie is on client" and then stares at the ceiling

4h ago · 5 min read · gtuhero.hashnode.dev  
Read the article

-   [#phpweb-development](https://hashnode.com/tag/phpweb-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Hiren Kavad](https://hashnode.com/@gtuhero)

@gtuhero

  
[View profile](https://hashnode.com/@gtuhero)

Building GTU Hero (gtuhero.com), GTU previous year papers with the most repeated questions highlighted.

Building GTU Hero (gtuhero.com), GTU previous year papers with the most repeated questions highlighted.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
