w3sl3y2003 Posted June 21, 2006 Share Posted June 21, 2006 hi guys,i'd just like to know if the following can be accomplished and if so how?I have a webpage (lets call it x.php) from which i will transfer to another website (lets call it y.php). On y.php i have to provide a username and password. after doing that i'll be provided with a session id. the session id is appended to the address of y.php . i need to get that session id because x.php has to submit orders but it can't do it without the session id. this entire process has to be automated. Can anyone out there help me? Quote Link to comment https://forums.phpfreaks.com/topic/12525-session-retrieval/ Share on other sites More sharing options...
zq29 Posted June 21, 2006 Share Posted June 21, 2006 You can set the session ID with session_id() function. Quote Link to comment https://forums.phpfreaks.com/topic/12525-session-retrieval/#findComment-47969 Share on other sites More sharing options...
w3sl3y2003 Posted June 21, 2006 Author Share Posted June 21, 2006 Thanks for the response SemiApocalyptic.I'm not sure how that would help me. even if i could just get the full url of y.php after i provide the username and password that would be great. is that even possible? Quote Link to comment https://forums.phpfreaks.com/topic/12525-session-retrieval/#findComment-48004 Share on other sites More sharing options...
zq29 Posted June 21, 2006 Share Posted June 21, 2006 [!--quoteo(post=386365:date=Jun 21 2006, 01:30 PM:name=w3sl3y2003)--][div class=\'quotetop\']QUOTE(w3sl3y2003 @ Jun 21 2006, 01:30 PM) [snapback]386365[/snapback][/div][div class=\'quotemain\'][!--quotec--]Thanks for the response SemiApocalyptic.I'm not sure how that would help me. even if i could just get the full url of y.php after i provide the username and password that would be great. is that even possible?[/quote]Oh, I'm sorry, I missunderstood you. With regards to your question, I'm not sure, hopefully somone will pop along soon that does know :) Quote Link to comment https://forums.phpfreaks.com/topic/12525-session-retrieval/#findComment-48009 Share on other sites More sharing options...
w3sl3y2003 Posted June 21, 2006 Author Share Posted June 21, 2006 okay, thanks nonetheless though! Quote Link to comment https://forums.phpfreaks.com/topic/12525-session-retrieval/#findComment-48014 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.