Store info. per User - How?

Is there a way i cud store some information per user??
I know we could use portalapp.xml to store data but Iam looking for alternative approach which gives more flexibility to store more data and is more user speific.
Any Sample code or pointers are appreciated!!
Thanks a lot.

Hi,
You can use EPCF to store information.
Using Level one or level two you can store client information in the form of cookies.
Refer to this link
http://help.sap.com/saphelp_erp2005/helpdata/en/27/41b84033a8b533e10000000a155106/frameset.htm
Look for client Data Bag API, sample code is available in the link.
Message was edited by: Kirupanand venkatapathi

Similar Messages

  • How to set the portlet preference per user instead of global setting

    Hello All
    I am using IBM JSR168/ JSF, In my portlet Edit mode I am trying to set a value per user preference , but it always set for all other users even this is just a normal user, I think when an administrator set any preference value then those preferences value will be set for all the users. but in my case it is a normal user has right for the edit mode and hence the preference set by the user in edit mode will be set for his portlet instance only. So why it sets for all the users preference???...... Thanks a lot for your help!!!
    here is my code:
    ///////////portlet.xml//////////
    <preference>
                        <name>RowsPerPage</name>
                        <value>25</value>
                        <read-only>false</read-only>
                   </preference>/////////////////////////pageCode in edit mode do the save action/////////////////////////
    public String doSaveAction(){     
               FacesContext ctx = FacesContext.getCurrentInstance();
                  HttpSession session = (HttpSession)ctx.getExternalContext().getSession(false);
                  if(session != null) {
                       session.setAttribute("save", "save");
                       session.setAttribute("Number",Integer.toString(getNumber()));
               return "";
    }/////////////////////store the preference value///////
    public class MyPortlet extends FacesGenericPortlet {
    public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException {
              try{               
                //String save1 = actionRequest.getParameter("save");
                String save = (String) actionRequest.getPortletSession().getAttribute("save");
                if (save != null){
                   PortletPreferences prefs = actionRequest.getPreferences();
                   String number= (String) actionRequest.getPortletSession().getAttribute("Number");
                   prefs.setValue("Number", number);
                   prefs.store();
              }

    Hope someone really can help me for this issue... I just wondering is this related to the user group config in portlet, since the interesting is that this issue is not apply to wpsadmin , but not sure where and how to set other user group that can set the preference no problem??
    Thanks for your time !

  • How to set session timeout per user

    Hi,
    Ho do I set the session timeout per User in the
    Application.cfm File??
    I tried using
    <cfif SESSION.UID EQ 1>
    <CFAPPLICATION NAME="appControl" SESSIONMANAGEMENT="Yes"
    sessiontimeout="#CreateTimeSpan(0,0,20,0)#">
    </cfelse>
    <CFAPPLICATION NAME="appControl" SESSIONMANAGEMENT="Yes"
    sessiontimeout="#CreateTimeSpan(1,0,0,0)#">
    </cfif>
    But this didnt work because the cfapplication seems to have
    to be at the top before I call the variable SESSION.UID which
    I set on my login page..
    Someone know how to do this??
    Regards
    Martin

    Martin,
    Your code example cannot work because the "session" scope
    doesn't exist until your application scope is defined. So you have
    to handle this manually. Here's how you can get it done. First,
    define your application to the maximum sessiontimeout you want to
    have.
    <CFAPPLICATION NAME="appControl" SESSIONMANAGEMENT="Yes"
    SESSIONTIMEOUT="#CreateTimeSpan(1,0,0,0)#">
    Then, I don't know how you are doing your login
    authentication but when you have authenticated the user, you need
    to define the userid and the most recent activity in the session.
    Also determine your timeout value based on the userid. See example:
    <CFIF IS_AUTHENTICATED>
    <CFSET session.user.uid = form.userid>
    <CFSET session.user.most_recent_activity = now()>
    <CFIF session.user.id eq 1>
    <CFSET session.user.timeout_mins = 20>
    <CFELSE>
    <CFSET session.user.timeout_mins = 1440>
    </CFIF>
    </CFIF>
    Now, all you have to do is check whether the user has been
    idle for too long and kill the session by purging all session
    variables. For example:
    <!--- if user id is defined, this means user is logged in
    --->
    <CFIF structKeyExists(session, "user") and
    structKeyExists(session.user, "id")>
    <!--- check if timeout has expired --->
    <CFIF datediff("n", session.user.most_recent_activity,
    now()) gt session.user.timeout_mins>
    <!--- timeout has expired, kill the session and log the
    user out --->
    <CFSET StructClear(session)>
    <!--- insert your logout code here --->
    <CFELSE>
    <!--- user hasn't timed out, so reset the most recent
    activity to now --->
    <CFSET session.user.most_recent_activity = now()>
    </CFIF>
    </CFIF>

  • Flashplayer pop up box  "Requesting permission to store info on my computer" does not respond and will not go away. How do I get rid of it. It is most annoying as it stays right in the middle of the screen.

    Flashplayer pop up box  "Requesting permission to store info on my computer" does not respond and will not go away. How do I get rid of it. It is most annoying as it stays right in the middle of the screen.

    Move cursor onto video.  Right click.  Click Settings,  Click the "never ask again" box. Then click Close.  That will work.
    For some reason, that always worked for me, but in the last two days, it does not work, and it seems to freeze on the
    video.  See, if it works for you.

  • An OS-Intergrated place to store per-user application configuration files.

    A Chairde,
    I'm developing an application that could be deployed on multiple platforms. I'm looking for a location to store per-user configuration files in a OS-integrated way.
    I use a utility class to determine the OS of the users machine. I know from experience that Windows NT5+ likes to store per-user settings/configurations in the %APPDATA% path (which is usually C:\Users\<username>\Appdata\Roaming\<vendor>\<software> etc.) I'm using a call to the environment labels to determine it's location.
    I'm a linux user myself, so I'm aware that most UNIX based Operating Systems like to store personal configurations in hidden folders in the user's home directory (ex /home/<username>/.<application> etc.), Obviously, I'm using a call to the system property user.home to determine that location.
    My Question is in relation to Mac OS and Mac OS X, where would it be a safe location to store per-user configurations? I know OS X is BSD/UNIX based so is it safe to assume to store them as a hidden subfolder of the user.home directory? What about Mac OS classic? Where are per-user settings stored, or is it like Windows 9x and NT4 and lacks proper multi-user setups (although NT4 is somewhat more prepared then 9x) ?
    It would be much appreciated if anybody has any ideas.
    Is Mise,
    Seán Mac Aodha
    PS. I'm not using Javas Property files etc. I've rolled my own exchangeable format for storing key,value pairs.

    I've used databases in the past to store local files but clients have sometimes run into trouble when the database daemon goes down or doesnt start-up normally because of a "improper" shutdown etc.
    In my own implementation of "Settings Files" i have serialized hashtables marked with appropriate metadata stored to the users "application data", a backup or original copy of those settings in the common directory shared by my application framework and then in a networked enviroment, the Settings can be hosted on a database server, so the user can travel between client machines and keep their settings (and files) with them.
    I have, with a bit of googling, come across the most obvious page i should have looked at in regards to Apple Mac OS X
    http://developer.apple.com/documentation/MacOSX/Conceptual/BPFileSystem/Articles/WhereToPutFiles.html
    According to Apple's guidlines, the most suitable place to store User configuration files is in the ~/Library/Application Support/<Application Name> directory.
    and for System-wide configuration files, /Library/Application Support/<Application Name> rather then storing them with the application in the /Applications directory.

  • How to change the maximum number of process per user in BW ?

    Hi,
    Do you know how to change the maximum number of process allowed per user ?
    With RSRT we can customize the number of process per query but I don't know where we can customize the maximum number of process per user.
    In fact, my production environment reach always the max number of process available in SM50...
    Thanks a lot

    Hi,
    A user is not have the No. of processor but a work process can handle N No. of users. If a user hit any transaction v acn say from  a list of N worl proceesor which has been taken the work.
    Correct if I am wrong.
    Regards
    Syed.

  • How to use the *new* "per-user remote control"?

    Per the ARD discription page at:  http://itunes.apple.com/us/app/apple-remote-desktop/id409907375?mt=12
    It says under "Whats New in 3.5.1":
    "Per-user remote control
    You can remotely log in to a Mac with any user account on that computer and control it, without interrupting someone else who might be using the computer under a different login.
    How can I do this?  I can't seem to find the ability.  If I use ARD in it's "normal" mode, I am on the user's console at the same time they are.... I want to be "underneath" the console without affecting them.

    That capability is only available if your client systems are running Mac OS X 10.7 Lion. See:
    http://support.apple.com/kb/HT4715
    Regards.

  • How to realize only one identical remoteApp per session per user per computer?

    If a terminalserver 2008 R1 is configured for only one session per user, everything works like it should if the user connects using the 'normal' remotedesktop session. A second connect with the same credentials kicks the first connect.
    If a remoteApp is used instead of the 'normal' connect, it's possible to start multiple instances of this app within one user a least from one computer. mstsc do run multiple times and seem to link in the existent connection without kicking it. How to change
    that?
    Continuative:
    The started RemoteApp checks the mutex of all started processes and stops herself if a process is found with the same mutex. This prevents multiple instances of this app within one user with the same sessionID. If a terminalserver is configured for only
    one session per user, this RemoteApp shouldn't start multiple within one user. Using a "normal" remote desktop session the app doesn't start more than one time, I tested it. Used as RemotApp, the app starts multiple! Possibly I'm able to change this behaviour
    with a code fix instead of configuring terminal services. Any tips regarding mutex and terminalservers?

    Hi,
    I tested the following code and it is working for me both in a RemoteApp and Full session:
    Imports System.Threading
    Module Main
    Sub Main()
    Dim createdNew As Boolean
    Dim m As New Mutex(True, "TPMutex", createdNew)
    If Not createdNew Then
    Return
    End If
    Application.Run(Form1)
    GC.KeepAlive(m)
    End Sub
    End Module
    -TP

  • How much table space will be alloctaed per user

    hi all,
    when a user is created how much table space will be allocated by default per user the oracle server or is there any default size fixed by the dba.
    thanks and regards,
    sri ram.

    Untill the administrator doesn't specify QUOTA or grant UNLIMITED TABLESPACE to user Oracle account doesn't have available space in any tablespace, event in default:
    SQL> create user new_user identified by new_user
      2  default tablespace users;
    User created.
    SQL> grant create session, create table to new_user;
    Grant succeeded.
    SQL> conn new_user/new_user
    Connected.
    SQL> create table t(x int);
    create table t(x int)
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'
    SQL> conn / as sysdba
    Connected.
    SQL> alter user new_user quota 1M on users;
    User altered.
    SQL> conn new_user/new_user
    Connected.
    SQL> create table t(x int);
    Table created.

  • How can i save job settings in Capture Perfect per computer and not only per user?

    Hi
    I got a production computer with capture perfect 3.0
    Is there a version where the job settings are saved per computer and not per user?
    This is a problem when i am creating  scanner jobs everybody on the computer should be able to use.
    TJ

    I'm having the same problem and I use the built-in camera app.  I have and iphone 4 and my friend uses and iphone 4s and his saves as JPEG.  Mine saves as png.  How can I get mine to save as JPEG?

  • IPad notification...stating iCloud could no longer store info.?? how fast does this fill up? And, what should I store /or not store...to keep this from happening?

    iPad notification...stating iCloud could no longer store info.?? how fast does this fill up? And, what should I store /or not store...to keep this from happening?

    Depends on what your storing.  This article will help you see what's using your storage so you can make some decisions on how to reduce it: http://support.apple.com/kb/ht4847.

  • HT4059 Hi, can someone advise me how to change iTunes Store as per a changed country?

    Hi, can you please advise how to change iTunes Store as per changed country? Thanks

    Go to the iTunes Store and log on to your account, change the country in your Account details. You can change the store view at any time. Click on the store icon and when it opens scroll to the bottom of the main pane where you'll find the "My Store" drop down menu. Click on the flag icon and click on any flag from the window that appears, this will take you to the store you've chosen.

  • How to separate application module instance per user session?

    Hi.
    How do you separate application module instances per session or per user? I am creating a web application and has created a simple filter that implements Filter.
    Thanks in advance.

    Hi Frank. Thank you for the reply.
    I tried using two browsers. The behavior of each page is very much different when being opened individually. Its like the two pages is sharing the same iterator / data and / or entity object. These two pages were opened to see if one is dependent upon the other. But when I test the same scenario on a different computer, everything works out fine.
    Is there a way for me to verify if the sessions are different? and if they are different, is there a way to verify if the application module created a new instance for the other session?

  • How to convert per device cal to per user cal

    Dear Sir
    We've installed windows server 2008 r2 on our server & configured rdsh for the same(as per user cal). I want to  use my erp software through rds from my other office. at a same time i want to use  it from my 3 machine remotly, pls advise me
    which rds cal should i purchased for 3 machine. should i purchased 3 rds cals per device or per user,
    I have recently purchased 1 no per device cal open license from my distributor(microsoft part no.6vc-02071).
    If i want to use per user cal method, is it possible to convert this device cal to user cal , please tell me the steps for the same.

    Hi,
    I think you may need to purchase Per User RDS CALs. As your users need to access the three machines remotely.
    In addition, it is possible to convert.
    Switching between Device and User CALs
    http://blogs.technet.com/b/licensing/archive/2013/04/01/switching-between-device-and-user-cals.aspx
    Client Access License (CAL) Decision Tool
    http://www.microsoft.com/licensing/CalTool/
    Hope this helps.
    Jeremy Wu
    TechNet Community Support

  • How works feature per-user value?

    Can anyone help me with feature of per-user value of the element in custom Form?
    I can not find the explanation in documentation of Novell vibe.
    I would be appreciate too, if someone give me a link with an example of using this feature.
    My purpose is to use this functionality in workflow, where in this field (element) would be comments of users who approve some document. Their comments can not be modified after approval. If there is a time stamp of this comment I would be really very happy.
    Thanks for answer!
    Alena

    sualina,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

Maybe you are looking for

  • Populating the table with values in a jsp

    need help... i have a jsp with 2 textboxes lastname and firstname and a button submit. wen i click on submit i should get a table on the same jsp below the submit button and it should be populated with the values entered in the textboxes. Can you pl

  • Im at a serious loss with this new HD install.....

    I dont know what else to do. I recently tried to instala new HD in my computer Seagate 500GB SATA II 7200rpm 16mb Performance Rotational Speed: 7200rpm Buffer Size: 16mb Transfer Rate Serial ATA (G/s): 3.0G/sec Average Seek: < 8.5ms Average Latency:

  • Displaying custom graph in ALV report

    Hi Can you tell me how to display a custom graph for a column in a alv report. That is adding a seperate button in the report and display a graph for a column when the button is clicked. If 'Graph_2d' function module is used can anybody tell how to p

  • Help with Debugger

    I am having trouble using a debugger... I used it at one time but I forgot how to use it. The debugger I am using is the jdb that came with j2sdk1.4.0. What command would I give if I wanted to dump the variable testInt? What about testInt2? import ja

  • How do I downgrade from iTunes 10.5.2 to 10.5?

    About the time I upgraded iTunes for Mac from 10.5 to 10.5.1 I was no longer able to change Import Settings>>AAC Encoder>>Custom. I am running Mac OS X 10.6.8 on a early 2010 Mac mini. When I click on the Custom... drop down list for AAC Encoder, it