Subj : Re: Dump Globals To : echicken From : Mortifis Date : Sat Feb 16 2019 08:08 pm > Re: Re: Dump Globals > By: Mortifis to echicken on Sat Feb 16 2019 15:33:53 > Mo> new question: how would one do a logout from the interface ... tried > Mo> setting user.numer = 0; with no affect > How are you logging the user in in the first place? > I believe the Runemaster web UI uses HTTP authentication that's baked into > the web server. The user is already logged in before the script begins to > execute, and I don't think there's a proper way to log them out after that. > With most browsers, the only way to log out of this type of session is to > close the browser. Clearing the cache may work. I see a logout.ssjs that > attempts to do just this, but if it does it wouldn't take effect until the > next request comes in from that client. I had been using runemaster logout.ssjs and fiddling with it because it didn't actually logout, even if you close the browser and reopen it you're still logged in; unless you clear the cache and cookies etc ... > Are you creating a web interface from scratch, or is this a mod of something > that already exists? half of both ... I migrated a php theme I wrote for my transport management suite and am modifying it for js, ssjs, xjs and in an attempt to change the current login.ssjs and logout.ssjs I am running into the issues you mention, especially since the theme navigation remains and content is in a centre, ahem,