Skip to Content
author's profile photo
Former Member

Cookie fromJspDynpage

How can i set a cookie/or session variable in doprocessafterinput(), I want a variable(employee id) to be accessible in many components. Please can someone provide with sample code..I really appreciate your help . Tegala

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Best Answer
    Oct 04, 2005 at 02:29 PM

    Hi Tagela,

    I think this problem can be resolved by using the <b>EPCM.storeClientData</b>. Store the value of this <i>employee-id</i> variable in the databag and use it further. I guess you have discussed this issue with Geogi in your last thread.

    Along with this please refer to these site as well, they will help you:

    <b>1) ep---problem-when-store-data-in-session

    2) storing-data-across-calls

    3) how-set-a-session-variable

    4) http-session-that's-driving-me-crazy>

    I hope this helps you.

    Regards

    Pravesh

    PS: Please consider rewarding points if helpful.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 04, 2005 at 02:56 PM

    Solved problem ! Thanks to you and Geogi. Geogi and Peter helped me on how to store client data, the problem is i did not know how to access that data from PAI.

    for subscribe event there is a parameter to call a JS function, i couldn't find for loadclient data. I tried onload but that was refreshing the screen every second

    Again thanks for you help and time

    Add comment
    10|10000 characters needed characters exceeded