문제

Any sample code or documentation on session/cookies management in Samsung smart tv app development while using "scene" in application

도움이 되었습니까?

해결책

Samsung TV Application running under a single-webpage architecture. All of the "scenes" will injected to index.html and becoming single instance which is "never" reloaded, So i never use session/cookies since all of global javascript variable will do the information sharing between scenes.

But if you want to use session/cookies for storing data after the application closed, you can use the File API to store text data in the TV and the data will "live" until the application uninstalled.

http://samsungdforum.com/Guide/ref00001/index.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top