1

If someone was making a TOR hidden service using PHP, Apache, and MySQL, would sessions have to be done differently?

Considering that many different users could be coming from the same IP address (using the same exit node), how does that change things?

Should I rely on setting client-side cookies that expire after a certain time period once logged in? Should I be checking cookies to see if they are logged in instead of $_SESSION?

I have searched high & low on here and Google and can't seem to find anyone else asking this question.

I have read the TOR documents on configuring a hidden service, how TOR works, etc.

4

1 回答 1

3

默认的 PHP 会话与 TOR 完美配合。没有必要改变任何东西。

所有其他问题都与 TOR 无关,但在使用会话时受制于通常的考虑因素。您是否希望登录在一定的非活动时间后过期?如果是,您必须自己实施。

于 2013-09-28T18:40:05.203 回答