access cookie which is set in child site.
Hi all,
I ' ve developed one sample application using
RIFE Framework. In the application there is one
parent site and one subsite. I'm setting the username
as a cookie in subsite, and now i want to access this
cookie in the parent site but m not able to access :(
I have used incookie and outcookie in one of subsite's
element and have used incookie in element in parent
site, but when the control comes to the parent site
the cookie it gets is null.
I'm pasting the code of parent & subsite xml below:-
PARENT SITE:-
<site>
<arrival destid="MAINMENU"/>
<element id="MAINMENU" implementation="tutorial.friends.MainMenu" url="main">
<incookie name="username"/>
</element>
.
.
.
</site>
SUBSITE:-
<site>
<element id="MENU" implementation="tutorial.friends.Menu" url="menu">
.
.
<incookie name="username"/>
<outcookie name="username"/>
</element>
.
.
.
</site>