# SharedObject data check?

**URL:** <https://forum.kirupa.com/t/sharedobject-data-check/280278>\
**Category:** Uncategorized\
**Created:** [January 25, 2009, 3:51pm UTC](https://forum.kirupa.com/t/sharedobject-data-check/280278 "2009-01-25T15:51:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![anix](https://avatars.discourse-cdn.com/v4/letter/a/e274bd/32.png) [@anix](https://forum.kirupa.com/u/anix)\
**Post date:** [January 25, 2009, 3:51pm UTC](https://forum.kirupa.com/t/sharedobject-data-check/280278/1 "2009-01-25T15:51:15Z")

</div>

Hi i am currently designing a game where when the user starts the game they enter thier name and press continue, thier name is then stored in a ShredObject by this command “localInfo.data.user = name;”, and if the player wins or loses they get the chance to play again. basicaly i want to check at the start of the game if a value exists within the “localInfo.data.user” and if it does i dont want to display the box for the user to enter thier name as it already exists. But i dont know how to do this i tried the below statement but it didnt work i would really appreciate any help:

if(localInfo.data.user == false)  
{

}
