Jump to content


Photo

session retrieval


  • Please log in to reply
4 replies to this topic

#1 w3sl3y2003

w3sl3y2003
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 21 June 2006 - 10:26 AM

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?

#2 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 21 June 2006 - 10:51 AM

You can set the session ID with session_id() function.

#3 w3sl3y2003

w3sl3y2003
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 21 June 2006 - 12:30 PM

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?

#4 Kris

Kris
  • Staff Alumni
  • Advanced Member
  • 2,755 posts
  • LocationThe Internet

Posted 21 June 2006 - 12:42 PM

[!--quoteo(post=386365:date=Jun 21 2006, 01:30 PM:name=w3sl3y2003)--][div class=\'quotetop\']QUOTE(w3sl3y2003 @ Jun 21 2006, 01:30 PM) View Post[/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 :)

#5 w3sl3y2003

w3sl3y2003
  • Members
  • PipPip
  • Member
  • 18 posts

Posted 21 June 2006 - 01:04 PM

okay, thanks nonetheless though!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users