MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to disconnect from CICS application on no activity.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
brijesh_mca1
Beginner


Joined: 21 Nov 2005
Posts: 19
Topics: 10
Location: India

PostPosted: Tue Nov 20, 2007 6:33 am    Post subject: How to disconnect from CICS application on no activity. Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
CICS Guy
Intermediate


Joined: 30 Apr 2007
Posts: 292
Topics: 3

PostPosted: Tue Nov 20, 2007 10:45 am    Post subject: Reply with quote

Login again to CICS? Or your application?
Set a IC timer and wake up after 10 minutes......
Back to top
View user's profile Send private message
Terry_Heinze
Supermod


Joined: 31 May 2004
Posts: 391
Topics: 4
Location: Richfield, MN, USA

PostPosted: Tue Nov 20, 2007 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
brijesh_mca1
Beginner


Joined: 21 Nov 2005
Posts: 19
Topics: 10
Location: India

PostPosted: Wed Nov 21, 2007 10:09 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address Yahoo Messenger
brijesh_mca1
Beginner


Joined: 21 Nov 2005
Posts: 19
Topics: 10
Location: India

PostPosted: Wed Nov 21, 2007 10:13 am    Post subject: Reply with quote

Terry,
You r right!!!
but the requirement is to provide extra secutity to an application.
_________________
Brijesh(India Is Great)
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Arunprasad.K
Beginner


Joined: 18 Jan 2006
Posts: 18
Topics: 5
Location: Chennai, India

PostPosted: Wed Dec 26, 2007 4:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group