Hi,
So your application depends on this cookie and you are trying to correlate it by extracting from a receive buffer and passing to a send buffer, right? First of all, you should use lrs_save_param/lrs_save_searched_string instead of lr_save_param. Secondly, you could try Web H/H Protocol if you have license for it.
Regards,
Sergey