# Cookies based on which Imagery the user selected

**URL:** <https://community.cesium.com/t/cookies-based-on-which-imagery-the-user-selected/5848>\
**Category:** CesiumJS\
**Created:** [July 25, 2017, 8:06am UTC](https://community.cesium.com/t/cookies-based-on-which-imagery-the-user-selected/5848 "2017-07-25T08:06:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdullah.shaiknaina](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abdullah.shaiknaina](https://community.cesium.com/u/abdullah.shaiknaina)\
**Post date:** [July 25, 2017, 8:06am UTC](https://community.cesium.com/t/cookies-based-on-which-imagery-the-user-selected/5848/1 "2017-07-25T08:06:20Z")

</div>

Hi Everyone,  
May I know on how to create cookies(javascript) to store details based on which Imagery (e.g. Bing Maps Aerial or Mapbox Satellite) the user selected??

Please reply to me as soon as possible…

Thanks

Cheers,

Abdullah Shaik Naina

---

<div class="post-metadata">

**Author:** ![abdullah.shaiknaina](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abdullah.shaiknaina](https://community.cesium.com/u/abdullah.shaiknaina)\
**Post date:** [July 26, 2017, 1:05am UTC](https://community.cesium.com/t/cookies-based-on-which-imagery-the-user-selected/5848/2 "2017-07-26T01:05:56Z")

</div>

Hi Everyone,  
I want to know on which user selected the imagery if the user reload the page or close the browser. Is there any function to manipulate Imagery???

Thanks

Cheers,

Abdullah Shaik Naina

---

<div class="post-metadata">

**Author:** ![abdullah.shaiknaina](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@abdullah.shaiknaina](https://community.cesium.com/u/abdullah.shaiknaina)\
**Post date:** [July 26, 2017, 1:07am UTC](https://community.cesium.com/t/cookies-based-on-which-imagery-the-user-selected/5848/3 "2017-07-26T01:07:57Z")

</div>

I am referring to the Base Layer Picker

---

<div class="post-metadata">

**Author:** ![Rachel\_Hwang](https://avatars.discourse-cdn.com/v4/letter/r/d78d45/32.png) [@Rachel\_Hwang](https://community.cesium.com/u/Rachel_Hwang)\
**Post date:** [July 27, 2017, 2:28pm UTC](https://community.cesium.com/t/cookies-based-on-which-imagery-the-user-selected/5848/4 "2017-07-27T14:28:05Z")

</div>

Hi there,

See this thread: [https://groups.google.com/forum/?hl=en#!searchin/cesium-dev/imagery$20event|sort:relevance/cesium-dev/8iIor9vqGOo/r1wr3bjkBgAJ](https://groups.google.com/forum/?hl=en#!searchin/cesium-dev/imagery%2420event%7Csort:relevance/cesium-dev/8iIor9vqGOo/r1wr3bjkBgAJ)

Best,

- Rachel
