Question : Session Time Out Problem

Hello Experts,
I created one application and deployed to prodcution server where I set the session time out limit 2 Hrs.
For that I setup below configuration in three places.
1) SessionManagement  <sessionState timeout="100" />
2) Authentication Forms timout 120 Minutes
<authentication mode="Forms">
<forms  timeout="120" protection="All"/>
</authentication>
3) Virtaul Directory -> Properties -> Options -> Enable Session State
                   Session Time Out : 120 Minutes


But My client has session time out problem very frequent, I dont know why it happenes with their side, Because I tested a lot but not able to get session time out very frequent.

Also client has this problem once in a week not every day.

Please help me out of this problem.

Answer : Session Time Out Problem

Okay, thanks for the clarification!

So what you want in AS3 is ExternalInterface. I'm trying to find you some examples as a backgrounder first.

http://www.viget.com/inspire/bi-directional-actionscript-javascript-communication

which isn't a phenomenal tutorial but will give you the basics. Here's the adobe docs

http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html

okay so basically one of two scenarios here:
1. You want the entire flash area to be clickable and call your JavaScript function. In this case just use JavaScript on the div that contains the flash piece. Don't bother with AS at all

2. You want a button or some movieclip inside your flash to trigger the shopping cart JS. In this case use externalinterface as outlined below

import external.ExternalInterface;
function someClickEventHandler(e:MouseEvent){
  ExternalInterface.call("WSAddToCartNoRedirect",103170,'','','','0');
}

oh and this may very well not work if you test it out on your local machine unless you've configured your security sandbox, so befor you give up, upload the swf and the host HTML page to your testing server.

Good luck!

Tom
Random Solutions  
 
programming4us programming4us