Hi Shravan,
Thanks for your reply.
I would like to know in a detail way. I will explain the issue what I am
facing.
My Application design like below:
In a WOGenericContainer 2 WOFrames are included namely login and
application.
When application launched, 2 frames are loded. Left frame consists of Login
fields and Right Frame consists of application specific data. When
application loads, at first Login fields are displaying and another frame
containing Welcome WOComponent.
When a User login, in Login Frame Some WOHyperlinks are displayed. When we
click on the WOHyperlink, Right Frame content is generating. At this time
in my application 2 sessions are existing. One session is for Login frame
and another session is for application specific data.
Logout button is in Login Frame. When I click on Logout, Left side Frame's
Session is terminated. But Right side Frame's Session is still existing and
Right side components are working.
The code for Left side login frame is shown below:
public WOComponent logout()
{
WORedirect rePage = (WORedirect)pageWithName("WORedirect") ;
String page = context().componentActionURL().substring(0,
(context().componentActionURL().indexOf(".woa") + 4));
session().defaultEditingContext().revert();
session().terminate();// Left side Frame's session is only
terminating at this time
rePage.setURL(page);
return rePage;
}
The Session for Right side Frame is not accessible from Left side Frame.
Please get away from this issue.( In Mozilla when a User Clicks back button
the Right side Frame is accessible and Left side Frame is showing session
expiration page).
Thanks in Advance,
Sreenivasulu Arveti.
On Tue, Jan 19, 2010 at 11:34 PM, Shravan Kumar. M
<[email protected]>wrote:
> Use Javascript to call logout in another frame when logout in one frame is
> called, that would simply solve ur problem!
> Frames Session problem..
> Tue Jan 19 16:27:42 2010
> From:
> "Sreenivasulu A" <[email protected]>
> To:
> "" <[email protected]>
> Hi All,
>
> My application consists of 2 frames. One is for user login screen, and
> other is for application specific. Each frame maintains seperate session
> object. When I logout my application only one session is terminating. Other
> frame session is remaining itself. I don't know how to track other frame
> session object.
> When user clicks on logout, session().terminate() is called in the code.
> Please help me in this.
>
>
> Thanks in Advance,
> Sreenivasulu Arveti.
>
>
--
Thanks & Regards,
Sreenivasulu Arveti.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]