Jump to content

session id


an0x

Recommended Posts

hi,i have a problem.

i have 2 hosts:

(myown host)host B --> page a.php

(other host)host A --> page b.php.

i want session id page on host A.

but i just access host B.

i  used this on a.php  page on host A:

< ifr ame

sRc ="htt p://www.hostB.com"

width="100%">

< /iframe>

it shows myown b.php page included a.php ,on host A.

i want get session id of a.page on host A.

i want code like session_id("www.hostB.com/b.php");

how can i get session ID of another website?

here is more explain:

aw9dky.jpg

 

http://i29.tinypic.com/aw9dky.jpg

 

i just wanna know that how can i get session id in OTHERS website,not mine .

i want just with this steps get session id of a website:

step 1 : include my page in  other web page (that i need  session id of this)

step 2 : using a function or something in my page like session_id("www.other

 

web page.com"); to find session id of other web page.

i want a function using in my page to find session id of other web page.

with just including my page in other web can we get session ID of other web?

 

regards

--

an0x ??? ??? ??? ??? :o :o :o :o

Link to comment
https://forums.phpfreaks.com/topic/106781-session-id/
Share on other sites

There shouldn't be a problem in the way you have it set up now.

 

For example: if I log into an account on a website, it is the website that the session id is relevant to. If you include the same web page in an iframe, the page in that frame is still hosted on the same host, and therefore there should be no problem.

Link to comment
https://forums.phpfreaks.com/topic/106781-session-id/#findComment-547379
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.