Set/Get Session Propertites by using an Applet

Hi Guys
I have using session properties(applet.setProperty,applet.getProperty ) to pass values between two IRPT pages. It works fine for me .But not working for the user.
When i logged in to his computer,it works.
So,it is user specific problem. Is there any thing to do with roles or any other settings ?
Thanks
Hari

Session variables would seem quite unnecessary just to send values between two pages.  Do you know that you can just pass them in the URL such as:  Page2.irpt?Name1=Value1&Name2=Value2
and then in your web page just use and in the place you want the values.
If you do a view...source you'll see that these values are actually replaced in the text and you don't need any javascript to get/set them.

Similar Messages

  • Didn't set Gnome-session in CLI using nano to start with startx...

    (continued)
    My screen now looks like this upon boot. http://uppix.net/d/2/7/176e2b840bbf0d35 … accd64.png
    Is there a way for me to use nano still?
    (note) I noticed before I went and rebooted and ended up like this, if I started x it would display a DE, but with aqua-esque color on what appears to be a title bar with CLI with me in root since I was in root at the time and a mouse cursor that I was able to move around.
    If there is need for me to try to elaborate on anything, I will do so to the best of my ability.

    *Solved*
    Topic Passer Byers
    Enter Single User Mode as said above by entering Single at the end of the image in grub using edit then do as you may need for respective Desktop Environment.
    Ex: kernel /vmlinuz26 root=/dev/disk/by-uuid9200a938......ro Single

  • When apex application get session?

    Hi!
    Can anyone tell me when application get session? I use plugin for dropdown menu and now I must set link for page. I tried to set link like this f?p=&APP_ID.:2:&SESSION. so browser could use it like localhost:8080/apex/*f?p=1000:2:386966391988601:::::*, but that doesn't work for me. I also try to set like f?p=1000.:2:&SESSION. (error i get is Bad Request The HTTP client sent a request that this server could not understand.) or f?p=1000:2: (here I must log in evry time i want use that link) and nothing work good for me.
    Regards,
    Dragan
    Edited by: drama9346 on 26.4.2012 4:11

    The <script> ... </script> has to be in HTML Header and not in Page HTML Body Attribute.
    Is it in the right place?
    To test it add an alert after the assignment.
    <script type="text/javascript">
      var pAPP_ID = &APP_ID.;
      var pSESSION = &SESSION.;
    alert ('App Id='+pAPP_ID);
    </script>On page load you should get the alert with the App Id.
    On second thoughts , the documentation says
    To use this menu, you'll need a source of data that provides menu options in the format: ID, Parent ID, name, link and level. So why not populate the APP_ID and Session in the link using
    Select ....
    'f?p=' || v('APP_ID') ||':'|| page_no ||':'||v('SESSION') link,
    ....Regards,
    Edited by: Prabodh on Apr 26, 2012 5:52 PM

  • How to use SET & GET Parameters in Module Pool

    Hi Friends,
    Can anyone please tell how to use SET / GET parameters and PARAMETER ID for a text box (Input / Output field ) in module pool? What is the purpose and where do we need to do coding for it?
    Note : I will definitely give the marks for good responses.
    Thanks in advance,
    Pradeep

    Hi Pradeep,
    You can save values in the SAP memory using a parameter ID. These
    are user and terminal-session specific, but available to all internal and
    external sessions.
    SET Parameter copies the corresponding field contents into the SAP
    System memory in the PAI processing block.
    GET Parameter copies the corresponding field contents from the SAP
    memory at the end of the PBO processing block, after data has been
    transferred from the program, if the screen field still has its initial value
    You can link an input/output field to an area of the SAP memory in the
    ABAP Dictionary.
    When you use an input/output field that is defined in the ABAP
    Dictionary, its parameter ID is displayed in the Dictionary attribute
    Parameter ID in the Screen Painter.
    Usage
    SET PARAMETER ID: ’CAR’ FIELD space,
    ’CON’ FIELD space,
    ’DAY’ FIELD space.
    Here is the link that explains the usage of GET/SET in detail
    <a href="http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm">http://help.sap.com/saphelp_erp2005vp/helpdata/en/9f/db9e0435c111d1829f0000e829fbfe/content.htm</a>
    Regards,
    Sharadha

  • Using set/get parameters or export/import in BSP.

    Hi All,
    Is it possible to use set/get or export/import in BSP?
    We need to set/export some variables from a BADI and get/ import them in the BSP application.
    Code snippet will be of great help..
    Thanks,
    Anubhav

    Hi Anubhav,
    You can use the Export / Import statements for your requirement,
    from the BADI use EXPORT to send the variable data to a unique memory location
    with IDs
    e.g.
    *data declaration required for background processing
          DATA: WA_INDX TYPE INDX.
    **here CNAME is the variable you want to export
    EXPORT PNAME = CNAME TO DATABASE INDX(XY) FROM WA_INDX CLIENT
                SY-MANDT ID 'ZVAR1'.
    and in the BSP application use the IMPORT statement to fetch back the values
    set with the IDs above.
    IMPORT PNAME = LV_CNAME
      FROM DATABASE INDX(XY) TO WA_INDX CLIENT
      SY-MANDT ID 'ZVAR1'.
    deletes the data to save wastage of memory
      DELETE FROM DATABASE INDX(XY)
        CLIENT SY-MANDT
        ID 'ZVAR1'.
    Regards,
    Samson Rodrigues

  • Using SET GET parameters in ITS

    Hi All,
    Is it possible to use set get parameters in ITS. We want to set some parameters in a BADI and read the value in ITS Template .
    Or is there any other method to do this?
    Thanks,
    Anubhav

    Sure. In your abap program use the following code
    *  ITS macros
    INCLUDE avwrtcxm.
    GET PARAMETER ID 'YOUR_PARAMETER' FIELD SAVE_PARAMETER.
    field-set u2018~YOUR_PARAMETERu2019 1 SAVE_PARAMETER.
    field-transport.
    in the template you can now use ~YOUR_PARAMETER.
    regards,
    Klaus
    Edited by: Klaus Layer on Feb 3, 2009 5:05 PM

  • Can I set a Session Variable from a Dashboard Prompt, using values that are

    Hi All
    Trying to set a Session Variable to an integer value, by letting users select a text value from the drop-down list on a Dashboard Prompt. The goal is to set the input parameter to the IndexCol function, but to provide the end users with a text description of what they are setting.
    Select Value Set Variable Value
    My 0
    My Team 1
    My Companies 2
    My Teams Companies 3
    Any suggestions on how to accomplish this? Certainly we could populate the drop-down from a data source, however I don't see how to populate a variable with something other than the values on the screen.
    The IndexCol function is referenced in a Filter in Answers, and I'm thinking to populate a Session variable using the (Presentation) variable value set from the prompt. But how to do this? I see a reference to a function NQSSetSessionValue(), but cannot find documentation on how it works.
    Any clue will be greatly appreciated.
    Thanks

    Hi kishore..
    Looks like the link u have sent uses advanced SQL tab to set session variables. I want to know if I can use "set variable NQ_SESSION.myvar= @something" in the "SQL results" -while creating a dashboard prompt-.
    Purpose: I want the session variable to be set based on whatever report that im currently in.
    And i dont want to use presentation variables because im using a reset button in my page.
    My reset script resets presentation variables and NOT session variables.
    Thanks in advance
    Loy

  • Getting Compilation error when used SET or MULTISET operator on nested tabl

    Dear All,
    I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
    This is working fine in other DB installations of 10g but does not work in another 10g DB.
    it says "wrong number of parameter or datatype used in SET"
    Can any one suggest what went wrong here?
    Thanks in advance.

    Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
    Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response.

  • Trying to create a VM using reserved IP but getting error "Must specify MediaLocation or set a current storage account using Set-AzureSubscription"

    I have created a reserved Ip and wanted to create a VM using the reserved IP. I had also created  aimage of existing Vm to create the new VM and I have used command on Windows Powershell as mentioned below.
    New-AzureVMConfig
    -Name
    "Amazon-10eBay-1" -InstanceSize
    “Small” -ImageName
    “Amazon-10-Image” | Add-AzureProvisioningConfig
    -Windows -AdminUsername
    “Akash” -Password “Stoneindia11” |
    New-AzureVM
    -ServiceName
    "Amazon-10eBay-1" -ReservedIPName
    "ResIPamazon10eBay1" -Location
    "West US"
    But its showing error "Must specify MediaLocation or set a current storage account using Set-AzureSubscription".
    I have been trying to create this Vm from many days but not able to create one. Please help

    Hello,
    Microsoft Azure forums are over here:
    https://social.msdn.microsoft.com/forums/azure/en-US/home
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How to set the session using onClick event?

    Dear All,
    I have a link, which once the user click on it, I want to set the session.
    <a href="link.jsp" > Link </a>How to set the session? Where should I put <%session1.setAttribute ("test", "1234"); %>?
    Any idea?
    Thanks

    when u click on Link
    the control goes to link.jsp/.
    and in this page u can write the session related code.

  • Setting the session when link is clicked in JSP

    I have a jsp page which recieves a Map from a java class function. It retireves the element from the map and displays it onto the page as a link. Now what I want to do is whenever any link is clicked then I want to put the map in the session. How can I do that in the same page????
    I do not want to already set the session becoz that gives me problem later on.

    Ok, I understand what you are trying to do now. Unfortunately, I still don't think you have much choice. Essentially you will only ever have 4 ways of persisting the data:
    1. In memory on the server (eg Session)
    2. On disk on the server (eg database)
    3. In memory on the client (eg Applet or maybe Javascript)
    4. On disk on the client (eg signed applet writing to local file system)
    The "standard" approach is to store all of this sort of stuff on the server, so you have a choice between 1 and 2.
    I assume your "Employee" data is in a database or LDAP directory? (or some form of "on disk" persistence), and you are querying this data store to populate the objects in memory?
    If so, there is a way you can avoid persisting in memory for a long time, but because you will have to persist "somewhere" you will only have option 2 left.. on disk.
    In the code where you initially retrieve the data from the data store for the first JSP, you can put the Map in the HttpServletRequest object rather than the session (request.setAttribute()), then access this in the first JSP to render the list. When you get to the second JSP however, this object will be out of scope and you won't have access to it anymore so you will have to query the datastore again for the specific record (based on an ID passed from the first JSP). So when you hit "back", the first JSP should execute again and requery the entire list again.
    This approach "shifts" the load from a memory load to a disk load (and you will also be affected by database performance issues), so you may not solve your performance desires.
    Alternatively, if the list of Employees is the same for all users (ie, it is an entire list and not a "filtered" list based on some search criteria), then you could store the list in memory at "application scope". Basically you would just load the Map on application start-up and put it into a static variable somewhere. I suspect this won't meet your needs as typically the list you generate would be based on a specific query (I am guessing here).
    All that being said, your concerns about memory usage and performance may be unwarranted. If you do some quick calculations about the memory usage of each Employee object, you may find it is a trivial amount. (Of course you won't be able to tell definatively how much memory it is using, but you may be able to hazard an educated guess). Remember also that things like Strings are "immutable" (never change) and are drawn from a "pool" of Strings. So, if you have two objects which contain the String "Java", they will actually both be using the same bit of memory.
    Also, a word of warning: If you choose to maintain your "in memory" model, you may run into concurrency issues. Consider the situation where the initial query generates a list of Employees. The user traverses the list looking at the details of each employee. Meanwhile, another user is changing the details of an Employee on disk, but the first user hasn't looked at the details of this Employee from their list yet. Because the list the first user is viewing is in memory, it won't reflect any alterations made since it was generated. So when the first user views the details of the Employee that the second user altered on disk, they will see the "old" details for that Employee.
    So, in summary the only two choices I can think of that are reasonable are:
    1. Keep things the same but don't destroy the Map in the session so the first page always has it, and suffer the memory issues. (remembering the warning above)
    2. Limit the scope of the data to the "request" only, and re-query every time. This will have poorer performance from a "response-time" perspective but avoids concurrency issues.
    My recommendation:
    If the list is "small" (sub 100 items), and you don't care about the risk of viewing "old" data, keep it in the Session. If the list is too big, perhaps you could look at only storing the first X number or records in the session and only displaying the first X number of records in the first JSP (like a search engine does)
    If the list is big, and/or you DO care about viewing old data, maintain the persistence on disk. If you choose this option, performance can be enhanced by using connection pools, stored procedures etc.
    At the end of the day, memory will only cause a performance issue if you "run out". Maybe the solution is to simply add more memory to the server?
    Hope some of this helps.

  • SET/GET not working when I submit one program into Main program.

    Hi All,
    I am using set/get parameter as follows but somewht it is not working.. Please help.
      IF ( uf_instn = 'ACEFR' and uf_messg <> 'BSP' ).
        set parameter id 'AJN' field lf_jobname.
        set parameter id 'AJC' field gf_jobcount.
      ENDIF.
      SUBMIT   zace_interface
        USER   sy-uname
        VIA    JOB lf_jobname
        NUMBER gf_jobcount
        WITH   SELECTION-TABLE lt_seltab
      TO     SAP-SPOOL
        AND    RETURN.
    in the zace_interface program I have another submit program
        submit zrsbdcsub and return
                        user 'ZACE_INTERFACE'
                        with mappe eq lf_group
                        with von eq sy-datum
                        with bis eq sy-datum
                        with fehler eq space
                        with logall eq co_true.
    ad inside this submit im using
                  get parameter id 'AJN' field v_jobname.
                  get parameter id 'AJC' field v_jobcount.
    but i am not able to get the values into v_jobname & v_jobcount.
    Can you please help me in this regard. how i will get the values in v_jobname & v_jobcount.
    Thanking you in advance
    Regards,
    Prashant

    Hi..,
    any way u r executing the programs in the same session but between diff. internal sessions u can use the IMPORT and EXPORT options ( ABAP MEMORY )
    or do one thing...
    <b>In the first program Copy these fields into a file in the <b>application server</b>,, and in the Second submit program u retrieve these variable values from the Application server file into these two variables!!</b>
    just now i have solved one of the issues of this Kind by using an Application server file.
    In the first program..
    IF ( uf_instn = 'ACEFR' and uf_messg <> 'BSP' ).
    OPEN dataset 'FILE' for output in text mode encoding default.
    transfer lf_jobname to 'FILE'.
    transfer gf_jobcount to 'FILE'.
    CLOSE dataset 'FILE'.
    ENDIF.
    and instead of using the GET parameters in the second program ..
    OPEN dataset 'FILE' for input in text mode encoding default.
    read dataset 'FILE' into v_jobname.
    read dataset 'FILE' into v_jobcount.
    CLOSE dataset 'FILE'.
    This has solved my problem !!!!! hope this helps u also!!
    regards,
    sai ramesh

  • ERROR: Error in getting session data: Invalid or Expired Session

    Hi,
    We are using ssrs 2008 r2 and have a report which has links that allow the user to drill down.
    When the link is clicked the same report is run but shows more detail. This works fine but we are now getting the error below for a user. 
    I have increased the time out for the report to 600 seconds.
    Error in getting session data: Invalid or Expired Session: fnxgxhjuveugvd552qfyv3fw
    session!ReportServer_0-6!4b0!03/18/2015-10:51:29:: i INFO: LoadSnapshot: Item with session: fnxgxhjuveugvd552qfyv3fw, reportPath: , userName: doman/user not found in the database
    Any ideas how this can be resolved?

    Hi Nasa1999,
    Based on your error message, If the all the users will sometimes got the same issue, it can be caused by the timeout issue. It happens a lot when rendering big report, and it exceeds the default Session Timeout. You can execute script
    to increase the Session Timeout time. Please refer to following blog:
    Session Timeout during execution. Also increase the value of <Query Timeout> in rsreportserver.config file. This file locate at XX:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
    Please also check to set the <legacyImpersonationPolicy> back to true(https://support.microsoft.com/en-us/kb/972328).
    Locate the Aspnet.config file in the following folder:
     %windir%\Microsoft.NET\Framework64\v2.0.50727
    If Microsoft Visual Studio is installed on the computer that is running SQL Server 2005, double-click
    Aspnet.config. If Visual Studio is not installed on the computer, follow these steps:
            a. Right-click Aspnet.config, point to
    Open with, and then click Choose program.
            b. In the Programs list, click
    Notepad, and then click OK.
    Locate the following tag in the <runtime> section of the code.
            <legacyImpersonationPolicy enabled="false"/>
    Change the tag to:
            <legacyImpersonationPolicy enabled="true"/>
    Save the Aspnet.config file.
    Reset IIS.
    Try your report again.
    Similar Thread for your reference:
    Using SharePoint Report Viewer
    Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx
    If only the one user or several users will got the issue, the issue can be caused by the permission setting, please reference to below blog:
    http://answers.flyppdevportal.com/categories/sqlserver/sqlreportingservices.aspx?ID=3506231b-9f4d-4f5a-884d-157137c56336
    http://blog.goobol.com/the-permissions-granted-to-user-domainusername-are-insufficient-for-performing-this-operation/
    If your problem still exists, please try to provide more details information as below:
    Did you reporting service installed in native mode or sharepoint mode, If in native mode, please try to provide more error message from the log file:
    C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Can we change the DB character set at session level

    hi,
    Please help me
    when iam giving the alter session command iam getting the error:
    SQL> ALTER SESSION set NLS_CHARACTERSE
    T =WE8MSWIN1252;
    ALTER SESSION set NLS_CHARACTERSET =WE8MSWIN1252
    ERROR at line 1:
    ORA-00922: missing or invalid
    i need to enter Arabic names in using the xml file.
    here i have two questions
    1)is it is possible to set character set at session level. because my client is not allowing to bounce the database. DB version is 10.2.0.4
    Right now my DB is in US7ascii
    2)is this "WE8MSWIN1252" set supports Arabic.
    Regards,
    Naresh

    You cannot change the characterset at the session level. If you want to store ARABIC characters in your database then you should change the characterset of your database to any other characterset that supports Arabic characters or to a Unicode characterset like UTF8 or AL32UTF8.
    If you try to insert Arabic characters with your present US7ASCII charancterset then the characters would be stored as junk.

  • How to get Session from different namespace?

    Hi,
    I´m trying to get a session from a different namespace, how can I do this?
    For example: I´m setting some session parameters with session.setAttribute in
    a namespace called "customer", and trying to get this parameters in a namespace
    called "main".
    In my webflow, I am using a proxy node to call the page in the other namespace.
    I will always recieve a session from the other namespace. But, when I try to get
    the parameters, I think the session have been lost.
    Can anyone help me?
    Thanx. CSN
    Thank

    Why? Because that's what the J2EE specification says should happen.

Maybe you are looking for

  • Having trouble getting a job to run using job scheduler

    I am using Oracle 11g. I run a sql script that schedules a job: exec sys.dbms_scheduler.create_job( job_name => '"SYSTEM"."UCR"', job_type => 'EXECUTABLE', job_action => 'D:\UserCountReport\bin\ucr.bat', repeat_interval => 'FREQ=HOURLY;BYHOUR=3;BYMIN

  • Document attachment multiple lines PO

    Hi there, Does anyone know if it is possible to see an indicator at item overview level on a PO to indicate that there is an attachment? Using the document management system, it is possible to attach documents at an item level. This is done by clicki

  • Final Cut Pro X- automatically changes video color

    When I bring new media into a project, in the viewing screen it changes the color. I have turned off all color settings and the problem still consists. In the project editing strips the color is fine but when viewing it is tinted purple. Any help?

  • How to install protocol NMP on linux?

    Hello I have installed Oracle 10g on RHWB 4,0, works perfectly (really fabulous), the problem is that protocol NMP this not working (something very, very important). My listener.ora file is this: # listener.ora Network Configuration File: /home/oracl

  • How do I export a movie in garageband to youtube ?

    Hi, When I recently did a Skype Interview I recorded it as a movie. I'm not sure why, but the video saved in GarageBand. Now I need to get this video Interview onto YouTube. Could you give me some tips on how to do that? Or if I could export the movi