Question

I have 2 columns containing data in my SQLite database. My application is written in HTML4.

Now what I need to do is, based on the data that is clicked, my application should take me to the next page with the userid of the data that is clicked so that I can proceed further.

My question is: How do I pass the userid of the item that is clicked to the next page?

I am completely new to Local and Session Storage. In fact I have never used this before. More information regarding them will make my problem a lot easier.

Était-ce utile?

La solution

In short, no.

LocalStorage is part of HTML5 standard specification and is used as an alternative to cookie/session storage. Having that said, you could use either sessions or cookies (depending on the purpose of your storage) instead while keeping in mind that these alternatives probably won't be as efficient for storing and structuring locally stored data of considerable weight as localStorage.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top