Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cross login JSP to PHP

Status
Not open for further replies.

mnellutla

Vendor
Nov 26, 2003
15
US
I need to implement crosslogin from JSP site to a PHP site.

How can i do this?

Which is better

Cookie, Session ID or parameters?

How?

thanks
 
Yes dian, i meant single sign on. I don't know if JOSSO works with tomcat 4.0.3. I didn't see it.

How to pass normal parameters between JSP and PHP?

thanks for the reply?
 
I'd go for parameters, as I'm unsure if you can share a cookie or a Session-Id between two different servers.

Cheers,
Dian
 
Both PHP and JSP will be hosted on the same server. I am looking into integrating PHP with tomcat app server.

thanks
 
Consider using Basic-Authentication and setting up the realm to be the same for both the PHP and JSP contexts. This is easy if you're using Apache with mod_php and mod_jk. BasicAuth makes session management a little hairy, but it may provide you with a good quick-and-dirty single-sign-on solution.

Site: Location: SF Bay Area
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top