Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limit the number of active sessions

Status
Not open for further replies.

sburden

Programmer
Dec 4, 2002
35
US
Hi All,

I'm trying to figure out how to limit the number of active sessions for our users. There are some users who will be allowed to have one active session, others will be allowed to have two active sessions, etc... I appreciate whatever help you can furnish me.

Best Regards
 
If some users should be limited to one session and all others can have no limit, then change the user profiles on the 1-session users to LMTDEVSSN(*YES), and everybody else to LMTDEVSSN(*SYSVAL) (which is the default when you create a new profile).

Then, do a CHGSYSVAL SYSVAL(QLMTDEVSSN) VALUE(0), which makes the default unlimited sessions.

I don't know of a way to limit sepcific users to x number of sessions, other than 1.


"When once you have tasted flight, you will forever walk the Earth with your eyes turned skyward, for here you have been, and there you will always long to return."

--Leonardo da Vinci

 
Thanks Flapeyre,

However I do need to figure out how to limit the number of sessions, other than 1.
 
Do a search in the archives at midrange.com. I think this has been discussed before. I think you have to write an exit program though. The only two options I see in CA is 1 session or unlimited.

iSeriesCodePoet
iSeries Programmer/Lawson Software Administrator
[pc2]
See my progress to converting to linux.
 
Thanks iSeriesCodePoet!

I'll look into the archives at midrange.com.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top