Sukhdev
20th September 2006, 10:11
Hi,
We are controlling our BaaN Licences by putting session_timeout in directory ${BSE}/lib/defaults, but somehow our users came to know about command: -- -set session_timeout=0 for bw, Hence we are again facing problem of Maximum user.
Pls advice any solution / work around.
Best Regards,
Sukhdev Singh
dave_23
20th September 2006, 16:57
Disable the user's access who violate your IT policy.
Dave
Sukhdev
21st September 2006, 07:46
Thanks Dave,
GOOD IDEA.
Regards,
Sukhdev Singh
sukesh75
21st September 2006, 07:48
Wouldnt the inclusion of the <session timeout> in lib\user\u<username> for the specific user override settings in the lib\defaults\all file?
If so, would the command set session_timeout=0 for bw change the figure in this user file(u<username>) under the folder lib\user\ ??
sk
dave_23
21st September 2006, 08:44
Thanks Dave,
GOOD IDEA.
Regards,
Sukhdev Singh
You may think i'm joking - but as an IT staff you have to set policies and make sure people follow them... If they choose otherwise you have to take it up with them and their managers, etc. explaining that the policies exist for a reason. For example if they require exclusive access to the system or want preferential treatment then they are going to have to factor extra licenses for Baan into their budget to accomidate this.. Once they see the dollars and sense of it all they will usually comply.
To me, that's the correct way to handle that type of situation. cobbling together shell scripts, or parameters to try to override the setting they put on their command lines is a waste of your time and doesn't get their "buy in" - which will in the end give you more unhappy users than if you discuss your reasoning with them from the onset.
Dave
dave_23
21st September 2006, 08:45
Wouldnt the inclusion of the <session timeout> in lib\user\u<username> for the specific user override settings in the lib\defaults\all file?
If so, would the command set session_timeout=0 for bw change the figure in this user file(u<username>) under the folder lib\user\ ??
sk
i don't think so - environment variables trump all runtime files..
Dave
sukesh75
21st September 2006, 15:20
Dave,
By environment variables are you referring to lib\default\all file? We have put 30min session timeout in this "all" file and for those users who we want to give more than 30min timeout we include the session time out in the lib\user\u<username> file.
It works too!!
So where else can the session timeout be set other than these two places??
sK
Sukhdev
21st September 2006, 15:53
Hi Sukesh,
If you put - --set session_timeout=0 in command line of bw (i.e. client interface / BaaN Window) it disables your previous setting at server level.
Regards,
Sukhdev Singh
Andy..
21st September 2006, 16:29
i'm not sure if this is still available, but have a look at
http://www.closeidle.co.uk
it sets timeout for all Baan sessions, but first performs save & exit to avoid losing data
dave_23
21st September 2006, 17:11
Dave,
By environment variables are you referring to lib\default\all file? We have put 30min session timeout in this "all" file and for those users who we want to give more than 30min timeout we include the session time out in the lib\user\u<username> file.
It works too!!
So where else can the session timeout be set other than these two places??
sK
The search path is something like:
1. $BSE/lib/defaults/all
2. $BSE/lib/defaults/db_resource
3. $BSE/lib/defaults/bshell
4. $BSE/lib/user/u<username>
5. $BSE/lib/bse_vars
6. ~/bse_vars
7. $SESSION_TIMEOUT
it will take the last one of those (in sequence) that it finds.
when you do -- -set SESSION_TIMEOUT=0 you're setting "$SESSION_TIMEOUT" so it will override anything else.
Dave
sukesh75
23rd September 2006, 09:12
Dave,
The last three 5-7, are these settings done in the registry as i couldnt find any folders by the name bse_vars under baan4c4 folder?
We use baan4c4 with SQL 7
Thanks for the explanation...
sK
dave_23
23rd September 2006, 20:09
no they're files that you can create and baan will read. But they're not delivered with baan at all.
and #6 doesn't make sense in a windows enviornment. ~/ is short for unix home directory..
Dave
cyprus
3rd August 2007, 14:28
HI,
The OS at server is sunsolaris.
I looked into th directory $BSE/lib/defaults , i can find only one file db_resource.. so wat is the option to set the timer in my case ...
plz help me out, coz we r lacking licenses at the moment...
Regards,
Cyprus
sukesh75
4th August 2007, 11:22
Cyprus,
Create a new file named "All" and inside it, put the variable "session_timeout:30" without the double quotes for a 30 minute idle time(change it according to your requirement but in minutes). Dont put any extension to the file.
sk
cyprus
4th August 2007, 12:45
thanx
its working...