Skip to Content
0
Former Member
Oct 21, 2004 at 05:14 PM

Cookie Swap

32 Views

Hi,

Practising with get/set cookies lead to the following issue:

I have a BSP page with one input field and a submit button. On clicking submit, I set the cookie(<b>response->set_cookie</b>) in do_handle_event. In the do_request method of the same class, when I try to retrieve(<b>request->get_cookie</b>), it doesn't get the cookie value. On pressing the submit button again, I get the intended value.

There are always two values for the cookie.

I looked at two OSS Notes for this:

a) 764951

b) 762645

but could not make out if this is the same problem that I am referring to.

Can you let me know if it is an OSS problem or am I doing something wrong here ?

Regards,

Subramanian V.

P.S. - Right now at 620 SP Level 35 (more chocolates to Basis guys , is it ???)

Message was edited by: Subramanian Venkateswaran