if both pages are under you control you can use https://github.com/ternarylabs/porthole for inter communication. do cookie management entirely in B and only communicate relevant information (eg: API key) to A.
On Mon, Mar 9, 2015 at 11:27 PM, Mohammed Fawsan <[email protected]> wrote: > Hi, > > I have a problem with setting up a cookie and using it on an iframe. This > is the use case. > > Let's say I have a two web pages A, B in abc.com. I want to iframe page B > in page A. Page A has the log in mechanism. Page B doesn't have any log in > mechanism. I want to use page A's log in mechanism to create a cookie and > use it in the page B (iframe page). Page B will use that cookie to > communicate to other web services. > > Is it possible to do it? If so what is the secure way to do it? > > -- > Mohammed Fawsan > Software Engineering Intern, > Faculty of Engineering, University of Peradeniya. > +94771121195 > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > > -- With regards, *Manu*ranga Perera. phone : 071 7 70 20 50 mail : [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
