954,587 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

using curl to automatically login on behalf of user

hi all,

i want to use curl to automatically login on behalf of a user & get the SessionID for that user.

i will configure php to store the sessionID in the url instead in a cookie on the user's browser.

once curl has login on behalf of the user, i get the sessionID from curl .
then i access the desired website by appending the sessionID from curl.

i want to know if this is a feasible solution for automatic login to a website.

thanks
coolatt :(

CoolAtt
Light Poster
39 posts since Nov 2008
Reputation Points: 10
Solved Threads: 0
 

It can be done on some sites simply by sending the same http request as the normal login process would send but many sites have security protocols in place which make it a little harder. I believe there is a firefox plugin that can record the http request info when you login the normal way then you can program curl to send the same data and fingers crossed for if it works.

cwarn23
Occupation: Genius
Team Colleague
3,033 posts since Sep 2007
Reputation Points: 413
Solved Threads: 259
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: