Php :: Reset RDBMS Value When Browser Crashes?

Oct 13, 2011

I need a nudge in the right direction for a theory of a solution to the below problem.

Desired Result:

Current existing structure: FLEX RIA that communicates with MySQl DB via PHP.

We basically, have a RIA that is part of a software solution we provide to our customers, we want to restrict login sessions to one/username, which we did successfully by setting a value in our MySQL DB...the point of this was to restrict the use of username(s) to one application access point and create the ability for us to charge for additional usernames, if so desired by our customer.

Problem:

Although, we successfully restricted user logins to one session, we ran into a problem when the RIA connection with the DB was inadequately terminated (eg., browser crash, OS crash, flash player error, etc). When these crashes happenned the value that was set in the DB for the user, showing them logged in, would persist and thusly lock them out of our software application. We would have to go into the database and manually reset their logged in status.

View 1 Replies


Similar Posts:


Banner Freezes / Crashes Browser

Oct 21, 2010

I've got an animated banner for my site which I've grown quite attached to. It's a scene of the sky with the Title of my site on it and there are clouds that move constantly across it.Now the tricky part and part that I think might be freezing up the browser (firefox) is that the background changes depending on your computers time.So if you visit my site and the time is past 6:00PM, the day background will change to night.It's not an instant change though. You actually have to refresh to get it to change. Anyway, if I let the site/banner sit in my browser as either the active tab or the non-active tab for at least 10 minutes, the whole browser will freeze up. The only way to stop it from freezing up is to close it and restart it.I don't know what I did wrong, but I was hoping you guys could tell me. The file size is not that big (262kb). The images were converted from .jpg to vector, so I can't see why it'd be too graphic intensive. Basically I'd just like to be able to run it at the current resolution and quality, but not have it crash people's browsers.

View 3 Replies

ActionScript 3.0 :: Debug Swf Browser Crashes?

Feb 18, 2009

My swf is occasionally crashing the browser (or just crashing the plugin as chrome tells me).

How do I diagnose the bug? I am developing for flash player 9 using flex. The bug lies somewhere in my as3 code.

Things I have tried: Turned on log files so I can see trace("...") output. However, my log files, and my swf, are ending at inconsistent termination points. Install the debug version of the flash player Tried different browsers (today I am on vista, and can reproduce the bug on four browsers).

I am hoping there is a [legible] stack trace from the plugin.

View 2 Replies

Flash10 :: Browser Crashes - Ocx Camera Enumeration Bug?

Oct 10, 2009

I have been working on DirectShow source filters. The flash10c.ocx routine that is invoked when you click on any "Featured Highlight" on http://www.ustream.tv can abort and takes ANY browser with it under certain conditions.

After days of work, I have finally narrowed this down to the camera enumeration function(s) in flash10c.ocx. Before beginning this quest, I had no idea that the flash player was enumerating cameras on user's machines.

If you right click on a window playing flash video, and select "Settings" then click on the camera symbol, you will see a drop-down window listing all Direct-Show Source Filters that are on your machine. I have several.

[Code]...

View 7 Replies

Javascript :: ExternalInterface Call Crashes The Browser?

Jan 20, 2011

In Actionscript 3, I make a call to Javascript using:

ExternalInterface.call('javascriptFunction');

If in Javascript, there's an error or a blocking call, the entire browser will freeze. I can't use Firebug in Firefox to debug it because the act of stepping through the callback also crashes the browser. How do I go about debugging this?

[Code]...

I'm on an HP desktop with Windows 7, Firefox 5.0, IE9, and Chrome 12.0.742.122. Either alert call will randomly cause Firefox to freeze...it actually usually happens in bunches, where it'll freeze for a few times continuously (obviously restarting Firefox each time)..and then stop for a few hours and be alright.It has yet to crash IE9 or Chrome, though I haven't tested it as extensively with Chrome. Using the Firefox console doesn't help since Firefox just crashes all together. If anyone could shed some light on that, that'd be great!

View 2 Replies

Media Server :: Buffer Grows Without Proportion Until Browser Crashes?

Apr 14, 2010

We are experiences a phenomena that flash clients connecting to a live (pre recoreded)stream served from FMS (we use 3.5.2), have their buffer grow out of proportionit is alsoccompanied mostly with a complete video freeze, until the browser crashes.(you can expect a crash after having more then 4000 seconds of video buffer active in memory)The more we switch streams via a playlist,the more this seems to happen,Thus, streaming long video feeds keeps the system stable, but when injectingfeeds into a main stream and switching back increases the probability

View 7 Replies

Actionscript 3 :: File Created When Flash Application Crashes In Browser

Feb 28, 2012

I'm trying to debug my flash application and when I build and run it in debug(in FlashDevelop), it crashes. Is there a dump file which can give me information about what caused the crash?

View 2 Replies

ActionScript 3.0 :: Memory Leak - If The User Sits On The Homepage The Browser Crashes?

Jun 23, 2010

I have a client who has a home page that I built for him. Basically there are words randomly displayed in the background. Then there are three images that rotate based on a timer. So I have two timers going. I have event listeners added to the images when the app starts. I'm moving the image off the stage when it's not visible. So I'm not adding and removing listeners over and over. However, if you watch the browser memory usage in all three major browsers it climbs several mb's in a minute. Therefore, if the user sits on the homepage the browser crashes.

View 4 Replies

Flex :: Crash - IntelliJ IDEA Wrapper Html Crashes Browser?

May 22, 2010

I'm building an Flex 4 application using IntelliJ IDEA 9.0.2 generated sample Flex application. I replace the generated mxml with the following code from the book Hello Flex 4. It simply crashes the browser when I run it. It says "Waiting for [URL]..and then crashes I tried it on both FF 3.5.9 and Chrome 4.

[Code]...

View 1 Replies

ActionScript 3.0 :: Browser Zoom Level Reset?

Jul 4, 2011

I have created a very dynamic application but realised that if the Browser zoom level is not set to 100% the dynamic positioning of objects are misplaced. some Flash AS3 JavaScript function to reset the Browser Zoom level to 100% every time user click on button?

What I am basically doing is loading external objects into emty movieclips, these are positioned according to the stage width and height. As a test I created a textfield to display the stage width. When I zoom in and click on the buttons (loading new content) the displayed stage width stays the same.

View 1 Replies

Flex :: Save Data Into Flash Media Server Like Rdbms?

May 17, 2010

im using fms to save datas like rdbms. Im using shared object for this. But I cant save more than one row of data into flash media server. What can I do for this purpose??

View 1 Replies

ActionScript 3.0 :: Reset Stage After Browser Zoom Levels Changed?

Jul 5, 2011

I am trying to reset the stage width to its original size when user click on button after changes to the browser zoom level.

However this is restting the width of stage according to the new zoom level with the result that the stage size increase even more. I tried using a variable to use as holder of original stageWidth but how to reset it to that width?[code]...

View 1 Replies

ActionScript 3.0 :: "Load Never Completed" Crashes Browser

Nov 6, 2007

I'm having a problem in a couple of projects where I'm loading images and placing them on the stage, and if you click to another site while they're loading, or press the back button, or even close your browser, it throws this error:

Code:
Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.

Then the browser crashes. This happens in both Safari and Firefox on Mac.

The code I'm using to load the images is pretty standard (I think):

Code:
loader = new Loader();
loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler, false, 0, true);

[Code].....

View 9 Replies

ActionScript 3.0 :: Reset The Display By The Means To Start The Motion All Over Again (reset Button)

Jul 13, 2010

Just new in forum and just new in as3 programming. All i want to do is to make some physics simulations (i'm physics teacher...). So i made my first sim with the following code, just to simulate a simple motion with constant velocity. It works ok, except the part i need to reset the display by the means to start the motion all over again (reset button). Then the motion starts but the traces of the previous motion remains on stage. I tried the null command (sp=null) but the sim could not start again because the sp nedded to be non-null...

[CODE]...

View 2 Replies

ActionScript 1/2 :: Make A Reset Button And Add Script To It To Reset All Of The Drag And Drop Movie Clips?

Apr 13, 2011

I have an issue with adding a reset button to my drag and drop movie clips.The problem is, if a student drags a movie clip to a wrong location on the SWF file I want them to be able to hit a reset button that would take them the same SWF that they opened and what would showup would a clear page for them to restart their drag and drop exercise.I know how to make the button for this just want the proper action script to be able for user to start over with no movie clip symbols on the page.

View 3 Replies

ActionScript 3.0 :: Bg.reset() Can Only Find Reset Used For Timers?

Dec 28, 2010

reset in google yields only its use for timers.However I have code bg.reset() which I suppose puts the background back to the beginning of its timeline.

View 3 Replies

ActionScript 2.0 :: Reset All Variables - Command That Will Reset All The Variables In A Swf At Once?

Nov 25, 2009

With out getting into a ton of background I am wondering if there is a command that will reset all the variables in a swf at once with out having to do them individually?

I've googled and searched my books and can't find anything. Another option I could see is having the current flash reload, that would set everything back to the start but I couldn't find how to do that either.

Anyone know?

View 2 Replies

CS4 :: Crashes After Update On Win XP

Aug 5, 2009

I just updated CS4 with the latest patches and it started to crash when I try to publish one of my flashfiles.

The file uses actionscript 2 and worked just fine before the upgrade.

View 4 Replies

Flash CS5.5 Crashes When Testing?

Dec 29, 2011

Flash CS5.5 crashes when testing this movie using CTRL-ENTER a few times. Sometimes, a message warning that the Java Virtual Machine is running out of memory appears. I would like to know whether it is the FLA or my Flash installation that is corrupt.

see the following FLA file. [URL]

View 3 Replies

Flash :: Cs3 Crashes When I Try To Publish

Jan 21, 2009

My flash cs3 is crashing every time I try to publish a file, why? I run vista business 32 bit I didn't have problems until today,using flash cs3 for the[code]...

View 9 Replies

FLV Encoder Crashes On All WMV Files

Jun 18, 2009

When trying to view the settings or start que on any .wmv (windows Media Video) file I drag into the flash video encoder, the program immediately crashes. I've tried many different WMV files from different sources, all the same outcome.

View 1 Replies

Flash :: My Site Crashes IE

Jul 18, 2009

We created a flash site, which crashes on IE. It works fine on Firefox.The problem seems to happen when the swf tries to load some MP3 files, with 'Sound.loadSound' method.

View 7 Replies

Flash :: CS4 Crashes At Startup?

Jul 28, 2009

I have recently purchased CS4 Design Premium. The installation of all applications went fine (no error message) and all applications work perfect except Flash CS4. On startup I see shortly the stage screen and then the spinning beach ball. I tried uninstalling and reinstalling Flash only with no luck. I then uninstalled and reinstalled the complete Suite and still no luck. I work on a MacPro with 10.5.7. All other system requirements are fullfilled

View 3 Replies

Flash CS4 :: Crashes Every Time On A Mac?

Aug 4, 2009

I've been using Flash CS4 on my MAC running 10.5 for over 6 months with no issues.  But now when I open a fla file it opens but when I click anywhere it will crash within seconds.  I've restarted my computer and checked that my Flash App is up to date. 

View 1 Replies

Crashes When Create A New Document?

Sep 15, 2009

When I open the Flash CS4 application, it starts up fine. If I select create new flash file, the entire application crashes. That's as far as I can get. I've made all of the recent updates that I can - it's flash version 10.0.2 ... I'm running OSX v10.4.11
 
I've tried restarting, that doesn't do anything. I've also tried starting up Flash with nothing else open. Haven't re-installed the entire thing yet (probably what I'll do next).

View 1 Replies

IDE :: Flash Crashes When Opening Certain Fla's ?

May 1, 2009

just recently upgraded to Leopard. Flash now crashes when opening certain fla's (that worked fine before). The files sometimes open, but then crash the app when I select something on the stage. In these cases I can actually edit the actionscripts.I'm not sure if the crashes are related to Leopard; don't remember if I tried opening one of the problem files since upgrading.I'm on a MacBook Pro 17 2.33, 2gb ram.I repaired permissions (several times), ran various Onyx processes, zapped pram, removed all the prefs files I could find, and reinstalled the whole suite (CS3 Master suite). Bridge won't even open; it crashes on opening.

View 1 Replies

IDE :: CS3 SortOn On Arrays Crashes?

Jul 3, 2010

I'm trying to sort some arrays with the sortOn() function in Flash CS3.. but it always seems to crash itself upon exporting!Do you guys get this too? And is there a way to get around this?

Code:
var ms:Array = [];
ms[0] = [0,1];

[code].....

View 2 Replies

.Fla File Won't Open, Crashes Flash

Jun 16, 2000

I've got a 9MB fla file that suddenly doesn't open any more. When I try to open it, it crashes Flash. When I try to open it as a library, it crashes Flash. Someone told me a library object might be corrupted - not good, irreparable. I'm on a Mac and when I try opening the fla file it gives me an "error type 2 occurred." I imported the swf file into a new Flash file, but now it's just a one-layer straight-streaming movie with every frame a completely new, redrawn keyframe. Is there any way to resurrect the original fla file? I've got a Sunday deadline?

View 1 Replies

ActionScript 3.0 :: Flash Crashes On Publish

Aug 1, 2007

I am having a problem with Flash at work. Any time I try and publish a file, whether its a .swf, .exe, or whatever, Flash crashes and closes. I am running Windows Vista x32, and Flash CS3. Any file, as long as it is saved and publishing a copy of the file with the same name, does this. The only way I can get around it is publishing from an Untitled document that hasn't been saved yet....even then all I get is a preview, not an actual published file.

The files I am working with publish fine on other machines. I have contacted Adobe and all I got was "reinstall," and "run a clean install." I reinstalled 3 times, and have run CS3clean twice along with more reinstalls (once each using each separate level of cleaning.) None of it worked; I still get the same issue. Also, I cannot open the ActionScript tab without flash crashing; the only workaround is to open an untitled document, open the AS tab THERE, and THEN open an already existing document. From there though I can't check my syntax or auto-format.

View 16 Replies

CS4 :: Open FLA File - FLASH Crashes

Jun 23, 2009

I am just starting to learn how to use flash. I have made four diffrent fla files, but one of them is not working. Flash crashes when i try to open it, it worked last night. Is there any way to repair it or find out what i have done wrong. Dont want it to hapen again. There is no problem to run the swf file. I have uppdated flash to the latest version 10.0.2.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved