Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.