This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-09-28 23:30:28

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Logout Bypass

Scratch usually automatically logs out whenever you close your browser.  This can be very annoying, especially if you do this a lot.  Here's how to get around it.

REQUIREMENTS:
Google Chrome
Enabled Cookies

Step 1: Log in.
Log into Scratch normally.

Step 2: Open the dev console.
Press Ctrl+Shift+J on windows, or Command+Alt+J on mac to accomplish this.

Step 3: Copy your session id.
Type document.cookie in the dev console and press return/enter.
It should contain PHPSESSID=[your session id here];
Copy this session id to your clipboard.

Step 4: Stick your session id.
Type this in your dev console:

Code:

document.cookie = 'PHPSESSID=[your session id here]; expires='+new Date(new Date().getFullYear()+1, new Date().getMonth(), new Date().getDate(), 0, 0, 0, 0).toUTCString();

Press enter/return.

Done.


http://i.imgur.com/BAEgGDL.png

Offline

 

#2 2012-09-28 23:31:30

jvvg
Scratcher
Registered: 2008-03-26
Posts: 1000+

Re: Logout Bypass

The server-side code that the Scratch Team could implement is simply calling the session_regenerate_id() function on a few random pages.

2222nd post!

Last edited by jvvg (2012-09-28 23:50:16)


http://tiny.cc/zwgbewhttp://tiny.cc/e1gbewhttp://tiny.cc/zygbewhttp://tiny.cc/izgbew
Goodbye, Scratch 1.4  sad                                                        Hello Scratch 2.0!  smile

Offline

 

#3 2012-09-28 23:44:41

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Logout Bypass

Code:

new Date(999999999999999)

?


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#4 2012-09-28 23:58:09

northmeister
Scratcher
Registered: 2011-07-12
Posts: 1000+

Re: Logout Bypass

That doesn't happen to me; I stay logged in all the time (except occasionally it does that on my iPod).


http://i48.tinypic.com/5a25g5.png

Offline

 

#5 2012-09-29 00:06:53

veggieman001
Scratcher
Registered: 2010-02-20
Posts: 1000+

Re: Logout Bypass

it doesn't log me out...


Posts: 20000 - Show all posts

Offline

 

#6 2012-09-29 00:29:57

GeonoTRON2000
Scratcher
Registered: 2009-12-24
Posts: 1000+

Re: Logout Bypass

veggieman001 wrote:

it doesn't log me out...

interesting...


http://i.imgur.com/BAEgGDL.png

Offline

 

#7 2012-09-29 00:54:29

Magnie
Scratcher
Registered: 2007-12-12
Posts: 1000+

Re: Logout Bypass

I think I've been logged into Scratch for at least two or three months before. Maybe more.

Offline

 

#8 2012-09-29 04:00:24

whizzer
Scratcher
Registered: 2008-05-27
Posts: 500+

Re: Logout Bypass

northmeister wrote:

That doesn't happen to me; I stay logged in all the time (except occasionally it does that on my iPod).

Same here.


http://i46.tinypic.com/33df6me.png I'm whizzer0 for all things Minecraft.

Offline

 

#9 2012-09-29 04:03:11

Whisperfur
Scratcher
Registered: 2012-06-08
Posts: 100+

Re: Logout Bypass

It doesn't log me out...


http://i49.tinypic.com/2zxqfy0.jpg

Offline

 

#10 2012-09-29 05:08:19

nathanprocks
Scratcher
Registered: 2011-04-14
Posts: 1000+

Re: Logout Bypass

It doesn't log me out unless I clear my browsing data.


http://carrot.cassiedragonandfriends.org/Scratch_Signature/randomsig.php
http://trinary.site40.net/images/scratchrank.php?username=nathanprocks&display=small

Offline

 

#11 2012-09-29 05:32:51

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: Logout Bypass

it logs me out when i put my pc into sleep for more than a couple of hours


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#12 2012-09-29 05:36:18

LS97
Scratcher
Registered: 2009-06-14
Posts: 1000+

Re: Logout Bypass

I think it would be redundant if I said that it doesn't log me out.
Besides, the cookie is not the only part in the story. You can have a cookie that lasts for years, but if the session stored on the servers has been deleted, it won't really help.

Offline

 

#13 2012-09-29 06:55:59

moretzprogramming
Scratcher
Registered: 2012-04-25
Posts: 61

Re: Logout Bypass

Maybe it sometimes logs you out, depending on something about the computer or browser you are using.


Check out my music, Noise Dots (in flash), and my Upside-Down Cat!

Offline

 

#14 2012-10-02 23:35:20

trinary
Scratcher
Registered: 2012-01-29
Posts: 1000+

Re: Logout Bypass

I've had periods during which I remained logged in for several weeks.


http://trinary.tk/images/signature_.php

Offline

 

Board footer