Discuss Scratch

82BITMYSTERY
Scratcher
500+ posts

How can some links sign you out?

So I noticed that some people are posting links in the forums. When you hover over the link, it appears to be a regular link, but when you click on it, you get signed out.
Holly_Wing387
Scratcher
2 posts

How can some links sign you out?

I saw that too, it's weird.
GameCatastrophe0927
Scratcher
1000+ posts

How can some links sign you out?

It seems to just be an error. For example, I think (not sure) that you will be signed out if you put random numbers after your username in a link. (Actually it seems that one only works with very specific numbers, I don't know what those are.) Also some Scratch error pages do that too.

Last edited by GameCatastrophe0927 (Oct. 10, 2024 17:32:59)

82BITMYSTERY
Scratcher
500+ posts

How can some links sign you out?

GameCatastrophe0927 wrote:

It seems to just be an error. For example, I think (not sure) that you will be signed out if you put random numbers after your username in a link. (Actually it seems that one only works with very specific numbers, I don't know what those are.) Also some Scratch error pages do that too.
Not an error one of the links was scratch.mit.edu/abouta
Coughfe
Scratcher
100+ posts

How can some links sign you out?

Some pages return malformed cookies; unless I recall wrong.
82BITMYSTERY
Scratcher
500+ posts

How can some links sign you out?

Coughfe wrote:

Some pages return malformed cookies; unless I recall wrong.
Can you elaborate?

Last edited by 82BITMYSTERY (Oct. 10, 2024 18:05:03)

crazyfrogcat
Scratcher
500+ posts

How can some links sign you out?

82BITMYSTERY wrote:

(#4)

GameCatastrophe0927 wrote:

It seems to just be an error. For example, I think (not sure) that you will be signed out if you put random numbers after your username in a link. (Actually it seems that one only works with very specific numbers, I don't know what those are.) Also some Scratch error pages do that too.
Not an error one of the links was scratch.mit.edu/abouta
i'll try click here
82BITMYSTERY
Scratcher
500+ posts

How can some links sign you out?

crazyfrogcat wrote:

82BITMYSTERY wrote:

(#4)

GameCatastrophe0927 wrote:

It seems to just be an error. For example, I think (not sure) that you will be signed out if you put random numbers after your username in a link. (Actually it seems that one only works with very specific numbers, I don't know what those are.) Also some Scratch error pages do that too.
Not an error one of the links was scratch.mit.edu/abouta
i'll try click here
worked
starlightsparker
Scratcher
1000+ posts

How can some links sign you out?

Cookies are what keep you logged in—If the cookie is eaten deleted or malformed you will/may be signed out. I believe what @Coughfe is trying to say is that these pages malform the cookie, and so therefore log you out.
SpyCoderX
Scratcher
1000+ posts

How can some links sign you out?

starlightsparker wrote:

Cookies are what keep you logged in—If the cookie is eaten deleted or malformed you will/may be signed out. I believe what @Coughfe is trying to say is that these pages malform the cookie, and so therefore log you out.
E.g. they set the cookie with bad data. The cookie is stored on your device and it’s usually only set when you sign in, although it depends on the website.

As starlight said, the cookie was likely modified to include invalid data.
CST1229
Scratcher
1000+ posts

How can some links sign you out?

Scratch's website is essentially 2 completely different websites mashed together (the 3.0 and the 2.0 pages), and that causes some weird bugs. One of those weird bugs is, apparently, /abouta logging you out (because requesting that page makes the server send a “Set-Cookie” header to clear the user's session).
I'm not really sure how that happens. If I recall correctly, I once asked @codubee* about it, and they (he?) just told me that it's because of the 3.0+2.0 sites together thing. They didn't elaborate much

Last edited by CST1229 (Oct. 11, 2024 16:51:43)

crazyfrogcat
Scratcher
500+ posts

How can some links sign you out?

CST1229 wrote:

(#11)
Scratch's website is essentially 2 completely different websites mashed together (the 3.0 and the 2.0 pages), and that causes some weird bugs. One of those weird bugs is, apparently, /abouta logging you out (because requesting that page makes the server send a “Set-Cookie” header to clear the user's session).
I'm not really sure how that happens. If I recall correctly, I once asked @codubee* about it, and they (he?) just told me that it's because of the 3.0+2.0 sites together thing. They didn't elaborate much
oh yeh you can see pages that look like 2.0 plus in 4.0 you might see pages that look like 3.0
NotK3ndricAlt
Scratcher
1000+ posts

How can some links sign you out?

crazyfrogcat wrote:

CST1229 wrote:

(#11)
Scratch's website is essentially 2 completely different websites mashed together (the 3.0 and the 2.0 pages), and that causes some weird bugs. One of those weird bugs is, apparently, /abouta logging you out (because requesting that page makes the server send a “Set-Cookie” header to clear the user's session).
I'm not really sure how that happens. If I recall correctly, I once asked @codubee* about it, and they (he?) just told me that it's because of the 3.0+2.0 sites together thing. They didn't elaborate much
oh yeh you can see pages that look like 2.0 plus in 4.0 you might see pages that look like 3.0
Off-topic from the OP, but 3.0 was rushed and that’s why there is still some 2.0 pages. Thus, if 4.0 wasn’t rushed, there would only be 4.0 pages. However, since 3.0 is constantly improving, we may see all 3.0 pages in the future. Thus, if 4.0 was to be rushed, then yes, there would be 3.0 pages.
BluePixelLOLLL
Scratcher
1000+ posts

How can some links sign you out?

BigNate469
Scratcher
1000+ posts

How can some links sign you out?

BluePixelLOLLL wrote:

scratch.mit.edu/aboutskibiditoilet also signs you out
Any arbitrary string after scratch.mit.edu/about signs you out.
50_scratch_tabs
Scratcher
1000+ posts

How can some links sign you out?

BluePixelLOLLL wrote:

(#14)
scratch.mit.edu/aboutskibiditoilet also signs you out
Prank someone by redirecting them to https://scratch.mit.edu/about-us and they will be really confused.
SidewaysCoder
Scratcher
500+ posts

How can some links sign you out?

BluePixelLOLLL wrote:

scratch.mit.edu/aboutskibiditoilet also signs you out
I am concerned for the future of this country

CST1229 wrote:

One of those weird bugs is, apparently, /abouta logging you out (because requesting that page makes the server send a “Set-Cookie” header to clear the user's session).
Indeed it does:

Powered by DjangoBB