I have 2 platform for single application, one is in jsp and another is in php (I am using CakePHP).
What I want to do ?
Now we want to share session between two platform, in that case we need to use single web platform that can deploy php and jsp webpage.
What is the issue?
Now the issue is .htaccess file is not working on apache tomcat server, so we are not able to use CakePHP. Is there any way to use Using CakePHP on apache tomcat server ?
I found this
http://tuckey.org/urlrewrite/ can solve my problem ? If yes how ?
My .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>
Thanks In Advance
Cheers!
Take a look at this:
http://php-java-bridge.sourceforge.net/doc/tomcat6.php
For Session, I think the best manner is serializing the session variables somewhere (for instance, an XML or YAML file). These are two different languages and the Session variables are stored in memory, not accesible between processes.