|
Y'all know that the Limit device sessions . . . . . LMTDEVSSN part of a user profile is ignored for ftp sessions, right? Ok with that background I thought I'd get clever on my exit points and when someone logs on if they already have another ftp session running then it would not allow them to start a second. I do this by checking for object locks on the user profile. Worked great if someone ftp'ed from a dos command prompt or from a 5250 command session. However if they used a browser then they couldn't start any sessions. This is what I figured out what was happening. Lovely (dripping with sarcasm) MSIE would: I) Request exit point is called under QTCP with a request code of 0 for log on. I allow that. Job=043731/QTCP/QTFTP02845. II) Login exit point is called under ANONYMOUS which I forbid. Job=043731/QTCP/QTFTP02845. III) Request exit point is again called under QTCP with a request code of 0 for log on. I allow that. Job=043732/QTCP/QTFTP00078. IV) Login exit point is again called under ANONYMOUS which I again forbid. Job=043732/QTCP/QTFTP00078. IV-A) Browser user is prompted for User id and password V) Request exit point is again called under QTCP with a request code of 0 for log on. I allow that. Job=043733/QTCP/QTFTP00081. VI) Login exit point is called with 'dummy' user id. I allow that by giving it a return code of 3 which allows logon but overrides user profile. Rest of it looks fine. Job=043733/QTCP/QTFTP00081. VII) Requst exit point is (strangely) called again under QTCP with a request code of 0 for log on. I allow that. Job=043734/QTCP/QTFTP00079. VIII) Login exit point is called with 'dummy' user id. However, I stop it because the user profile I've overridden to is assigned to another ftp job (043733/QTCP/QFTTP00081). VIII-A) Browser user is again prompted for their user id. The MSIE browser does the double whammy with steps V/VI & VII/VIII. I modified my program to stop checking for locks on the user profile in order to pay homage to the MSIE gods. However now the problem becomes is there anyway to stop a browser user from having more than one session? I believe the answer is no. What do you think? Rob Berendt -- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." Benjamin Franklin
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.