2011年2月24日星期四

Re: [fw-mvc] Sessions and passing them between websites

Hey Thomas,

> idea is to be able to embed a form on another website, and then process that form through Action controllers on a site built using the Zend Framework

Why are sessions required? Can you just have the form on site A POST to
the form on site B?

If you did go this route, any non-valid form handling would happen on
site B, but outside of that you can do this without any sessions.

If it is imperative that site A always display the form including the
in-valid form processing results (error messages, required fields, etc),
then you'll need to find a way to make Site A and site B share
information. If these sites are not sharing the same top level domain
name, this gets harder b/c the session identifier used by Zend_Session
will not be the same (that would require some kind of SSO solution.)

Ultimately, it depends on how complex your solution to be.

-ralph

没有评论: