Skip to main content


How does a friendica instance get the "contact id" of a visitor? / Need SQL help


reshared this

Unknown parent

Marek Bachmann
For further discussion / remark to myself:

https://github.com/friendica/friendica/blob/develop/src/App.php#L605-L610

could be a good start for "visitor" is identified.

$requester = HTTPSignature::getSigner('', $_SERVER);
if (!empty($requester)) {
	Profile::addVisitorCookieForHandle($requester);
}


The $requester is only filled on full reload (ctrl + f5)

reshared this