you need to create an adaptor at both side (I meant a block of codes), say
at PHP site side:
there is a set of PHP codes that will check tokens passed from struts
application session.

For example, when user login to your struts application, you assign an
paramter "auth_id" which is "xxxxxxxxx", it will go along with the request
of PHP client site page, PHP code shall check the auth_id whether is xxxxxx

When you submit a form at PHP web site, you can still put the action request
link as "http://yourcompany.com"; this will go to your fake index page, in
this fake index page, you can have a set of code check the ip address and
any token you passed from PHP site to the struts web site. If ok, will
redirect to the correct page and for those data you can save in the session
as parameter or whatever.

This sure can solve your problem but maybe not an optimized solution. Good
luck & appy new year.

On 1/5/06, Meenakshi Singh <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I think I didn't explain the problem properly. We have developed a struts
> based app, say, A. Now we have a client site X. Depending on some logic,
> we
> need to go to the client site x from our application A. In the Client site
> x, we have a link which should enable the login to our application A.
> After
> login a part of our application should run in client site's workarea.
>
> How can I accomplish this? The client site is a php site.
>
>
> How can my action redirect to the client site?
> How do applications in different contexts talk to each other?
>
> I open a form in the client site & then I do something on submit of that
> form which should take the action from my application.
> How do I do all this...?
>
> Thanks & Regards,
> Meenakshi.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
=====================================
The world will be ended if love is everywhere.
                                               ---- Shawzi

Reply via email to