Set PHP session via cURL - will it set the session for the client or the server? -
i have website uses php sessions manage logged in users. company has asked users sign in site , when come site, user automatically signed in.
to using curl post user details site site, validate them , create session log them in.
what can't head around though is: session created server sent curl post or user's computer? if other site posts data site , create session based on successful login, when user comes site, logged in?
i have started building mechanism , wanted check before far - i'm beginning think won't work.
the session created server make curl request, not final client. can generate token when server make curl request, give token final client request site token. can check token log him in
Comments
Post a Comment