logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What is session storage and how can you create one?


  • Correct Answer
  • Session storage is same like local storage but the data is valid for a session In simple words the data is deleted as soon as you close the browser To create a session storage you need to use ?sessionStoragevariablename? In the below code we have a created a variable called as ?clickcount? If you refresh the browser the count increases But if you close the browser and start again the ?clickcount? variable starts from zero if(sessionStorageclickcount) { sessionStorageclickcount=Number(sessionStorageclickcount)+1; } else { sessionStorageclickcount = 0; } 


  • Technology problems


    Search Results


    • 1. Why an app on iOS device behaves differently when running in foreground than in background?
    • Discuss
    • 2. What is the importance of XML-based layouts?
    • Discuss
    • 3. What is parallel/audit testing?
    • Discuss
    • 4. Describe Bottom-Up and Top-Down approach in Testing.
    • Discuss
    • 5. What is the role of Bug Tracking System?
    • Discuss
    • 6. Why cannot you run standard Java byte code on Android ?
    • Discuss
    • 7. Where can you define the icon for your Activity ?
    • Discuss
    • 8. Data structure suitable for an application discussed in?

    • Options
    • A. procedural design
    • B. architectural design
    • C. data design
    • D. interface design
    • Discuss
    • 9. XML preserves white spaces.

    • Options
    • A. TRUE
    • B. FALSE
    • Discuss
    • 10. A website main page is called

    • Options
    • A. start page
    • B. bookmark
    • C. search page
    • D. browser page
    • Discuss


    Comments

    There are no comments.

Enter a new Comment