is java page session_id and php page session_id is equal

Reply

Join Date: Sep 2008
Posts: 18
Reputation: php2sheik is an unknown quantity at this point 
Solved Threads: 1
php2sheik php2sheik is offline Offline
Newbie Poster

is java page session_id and php page session_id is equal

 
0
  #1
Dec 4th, 2008
hi,

is session_id is generated by javapage in one website is equal to session_id generated by phppage????.because i integrated php pages to java pages in that website. so i maitain session based on that java page. is this possible to session_id from java page to php page, if i get ,is they are equal?
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 189
Reputation: martin5211 is an unknown quantity at this point 
Solved Threads: 14
martin5211 martin5211 is offline Offline
Junior Poster

Re: is java page session_id and php page session_id is equal

 
0
  #2
Dec 4th, 2008
Session variables are generated on runtime by the interpreters, so, I think you will get always a different session regardless of it's PHP or Java. Anyway, if you want to pass a Java variable to PHP it's possible through a simple url query when the php script is loaded.
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 1,075
Reputation: digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice digital-ether is just really nice 
Solved Threads: 66
Moderator
digital-ether's Avatar
digital-ether digital-ether is offline Offline
Veteran Poster

Re: is java page session_id and php page session_id is equal

 
0
  #3
Dec 5th, 2008
You could also write the session data associated with that session ID so a shared resource, such as a database or file. Then both PHP and Java can share the data associated with a session.
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the PHP Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC