Reputation: 252
Or are they only manipulated by the server? For instance, can we always assume that Auth.User.Id always corresponds to the current user?
Upvotes: 5
Views: 2120
Reputation: 4038
Session variables are always kept and protected at the server. When using PHP's default implementation at least. So yes, as long as its set right.
Only a unique ID identifying the session is sent to the client.
Upvotes: 8