Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Kill a form session from another session

MuzaFeb 6 2014 — edited Mar 20 2014

In short,

I want to close another user's forms who has already open a form session, from current user's form session. For that

FORMS_DDL('ALTER SYSTEM KILL SESSION '''||R_C_SESSION.SID||','||R_C_SESSION.SERIAL||''' IMMEDIATE ');

Its only kill the session of the user but form session is enable and giving some error messages if he try to do something.

If there is a user viewing the particular record, and another user try to enter I pop up a message for current user to kill the previous user.And I the previous user session killed by following DDL

FORMS_DDL('ALTER SYSTEM KILL SESSION '''||R_C_SESSION.SID||','||R_C_SESSION.SERIAL||''' IMMEDIATE ');

But this is not killing the previous user session unless the previous user do something in his session, and giving to previous user that your are logged out. For me I require as soon as second userĀ  kill the session the previous user session has to be killed without his knowledge.

Please guide me.

Thanks in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 17 2014
Added on Feb 6 2014
8 comments
5,291 views