PHP Nette - how to identify an anonymous user (session_id ())

PHP Nette - how to identify an anonymous user (session_id ())

Hello, how to identify an anonymous user in PHP Nette?

This is about me - an anonymous user without registration chooses, for example, goods, it can be added to the cart and I will save it in the database. but how do I know that the record in the database belongs exactly to this user? According to the IP address, it is insufficient ... Does such an anonymous user already have a clear identifier from PHP?

Thank you

REPLY


Hi,

use the session_id() function to identify an anonymous user in PHP.

Související obsah

programovani

nette

php

session

Komentáře

Vaše reakce na PHP Nette - jak identifikovat anonymního uživatele (session_id())

Reference

Podívejte se na naše reference

Prohlédnout

Aplikace

Podívejte se na naše aplikace

Prohlédnout

Co umíme?

Podívejte se co umíme

Prohlédnout

Co umíme?

Vytváříme sofistikované aplikace pro náročné

Od webových aplikací přes android až po převodové můstky či složité informační systémy.

Podívejte se k nám

Máte ještě čas? Podívejte se na další rubriky

Tento web používá soubory cookie. Dalším procházením tohoto webu vyjadřujete souhlas s jejich používáním.. Více informací zde.