Results 1 to 2 of 2
  1. #1

    NotifyUser Header

    Hi,
    We have problem in receiving cookie in header dictionary,
    is there anything that i can do to receive cookies in header?

    Thanks

  2. #2
    Senior Member
    Join Date
    Feb 2013
    Posts
    54
    Hi milad.j


    in the server configuration file lightstreamer_conf.xml there is the option <forward_cookies>.
    If you set it as 'Y', it will "enable the forwarding of the cookies to the Metadata Adapter through the httpHeaders argument of the 'notifyUser' method."
    But "Please note that in any case cookies should not be used to authenticate users, otherwise, having <use_protected_js> set to N and/or a too permissive policy in the <cross_domain_policy> will expose the server to CSRF attacks."


    hth
    Marco

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 09:19 AM.