Discuss Scratch

heroguy15
Scratcher
27 posts

cookie variables? maybe?

for those who don't know, a cookie in programming is a variable stored inside the internet browser so it can be acessed later.

do a barrel roll
(: )
( ¨ )
( :)
( ..)

yes.

set [ this] to [A triumph]
Hyperbola
Scratcher
99 posts

cookie variables? maybe?

Great idea! Would make savefiles a lot easier.

(Maybe an account variable too?)

Well
We're at 2.0
I'm not sure this is a good thing
But I guess we'll have to stay here
jvvg
Scratcher
1000+ posts

cookie variables? maybe?

I do not support this idea.

Using cloud variables, you can save data fairly easily for a user, there is no need to create another mechanism.

Also, some browsers have a limit of something like 30 cookies per site, so that would be extremely limiting.


Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
heroguy15
Scratcher
27 posts

cookie variables? maybe?

jvvg wrote:

I do not support this idea.

Using cloud variables, you can save data fairly easily for a user, there is no need to create another mechanism.

Also, some browsers have a limit of something like 30 cookies per site, so that would be extremely limiting.

meh. I really don't know how to store user data with cloud variables, but I'll look into it.

do a barrel roll
(: )
( ¨ )
( :)
( ..)

yes.

set [ this] to [A triumph]
jvvg
Scratcher
1000+ posts

cookie variables? maybe?

heroguy15 wrote:

jvvg wrote:

I do not support this idea.

Using cloud variables, you can save data fairly easily for a user, there is no need to create another mechanism.

Also, some browsers have a limit of something like 30 cookies per site, so that would be extremely limiting.

meh. I really don't know how to store user data with cloud variables, but I'll look into it.
Once cloud lists are implemented, it will be much easier.

Last edited by jvvg (May 13, 2013 01:39:43)



Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
Hyperbola
Scratcher
99 posts

cookie variables? maybe?

heroguy15 wrote:

jvvg wrote:

I do not support this idea.

Using cloud variables, you can save data fairly easily for a user, there is no need to create another mechanism.

Also, some browsers have a limit of something like 30 cookies per site, so that would be extremely limiting.

meh. I really don't know how to store user data with cloud variables, but I'll look into it.
It's actually quite difficult, especially with no cloud lists and only numeric numbers. (And no case-sensitivity?!) But the cookie limit might be bad…


IDEA: Instead of a cookie variable, have a project-account variable. Each project's viewer gets his own copy. Though they should be deleted if they aren't used in.. say a week.

Well
We're at 2.0
I'm not sure this is a good thing
But I guess we'll have to stay here
jvvg
Scratcher
1000+ posts

cookie variables? maybe?

Hyperbola wrote:

heroguy15 wrote:

jvvg wrote:

I do not support this idea.

Using cloud variables, you can save data fairly easily for a user, there is no need to create another mechanism.

Also, some browsers have a limit of something like 30 cookies per site, so that would be extremely limiting.

meh. I really don't know how to store user data with cloud variables, but I'll look into it.
It's actually quite difficult, especially with no cloud lists and only numeric numbers. (And no case-sensitivity?!) But the cookie limit might be bad…


IDEA: Instead of a cookie variable, have a project-account variable. Each project's viewer gets his own copy. Though they should be deleted if they aren't used in.. say a week.
This is a cool idea, but might be difficult to implement.

Once cloud lists are out, it will be much easier to store per-user data.


Professional web developer and lead engineer on the Scratch Wiki
Maybe the Scratch Team isn't so badWhy the April Fools' Day forum didn't work last year
224615
Scratcher
100+ posts

cookie variables? maybe?

yea I think that any of the three options proposed here would be good
I want this mainly so I can make voting projects where people can't vote twice

define scratch
forever
Imagine
Program
Share
end
HappyZac314
Scratcher
18 posts

cookie variables? maybe?

CLOUD LISTS will really help
Then you could probably make them with a cookie variable called userid to find your data
Like this
when green flag clicked
set [

Last edited by HappyZac314 (Oct. 17, 2019 16:27:35)


(days until 2.2)

Powered by DjangoBB