This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.
  • Index
  •  » FAQ
  •  » How do I fix the problem in Mac OS that keeps logging me out?

#1 2008-06-06 13:38:25

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

How do I fix the problem in Mac OS that keeps logging me out?

For a very strange reason, the latest version of Java on Mac OS makes your browser lose its session. This only happens with Mac Os and here is what my friend Karen did to fix the problem on her computer:

karenb wrote:

For J2SE 5.0
Open Java Preferences (/Applications/Utilities/Java/J2SE 5.0/Java Preferences)
Under the General tab, change the Java Applet Runtime Settings to J2SE 1.4.2

I am not a Mac user so I don't really know much about this but I hope it helps you.

If there are any experts in how PHP, Apache and browsers handle sessions, I would be really happy to get your help.


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#2 2008-06-06 13:48:39

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: How do I fix the problem in Mac OS that keeps logging me out?

You need to change the subject to "Now I can play games"!


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#3 2008-06-06 16:06:46

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: How do I fix the problem in Mac OS that keeps logging me out?

YAY! Sadly, I can't use the mac till monday. I'll fix it then.

Offline

 

#4 2008-06-06 16:08:18

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: How do I fix the problem in Mac OS that keeps logging me out?

coolstuff wrote:

YAY! Sadly, I can't use the mac till monday. I'll fix it then.

Have you played the demo yet

And also, I still occasionally get logged out, and Firefox still won't load. Does it keep you logged in 100% of the time, or just close to it (cause I have been logging out less)


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#5 2008-06-07 21:38:59

tms5
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: How do I fix the problem in Mac OS that keeps logging me out?

First you have to.........uhhhh.........dangit I had it all in my head. SORRY!!!  sad


http://img299.imageshack.us/img299/7820/mybannerglitter5646597dap9.gif   Youtube   Google   Yahoo   Myspace   Scratch

Offline

 

#6 2008-06-07 21:40:05

Bluestribute
Scratcher
Registered: 2008-01-24
Posts: 1000+

Re: How do I fix the problem in Mac OS that keeps logging me out?

tms5 wrote:

First you have to.........uhhhh.........dangit I had it all in my head. SORRY!!!  sad

It asctually has no effect on the games! I haven't played a Scratch game for months!


http://img247.imageshack.us/img247/1204/bluestributett4.jpg
That's my PSN ID. I know tons of COD4 glitches. Add me as your friend. Oh, and get a headset

Offline

 

#7 2008-06-07 22:34:39

tms5
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: How do I fix the problem in Mac OS that keeps logging me out?

I have to download all the games I play because my computer moves too slow unless I keep reloading and reloading the game page.  sad


http://img299.imageshack.us/img299/7820/mybannerglitter5646597dap9.gif   Youtube   Google   Yahoo   Myspace   Scratch

Offline

 

#8 2008-06-07 22:42:31

geckofreak
Scratcher
Registered: 2007-12-20
Posts: 100+

Re: How do I fix the problem in Mac OS that keeps logging me out?

Using a black berry connection also logs you off very quickly. Sometimes my internet explorer closes and a notebook html file appears on my desktop when I am on the website. Do you have any clue why that happens


http://img361.imageshack.us/img361/645/supersmashbroscharacterzg7.gif
cool  My Wii Friend Code 5069-3634-2461  cool

Offline

 

#9 2008-06-08 15:53:22

tms5
Scratcher
Registered: 2008-03-24
Posts: 100+

Re: How do I fix the problem in Mac OS that keeps logging me out?

Scratch on your cell phone RULZ......................but it could cause problems.


http://img299.imageshack.us/img299/7820/mybannerglitter5646597dap9.gif   Youtube   Google   Yahoo   Myspace   Scratch

Offline

 

#10 2008-06-21 13:03:16

registeel
Scratcher
Registered: 2008-04-27
Posts: 500+

Re: How do I fix the problem in Mac OS that keeps logging me out?

geckofreak wrote:

Using a black berry connection also logs you off very quickly. Sometimes my internet explorer closes and a notebook html file appears on my desktop when I am on the website. Do you have any clue why that happens

My internet does that as well sometimes  sad  (how do you do smilies)

Offline

 

#11 2008-07-09 12:13:08

andresmh
Scratch Team at MIT
Registered: 2007-03-05
Posts: 1000+

Re: How do I fix the problem in Mac OS that keeps logging me out?

This problem should be fixed now. Here is a technical description of the problem:

The Apple JVM asks for "direct" mixer when asked for the default sound mixer through the call in PlayingSound.openLine.  AudioSystem.getLine() call is what specifically triggers it.  Now, this triggers calls to all installed mixers asking them for a line matching the requested line type.  For reasons I do not know, the Apple JVM thinks the "direct" mixer is one of the installed mixers, and tries to query it.  The sequence is, first the default mixer is queried, then mixing mixers are queried, and then non-mixing mixers are queried.  Since the direct mixer is not around, and it's classpath dependencies are not satisfied, the applet tries to download the classes it needs from the scratch server.  Obviously, the classes are not on the server, and it throws a 404 not found.  Here lies the logout issue.  The scratch server(cake php) invalidates sessions when this happens, and returns a new cookie to the applet, which in turn gives it backs to the browser after requesting the browser to delete the old valid session cookie.  End result, user gets logged out.

Adopted fix - drop a few of the classes from the sun media framework in the static/misc directory.  Result - the applet when running on the MAC gets the valid class files it needs, no 404s, no session timeouts, and bonus - faster applet loads as the spurious requests for the classes will stop after it gets it


Andres Monroy-Hernandez | Scratch Team at the MIT Media Lab
on identi.ca and  twitter

Offline

 

#12 2011-05-13 17:52:36

CosmicProjectz
Scratcher
Registered: 2011-03-25
Posts: 100+

Re: How do I fix the problem in Mac OS that keeps logging me out?

Thank god I don't have a Mac, I'm not good with coding or anything.


http://img.ponibooru.org/images/f3/f384d262715801d48984773e36aea1ea Good show. http://images.cheezburger.com/completestore/2011/4/1/6ae7329f-716f-4d47-8c2c-67bd4054a165.jpg

Offline

 
  • Index
  •  » FAQ
  •  » How do I fix the problem in Mac OS that keeps logging me out?

Board footer