View previous topic :: View next topic |
Author |
Message |
brijesh_mca1 Beginner
Joined: 21 Nov 2005 Posts: 19 Topics: 10 Location: India
|
Posted: Tue Nov 20, 2007 6:33 am Post subject: How to disconnect from CICS application on no activity. |
|
|
In my password protected CICS Application, I need to implement the functionality, so that if there is no activity from user side say for 10 min, User will be disconnected from my application(not from CICS). and message will be displayed asking user to login again. _________________ Brijesh(India Is Great) |
|
Back to top |
|
|
CICS Guy Intermediate
Joined: 30 Apr 2007 Posts: 292 Topics: 3
|
Posted: Tue Nov 20, 2007 10:45 am Post subject: |
|
|
Login again to CICS? Or your application?
Set a IC timer and wake up after 10 minutes...... |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Tue Nov 20, 2007 6:12 pm Post subject: |
|
|
I've been away from CICS for quite a while, but if the program is pseudo-conversational, does it really matter if there is no activity for 10 minutes? Just curious. _________________ ....Terry |
|
Back to top |
|
|
brijesh_mca1 Beginner
Joined: 21 Nov 2005 Posts: 19 Topics: 10 Location: India
|
Posted: Wed Nov 21, 2007 10:09 am Post subject: |
|
|
Hi CICS Guy,
Login into application once again,Don't want to get disconnected from CICS.
Please tell me a little more about IC timer.
Thanks for replying. _________________ Brijesh(India Is Great) |
|
Back to top |
|
|
brijesh_mca1 Beginner
Joined: 21 Nov 2005 Posts: 19 Topics: 10 Location: India
|
Posted: Wed Nov 21, 2007 10:13 am Post subject: |
|
|
Terry,
You r right!!!
but the requirement is to provide extra secutity to an application. _________________ Brijesh(India Is Great) |
|
Back to top |
|
|
Arunprasad.K Beginner
Joined: 18 Jan 2006 Posts: 18 Topics: 5 Location: Chennai, India
|
Posted: Wed Dec 26, 2007 4:53 am Post subject: |
|
|
brijesh_mca1,
You can follow the below approach.
Code: |
1. Create a Queue and write the current time in that queue while the user logging in.
2. While invoking a transaction/program read the queue and compare it with the current time.
3. If that is less than 10 minutes, delete the queue contents and write it with the current time.
4. If greater than 10 minutes, send the login screen and ask the user to login anain.
|
This logic works even if the program is pseudo-conversational.
Experts please correct me if I am wrong.
Arun. |
|
Back to top |
|
|
|
|