Author

Topic: Faucet "Cookie" (Read 556 times)

newbie
Activity: 21
Merit: 0
January 09, 2017, 04:55:26 AM
#5
I'm using JavaScript.
Vod
legendary
Activity: 3668
Merit: 3010
Licking my boob since 1970
January 08, 2017, 11:09:32 PM
#4
Hello,  I have a faucet and I'm wondering...

What's the way to "save" the addresses from your faucet users?

I mean, every time that they enter to my faucet they have to "write" their addresses, so I want to save them that job.

What programming language are you using?
sr. member
Activity: 364
Merit: 250
January 08, 2017, 06:43:05 AM
#3
Hello,  I have a faucet and I'm wondering...

What's the way to "save" the addresses from your faucet users?

I mean, every time that they enter to my faucet they have to "write" their addresses, so I want to save them that job.

In Cookies or Sessions. PM me if you want me to add that to your faucet code.
sr. member
Activity: 528
Merit: 368
January 08, 2017, 06:29:21 AM
#2
Like you have mentioned in your title, you can store it in a cookie.

Just remember to never trust the client and perform the same validation and sanitation on addresses taken from cookies as you do on addresses taken from the form. It is trivial for the user to set the cookie to an arbitrary value, so you can't assume it's a valid address.
newbie
Activity: 21
Merit: 0
January 08, 2017, 02:40:58 AM
#1
Hello,  I have a faucet and I'm wondering...

What's the way to "save" the addresses from your faucet users?

I mean, every time that they enter to my faucet they have to "write" their addresses, so I want to save them that job.
Jump to: