Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

_satellite.cookie.set: update signature to allow setting the third parameter as an integer rather than object

Avatar

Avatar
Boost 1
Level 1
BogdanNazaruk
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Establish
Shape 1
View profile

Avatar
Boost 1
Level 1
BogdanNazaruk
Level 1

Likes

2 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
Establish
Shape 1
View profile
BogdanNazaruk
Level 1

14-07-2021

Description - the cookie set function's third argument is an object. Please allow it to be an integer for those who used to old syntax.

Why is this feature important to you - seeing too many developers supplying an integer there and failing.

How would you like the feature to work - check the type of the third argument and if it's an int, just use it for days as you do with the object

Current Behaviour - supplying int does nothing.