Question

I am trying to make a simple experimental app. I'd like for it to behave like pastie.

On pasite you can paste code and it will remember your browser.

So if you paste the url (that pastie provides) in the same browser then you'll be able to edit the page. Everyone else will not see the edit link. Basically there is no registration or logging in.

How is this done?

Was it helpful?

Solution

Using HTTP cookies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top