title: I have the session id in a variable i want to access that variable throughout the application by set the cookie in react native
body: <p>I have the session id in <code>{this.state.session}</code>.
  I want to call that session state throughout the application by set cookie or to store the asyncstorage. </p>
  
  <p>Can you please give the code to set asyncstorage or set cookie?</p>