[+ WSO2 Dev]

On Fri, Oct 16, 2015 at 10:12 AM, Shani Ranasinghe <[email protected]> wrote:

>
> Hi,
>
> I have a requirement where I need to do a redirect from a Javascript, and
> I need to send some headers along with it too.
>
> The scenario is as follows.
>
> From my jaggery layer, I use a JS.At the JS, I receive a callbackURL  & a
> workflow reference Id, I need to pass this to the external party to which I
> would redirect so that they could use those information to communicate back
> to the APIM.  It is better if we can send this via headers from the JS
> (because in HTTPS headers will be secured).
>
> Cookies, is not a good choice, as browsers can disable them, Forms put in
> an additional popup & notifies that the data is transmitted insecurely,
> hence forms are not a good option as well.
>
> Could we use XMLHttpRequest for this? however, we are not expecting a
> response.
>
> Are there any other alternatives?
>
> Any help is appreciated.
>
> --
> Thanks and Regards
> *,Shani Ranasinghe*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: +94 77 2273555
> Blog: http://waysandmeans.blogspot.com/
> linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
>



-- 
Thanks and Regards
*,Shani Ranasinghe*
Senior Software Engineer
WSO2 Inc.; http://wso2.com
lean.enterprise.middleware

mobile: +94 77 2273555
Blog: http://waysandmeans.blogspot.com/
linked in: lk.linkedin.com/pub/shani-ranasinghe/34/111/ab
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to