Skip to Content
author's profile photo
Former Member

How i can use cookies in WAS ?

Hi.

Can somebody tell me how to use cookies and what is a cookie in WAS... does afect it in the performance ?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • author's profile photo
    Former Member
    Jul 28, 2004 at 02:18 PM

    Hello Armando,

    for the usage of client cookies please use java script book......document.cookie is the way to do it.

    For WebAs your question seems to be a bit too general.

    For BSPs you have the possibilty to use ready made classes to set/get client cookies( same as document.cookie) and server side cookies (at the end it's an export to database).

    For the client cookie you have to know, that the cookies are sent to the server with each request. The server cookies will have an expiry date. There is an report which deletes the expired server cookies from the database.

    I used both techniques in several projects and we had no performance problems at all.

    Search BSP Forum for more details.

    Regards, Bernd

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jul 30, 2004 at 02:10 PM

    Hi,

    if you are asking about using cookies with SAP Web AS Java, then you can read the corresponding documentation for a start:

    http://help.sap.com/saphelp_nw04/helpdata/en/ef/331262c03b3b49b147f33876faeff2/frameset.htm

    Then, if you have further question, you can come back here and ask.

    Regards,

    Ivo.

    Add comment
    10|10000 characters needed characters exceeded