Re: session is not working between different actions on different controllers

2010-08-01 Thread Kei Simone
Hi all, thanks for all your responses. i think perhaps my situation was worded a bit wrongly. hence most responses seem to be saying i am trying to access session variables of 1 cake app from another. actually, i should emphasize that when i said the carts/add will set a session value, this

Re: session is not working between different actions on different controllers

2010-07-31 Thread Beavis de Milo
DragonFlyEye - Isn't what Kei is attempting possible using database sessions? He could store the DB session in the default database and each seperate app could have it's own private DB for data. On Jul 30, 12:25 pm, DragonFlyEye dragonflyey...@gmail.com wrote: Well, you're not going to be able

Re: session is not working between different actions on different controllers

2010-07-31 Thread Dr. Loboto
PLUS there is need to pass session ID via URL. As cookies works ONLY for one domain. On Jul 31, 3:52 am, Beavis de Milo wig...@gmail.com wrote: DragonFlyEye - Isn't what Kei is attempting possible using database sessions?  He could store the DB session in the default database and each seperate

session is not working between different actions on different controllers

2010-07-30 Thread Kei Simone
Hi all, i have 2 cake apps. localhost/wp and localhost/checkout. wp sends a httpsocket-post to localhost/checkout/carts/add and gets a result. the carts/add will set a session value. wp will use the result of the post and redirects to paypalsandbox. after that the paypalsandbox will redirect to

Re: session is not working between different actions on different controllers

2010-07-30 Thread DragonFlyEye
Why do you have a completely separate application for the checkout aspect of whatever it is you're doing? Seems like if they're both built in CakePHP, you should probably use the same application. A couple ideas: On Jul 30, 10:48 am, Kei Simone kimc...@gmail.com wrote: Hi all, i have 2 cake

Re: session is not working between different actions on different controllers

2010-07-30 Thread DragonFlyEye
Why two separate applications for this? Is one not CakePHP? Offhand, here's a few things: 1. Localhost can often be a tricky thing for cookies and sessions. Make sure those addresses are really the way content is being served up to the browser. 2. Cookie settings in Configure::write(): make sure

Re: session is not working between different actions on different controllers

2010-07-30 Thread Kei Simone
Hi there, the idea is that i am doing something like an ecommerce platform for merchants. there are 2 apps because i want the shopping site to be on 1 domain and the checkout pages to be on another domain. so that i can use ssl on the checkout pages and that this is consistent for ALL customers

Re: session is not working between different actions on different controllers

2010-07-30 Thread DragonFlyEye
Well, you're not going to be able to maintain a standard session across multiple domains. That's basic to sessions and cookies. You can certainly create some sort of non-visible login system (like a GET variable) that allows the user to see the same things on two domains, but a literal session