Friday, July 30, 2010

session is not working between different actions on different controllers

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 localhost/checkout/orders/pay. however in orders/pay it
cannot find the session written in carts/add

http://picasaweb.google.com/lh/photo/o_Ylvp3uqtQer-d5HC9Lgg?feat=directlink
describes my situation

i have tried setting security to low

changing to database for my session

changing to custom handler where the referer_check is empty string

change session cookiename

change checkAgent to false

so if you have any other methods, please please tell me.

i am really stuck.

i am not sure if this is due to the paypal page redirecting? or due to
the fact that the place where i first write the session value i am
used a httpsocket post.

Please advise. thank you.

Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.

You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: