Define session parameter for a user

Hi,
in 10g R2, can we set a session parameter for a user definitely ?
I mean to avoid running the following command line at the begining of each session :
alter session his_parameter=somevalue;
Thank you.

Hi,
The only way I know to do this is to create a logon trigger that execute the "alter session" command.
Liron Amitzi
Senior DBA consultant
[www.dbsnaps.com]
[www.orbiumsoftware.com]

Similar Messages

  • Hi I have two questions. I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users? How is the session timeout set? Thanks, YS

     

    <i>I am using NAS 4.1 and was wondering is it possible to set a different session timeout for different users?</i>
    Um, there is no such thing as NAS4.1.
    I'm assuming that you mean NAS4.0 (maybe NAS4.0sp1?). If so, then the session timeouts are specified in the session section of the NTV configuration files.
    AFAIK, you can specify session timeouts on a per user basis.

  • KM Search: How can I define a query for the user who currently logged on?

    Hello,
    I want to use the KM Search iView to display all documents from the currently logged on user in a certain sort order. The result should be some kind of report for the user...
    In the search option I can define a default sort order. And I can also define it for a special user with cm_modifiedby(value=username)
    But how can I define the predefined property value generically for the current user?
    I tried to insert following values in the parameter Predefined Properties of the search option:
    Predefined Properties (csv): cm_modifiedby(value=<user.id>)
    Predefined Properties (csv): cm_modifiedby(value=%user.id%) -> like in the predefined properties
    Predefined Properties (csv): cm_modifiedby(value=$sap_user) -> like in the xml forms builder
    But non of these 3 parameters worked. Has anybody an idea what the right variable is?
    Thanks a lot.
    Best regards
    Nicole

    Hi Nicole,
    1. First of all you need to use "<User.UserID>" to get the currently logged on user.
    2. You need to create an AppIntegrator iView (so based on com.sap.portal.appintegrator.sap.Generic) in order to be able to use this dynamical parameter. The parameter "URL template" should look like:
    <Request.Protocol>://<Request.Server>/irj/servlet/prt/portal/prtroot/com.sap.km.cm.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&rndLayoutSet=SearchResultLayoutSet&SearchCompsName=UISearchComponents&QueryString=*&SelectedCustomProps=cm_modifiedby(value=<User.UserID>)
    Best regards,
    Robert

  • Session parameter for a export job

    Dear all,
    10.2.0.1 on windows 2003.
    Is there anyway I can set this session parameter ALTER SESSION SET EVENTS '10231 TRACE NAME CONTEXT FOREVER, LEVEL 10'; for a export job using exp done at the OS level ?
    Kai

    Is there anyway I can set this session parameter ALTER SESSION SET EVENTS '10231 TRACE NAME CONTEXT FOREVER, LEVEL 10'; for a export job using exp done at the OS levelyes, via LOGON trigger

  • With the new seession in IE gives session error for new user

    Hi,
    In new opened IE if i tries to login with new user. It is switching b/w the files in the status bar(ie., Header1.jsp and ListServicecall.jsp simultaneously) and at end the session error result will arise.
    But for the second time if i login with the same username/password the page is displaying properly. please Can any one help out.
    Thanks,
    Satish R

    First time if the user logins to IE in the HP Service Desk(SD) page. Some of the pages will iteratively loops and give a session expires error. After that the user logins to the page with no error.
    If i create a new copy of the data from the existing folder and if i try to run then the result will be error for that folder also.
    ie., Assume folder 123 where, first time for every new login user the session expire error occurs. later they'll login without any problem.
    If i rename the folder 123 to xyz/create new copy and rename then, the same problem repeats. First time for the new user it will give session expire error and later he can login to the HPSD page with no error.
    Is it require cookies to be programmed in that program.
    Regards,
    Satish R

  • Define resource for Anonymous user in OES

    Hi all,,
    I am using wls-ssm.
    By default, OES protect all resources from our application.
    how to define some resources for anonymous user?
    With Regards,
    WP

    You can either define an OES policy to GRANT allusers group which includes anonymous or you can look at deploying this custom authenticator which will exclude WLS resources that typically rely on anonymous user:
    https://oes-sspi-providers.samplecode.oracle.com/

  • How to set the resource_limit parameter to each user

    how to set the resource_limit initialization parameter to each user.
    it says like this;
    You must modify the RESOURCE_LIMIT initialization parameter. After you assign profiles to users, the Oracle database
    enforces the limits only when the RESOURCE_LIMIT parameter is set to TRUE. Therefore, you modify the RESOURCE_LIMIT initialization parameter to enforce the resource limits defined within each user's profile.
    alter system set resource_limit=true;
    if doing like this is it ok. ????
    Assume im logged as user "SYS". so if i use this command, will it alter the resource_limit parameter for this user SYS only OR for the entire database..... (for all other user)

    The RESOURCE_LIMIT parameter only enables resource limits that are defined in profiles.
    The DEFAULT profile, by default, is UNLIMITED for all resources.
    You should create a custom profile and set the limits you need. The next step would be to assign that profile to the users whom you want to limit. Other users in other profiles (or in the DEFAULT profile) would not have any limits enforced.
    See the documentation on CREATE PROFILE.
    See http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_6010.htm#i2065930

  • Support parameters for downloadable user-role in the Aruba controller

    Q:
    What are the supported parameter for downloadable user-role that can be pushed from the cppm to the controller?
    A: The downloadable user-roles are pushed from the CPPM server to the Aruba controllers after successful authentication.
    The below parameters are only supported to be pushed from the cppm to the controller and rest all are not supported. 
    Net service
    Net destination
    mac/eth/session ACL 
    user-role
    The other parameters in the cppm are intended for MAS and not for controllers.
    If we try to push the unsupported parameters from the cppm server to the controller then we will the following error logs in the controller.
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line 'qos-profile HIGH-Q', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Itraffic-class 7', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Idrop-precedence low', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Idscp 63', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Idot1p 7', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1492: Dldb Role aruba-3106-9: Rejected line '^Ivlan 100', contains unsupported keyword 'vlan'

    Q:
    What are the supported parameter for downloadable user-role that can be pushed from the cppm to the controller?
    A: The downloadable user-roles are pushed from the CPPM server to the Aruba controllers after successful authentication.
    The below parameters are only supported to be pushed from the cppm to the controller and rest all are not supported. 
    Net service
    Net destination
    mac/eth/session ACL 
    user-role
    The other parameters in the cppm are intended for MAS and not for controllers.
    If we try to push the unsupported parameters from the cppm server to the controller then we will the following error logs in the controller.
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line 'qos-profile HIGH-Q', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Itraffic-class 7', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Idrop-precedence low', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Idscp 63', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1757: Dldb Role aruba-3106-9: Rejected line '^Idot1p 7', contains unsupported keyword 
    Apr 24 15:55:38  authmgr[3417]: <199802> <ERRS> |authmgr|  auth_cppm.c, auth_cppm_transform_writebuf:1492: Dldb Role aruba-3106-9: Rejected line '^Ivlan 100', contains unsupported keyword 'vlan'

  • Fixing parameter based on User in Infoview

    Hi
    I want to know whether there is an option in Infoview to fix the parameter values based on the user who has logged in or any othe similar actions.
    What I want to do is
    I have one report which gives data for different departments. I have included one parameter Dept Name , based on which report data is distinguished.
    I want to fix this parameter for some users like "Accounts" department user can only view data for Parameter "Accounts" only. or "HR" for "HR" only. but "Management" can view data for specific department or all department. This parameter is List of Values.
    The report is working fine. only thing i need to do is to "fix" the parameter value as "Accounts" if any user/group of ACCOUNTS logs in. He should not be able to choose any other parameter value like "HR" or "MANAGEMENT" etc.
    I am using BO X1 R2
    Thanks

    This can be implemented by Row level restrictions. Assuming you are on XI, you can do this in the universe by going to Tools>Manage Security>Manage Access Restriction.
    You can also read the Designer guide for more details on how to accomplish this.
    Kashif

  • What is parameter for total number of user sessions for entire SAP system

    Is there a profile parameter that limits total number of SAP user connections to that system. Im not talking about rdsip/max_alt_modes that limits number of sessions for particular user but a parameter that limits user connections to total number of users logging into particular system. I heard tht there is parameter that has default value 90, i want to change it but dont know whats the paramter name..plzz help me in this regard to proceed further.
    Thank you

    Hi,
    Use ST03/ST03N to check the number of users logged in.
    Use RZ10 to change the parameters
    Rakesh

  • Can we define different session time-outs for different user types in the DD?

    Hello,
    Do you know a way to specify different session time-outs in deployment
    descriptor for different users/roles?
    For example:
    Role-A should be invalidated after 10 minutes
    Role-B should be invalidated after 100 minutes
    Shortly, I would be grateful if you can help,
    Fehmi.

    "Fehmi" <[email protected]> wrote in message
    news:3f50fb75$[email protected]..
    >
    Hello,
    Do you know a way to specify different session time-outs in deployment
    descriptor for different users/roles?
    For example:
    Role-A should be invalidated after 10 minutes
    Role-B should be invalidated after 100 minutes
    I don't believe you can timeout a session based on a user or a role. I think
    you can just specify when
    all sessions timeout (via the session descriptor). But, you may want to ask
    in the weblogic.developer.interest.servlet newsgroup.

  • How set and get parameter for a session of a portlet (Java)

    I would like get parameter and set parameter for a portlet in portal 9.02. This parameter must be availbale during the session of the portal.
    With Java Servlet
    // I retrieve my session
    HttpServletRequest httpreq = (HttpServletRequest)req;
    HttpServletResponse httpresp = (HttpServletResponse)resp;
    HttpSession session = httpreq.getSession();
    //And after i can get or set some parameter for this servlet
    //Example
    session.setAttribute("MyEmployeeNumber","600000");
    String id = (String)session.getAttribute("MyEmployeeNumber");
    // But with Portlet in portal, i can't do it.
    PortletRenderRequest pr= (PortletRenderRequest)httpreq.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String sUser=pr.getUser().getName();
    ProviderSession session=pr.getSession();
    // But after if i want get or set a value in this session i have a internal error 500
    session.setAttribute("MyEmployeeNumber","600000");
    I would like my parameter is avalaible during a session for a user in each page of the portal, because my portlet is on each page.

    I have almost the same problem. I tried as you suggested, but it doesn't work yet.
    provider.xml
    <session>true</session>
    <passAllUrlParams>true</passAllUrlParams>
    My code in my jsp-portlet is
    <%@page contentType="text/html; charset=windows-1252"
    import="oracle.portal.provider.v2.render.PortletRenderRequest"
    import="oracle.portal.provider.v2.render.PortletRendererUtil"
    import="oracle.portal.provider.v2.http.HttpCommonConstants"
    import="oracle.portal.provider.v2.ParameterDefinition"
    import="oracle.portal.provider.v2.render.http.HttpPortletRendererUtil"
    %>
    <%@page session="true"%>
    <%
    PortletRenderRequest pReq = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    String valueSession = (String)pReq.getAttribute("sesion");
    if (valueSession != null) {
    pReq.setAttribute("session", "value1");
    out.println("<br>(1)valueSession != null");
    out.println("<br>(1)valueSession : " + pReq.getAttribute("session"));
    } else {
    pReq.setAttribute("session", "value2");
    out.println("<br>(2)valueSession == null");
    out.println("<br>(2)valueSession : " + pReq.getAttribute("session"));
    %>
    And i always get as result:
    (2)valueSession == null
    (2)valueSession : value2
    Even when i send values (post) at the same page or browsing between tabs:
    I check my provider registration and it has the value "once per session"
    I have portal 9.0.2.2.14
    Thanks

  • Using Session Variables for User Login - sometimes they don't persist... what am I doing wrong?

    Hi all,
    I'm running a site that requires user login.  I approached the building of this site as almost a complete newb to CF (and dynamic coding in general), and it's been a great learing experience (with lots of help from you guys).
    However, I guess I never learned the correct way to handle a user login.  It seemed to me that I could just test the user-entered credentials against those stored in a database, then set a session variable containg that user's record number.  Then, not only would I have an easy way of knowing who this user was and therefore what info to serve him, but I could test for the existence of a valid login on every page in the protected folder, by adding this code to my application.cfc in that folder:
    <cfset This.Sessionmanagement=true>
    <cfset This.Sessiontimeout="#createtimespan(0,8,0,0)#">
       <cfif NOT isDefined ("session.username") or NOT isDefined ("session.password") or NOT isDefined ("session.storeID")>
         <cflocation url="../index.cfm" addtoken="no">
       </cfif>
    ...and it goes on to run a query and verify that the session.username and session.password match for the store defined by session.storeID.  If not, all session variables are cleared and it bounces you back to the login page.  When the user clicks Logout, all I do is delete all the session variables.
    This seemed to work great for like a year, but lately I've been getting reports that the login doesn't seem to persist for longer than approx. 20 minutes of inactivity.  You can see I specified session variables to remain active for 8 hours (I know that seems like a drastically long login, but it's what's necessary for this application).  I've only gotten this report from a few people, and I myself can't seem to duplicate it... I've tested an inactive login for 45 minutes now and it held.
    SO:  any reason you can think of why session variables would be spontaneously clearing for some people?  Would having your router reset its IP address invalidate the session or something?  Also, the problem seemed to begin appearing after my host upgraded all their servers to CF9... could there be any relation?
    And on a more general note... did I go about this completely the wrong way to begin with?  If so, what's the standard way to manage a login?
    Lots of questions, I know... thanks very much for any answers or suggestions!
    Joe

    Ian,
    Thanks very much - very helpful information.
    Sounds like passing the tokens in every request is probably the way to go for this.  I don't think it's likely that any users will be sharing links, unless they actually intend for the recipient to see their info anyway.
    Is that all I would have to do, is add the tokens to every path?  Would that guarantee that all the session variables would remain valid until timeout or being cleared?
    Again, thanks, you've been really helpful.
    Joe
    On Jun 23, 2010 4:37 PM, Ian Skinner &lt;[email protected]&gt; wrote:
    Unfortunately this is the nature of HTTP web applications.  There is NO state maintained from HTTP request to request.  This is by design in the HTTP protocol specifications.
    ColdFusion provides two methods to circumvent this limitation.  Each method has limitations and caveats.  They both rely on the passing of tokens between the client and the server with every request.  These tokens can be passed as cookies OR URL (GET) variables.  You are using the cookie method, which is the simpler and most common. You may be experiencing the limitation of this method.  If something happens to the cookies the session can be lost.
    You could pass the (CFID &amp; CFTOKEN) OR JESSIONID tokens through the URL query string with every request.  This requires one to add these values to every link, form action, cflocation or other request path in our application.  ColdFusion provides the session.urltoken variable to make this easier to do.  The tokens will be visible to the user.  Also if the links with an individual token is share with other users, via e-mail, chat, social networks, etc and one of these users utilize the link during the life of a session (8 hours apparently in your case).  Then that user will access the session of the original user.
    Cookie session management is by far the most common choice by CF developers.  If these methods do not meet your needs you would need to go beyond the HTTP limitations of web applications.  One might be able to accomplish this with a Flex|Air|Flash applications that can be configured to use a continuous connection to the server.  Thus not suffer the stateless nature of the normal HTTP request-response cycle.
    I do not know if a router resetting would cause cookies to be discarded or otherwise invalidated.  But I would not think it is beyond the relm of possibilities.

  • CRM Web UI :- How to Control number of session of Web UI for a user

    Hello Experts,
    We do have very specific requirement which SAP doesn`t recommend in terms of multi-sessioning for a user.So we are little worried upon the challeges.Could you please share your ideas/Experience on following?
    1.How to Control number of Internet explorer session for the web UI (may be 2 or 3).?
      Though SAP doesn`t recommned more than one but our client requires 2 or more than that but we need to fix it either 
      2 or 3.
      So we are looking for specific setting for this.
    2.What are the challenges we need to face if we implement option 1?
    3.Specially in interaction record management
        a. Is there chance of loosing the data if agent has opened more than two session.
        b. In which session interaction record data will get stored,the one on which agent picked up the call or in the latest 
            one?
    Please let me know if I am not clear enough on any point.
    Thanks in advance,
    Shailendra Tolambiya

    Hi Shailendra,
    The following wiki page might be useful in this respect:
    http://wiki.sdn.sap.com/wiki/x/gxdKDQ
    Best Regards,
    Shiromani

  • Error: Missing initial value for session parameter

    Hi,
    I'm facing a problem while running the ETL process for Complete 11.5.10 Execution Plan in DAC Client. Some tasks are getting failed beacuse of the following error:-
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: VAR_27026 [Error: Missing initial value for session parameter:[$DBConnection_OLAP].].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6270 [Error: Variable parameter expansion error.].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6163 [Error initializing variables and parameters for the paritition.].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: CMN_1761 [Timestamp Event: [Mon Nov 19 21:01:52 2007]].
    ERROR : TM_6292 : (5080|4064) Session task instance [SDE_ORA_Product_Category_Derive_Full]: TM_6226 [ERROR:  Failed to initialize session [SDE_ORA_Product_Category_Derive_Full]].
    ERROR : LM_36320 [Mon Nov 19 21:02:08 2007] : (2108|2632) Session task instance [SDE_ORA_Product_Category_Derive_Full]: Execution failed.
    When i checked the parameter file i can see the value assigned to the $DBConnection_OLAP. The same tasks ran successfully when i ran the ETL process for Complete 11.5.10 for the first time. I did not change anything after that and also all these are came built-in with the installation of Oracle BI Applications.
    Please anyone give me an idea what is causing the problem.
    Thanks,

    in DAC > Run History > Task Details, query
    Name = SDE_ORA_Product_Category_Temporary
    Open Status Description, look for string -lpf, the file after it is the actual parameter file DAC send to INFA server. E.g
    -lpf D:\DACTOPUS\Informatica\parameters\SDE_ORAR12_Adaptor.SDE_ORA_Product_Category_Temporary.txt
    Open the parameter file, most likely the [session_name] does not match with SDE_ORA_Product_Category_Derive_Full or some parameters are missing.

Maybe you are looking for

  • CRM UI Strategy

    Hi, I hope most you know that SAP's UI strategy is ABAP webdynpro except SAP CRM. SAP CRM is using BSP for its UI........is there any plan to move to ABAP wyndro for the forth coming release in CRM or SAP CRM will continue with BSP ???? Do you people

  • IPhone 5S won't connect to wi-fi

    I've recently switched my phone to iPhone 5s, upgraded to iOS 8.  Every time I try to connect to wi-fi at work it tells me that iOs is blocking the server.  I go to details and click "Trust", but still nothing happens.  The Wi-Fi network is dropped. 

  •  Cisco Identity Services Engine VM (eDelivery) - Part # L-ISE-VM-K9=

    Hello, I would like to know, if the following will run on Microsoft Hyper V. (Windows 2008 R2) Cisco Identity Services Engine VM (eDelivery) - Part # L-ISE-VM-K9= Thank you and best regards

  • Will jobs start again after a db shutdown?

    Hi all, sorry for this newbye question... Suppose a job having a next_date for execution at 04/04/2007 04:00, at 04/04/2007 03:00 the db is shutted down and at 04/04/2007 06:00 is started up. I repeat the scedule again: 04/04/2007 03:00 - Db shutdown

  • Log4j configuration on WAS6.1 Server

    Can any please let us know how to configure log4j.xml file or properties file externally from was server administration. I have deployed an application and have set log4j properties for that applications. Please help us Thanks in advance.