Asp.net :: Associated Session With Client / Request Based On IP

Mar 18, 2010

In one web page we use a flash upload control but becouse a flash bug in the upload event the session is lost as its posted back with a new session. We have thought of using a table with ip and old session id or a query string with the old session id in order to reassign it in the uploaded event...Knowing the old session id how can i reassign it to the client? (In C#)

View 2 Replies


Similar Posts:


Java :: Reusing The Client Session Extraction Logic?

Jun 6, 2011

I want to be able to reuse my existing controller logic regardless of whether a request has been sent from a Flex client (using BlazeDS + Spring at the backend), or as a simple HTTP POST/GET request. For simple cases, things work OK, however, there are some occasions when I need to access some session attributes. At first, I almost exclusively used the FlexContext class, but then I realized that when one sends an HTTP request, then the Flex Context is obviously undefined.

My question is, what is the best approach to abstract the session extraction logic,regardless of the type of the request. In other words, I would make a class called SessionManager, which has a method getSession. This class will make a check whether there is a Flex context, if there is, it will return the session of that context. If not, it will simply return the current HTTP session (which I assume is the same as the Flex client session, but I was not sure)

View 1 Replies

Flex :: Create A Web Server For Asynchronous Request From A Air Client?

Dec 21, 2009

I have created a client with Flex Builder which works in a browser but also in an Air windowed application. I must connect it to a server and it has to do asynchronous request related to changing data of the server.Because of the too much expensive cost of LiveCycleDS license, I was looking for other ways, maybe open source and i found the following solutions:

Adobe BlazeDS
Granite Data Services
WebORB Community Edition

I want to ask you which is the easy way to create the solution described above, expecially i want to use J2EE application server type.

View 1 Replies

Flex :: Spring - Log All Request From BlazeDS Client Using Filter?

Dec 6, 2011

I have a spring BlazeDS integration application. I would like to log all the request.I planned to use Filter. In my filter when I check the request parameter. It does not contain anything related to the client request. If I change the order of my filter(I have spring Security), then it prints some thing related to spring security.I am unable to log the user request.

View 1 Replies

Flash :: Networking - Capture And Monitor The Request Of The Client To The Server

Sep 22, 2011

I want to make an auto-play for some flash-based web-game, but I don't know how to capture and monitor the request from the flash client to the server.

View 1 Replies

Flex :: Access Data Field Of A JSON Request Send By Client In JAX-RS?

Feb 2, 2012

I have the following JAX-RS service.[code]...

The JAX-RS service receives the request and respond successfully with some dummy response, but I have no access to the request.data field.

How do I access the data of the request message (which is {"type":"get_configuration","data":"some data"} in this particular example)? I think that I'm supposed to add some parameters to the handleMessage method like

public SomeResponse handleMessage(Object message) {...

but this does not work at all. The request got 415 response.

View 1 Replies

ActionScript 1/2 :: Server Request Based On Time?

Feb 3, 2011

I am sending a request to a server. If i didn't get a response i need to send a request once again after 3sec. Like this i have to check for 3 times. If 3 rd time also it fails i need to terminate the request by prompting a msg to customer.

View 1 Replies

ActionScript 3.0 :: Web Based Swf Reading Client Local File?

Jan 14, 2010

load a client side xml file from a web based flash.

Basically the project is as follows. Each station will have a specific xml file describing its contents and the flash file will be displayed from a browser that will read the xml file for display.

View 1 Replies

Ajax :: Detect If HTTP Request Is From Browser / Flex Asynchronous Request?

Jun 1, 2010

When Flex application make an asynchronus HTTP request, does it add a special header to the request, like some JavaScript framework does? Something that indicates whether this request is an AJAX call/not.I just want my server side code to return different response format, depending on whether the request is made from browser/flex.

View 1 Replies

Php :: Send POST Request With X-amf (Flash) Request Header?

Apr 13, 2011

I'm trying to reproduce a POST request that was captured from WireShark using PHP. This POST request was sent by a Flash (.swf) object, so it's a little bit complicated in configuring the header.It does not print out anything in the end, so there must be something wrong with PHP code that I could not see.Here is what WireShark captured:

POST /engine/ HTTP/1.1

Host: abcdef.com

User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0) Gecko/20100101 Firefox/4.0

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8[code]....

The result is a blank page instead of response from server.

View 1 Replies

Media Server :: Find Client Disconnected When Client Lost Net Connection?

Oct 27, 2010

how can I find on fms server that client disconnected if if client disconnected due to power cut off. I client manually close the application then onDisconnect on server is called but if due to power cut off it does not called.

View 1 Replies

ActionScript 2.0 :: Client To Client File Transfer

Nov 19, 2008

Can we perform client to client file transfer, client to server can be done by FileReference. but how do we do client to client transfer, for example if a user wants to send file to another user to whom he is chatting online.

View 3 Replies

Actionscript 3.0 :: Client To Client Streaming?

Mar 17, 2010

I am trying to build a client-to-client streaming program - client 1 has a webcam and client 2 will connect to client 1 and be able to view the webcam. Is this possible using 2 swf clients? Can someone point me in the right direction as to what commands would be used to connect the two clients. I have tried: binary sockets Connect() where each clients points to the other and they both time-out NetConnection to try to point each client to one another to establish a connection, but no luck with that either; this seems more oriented towards streaming content to a flash media server rather than to another flash client.

View 1 Replies

Actionscript 3 :: Client + Grails Server - Processing Audio At The Client And Sending It Back To The Server

Mar 8, 2012

We're writing a flash application that can download a MP3 file, convert it to a Sound object, get the raw data and make some processing (like adding sounds, change octaves). After the processing, we want to send the data back to the server in chunks, so the server will be able to glue the data together and recover the new generated file. The problem is: if we send to the server "wav" pieces of sound, we are able to glue them together without any problem in the generated file. However, if we convert each wav piece to a mp3 file (so we can send a smaller file to the server) and join the mp3 files at the server, the result is a sound with some problems at the merge point.

This is how we load the mp3 file from the server:

sourceSnd.load(new URLRequest("sample url to mp3"));
sourceSnd.addEventListener(Event.COMPLETE, carregou);

This is how we convert each piece of mp3 to bytearray and wav:

[Code]....

View 1 Replies

Flash :: Web Based Visual Programming Interface Based On Python For Data Visualization

Nov 4, 2011

I just discovered impure.com and was very impressed by what can be achieved in terms of visualizing data using their workspace. Although the platform is free to use, but not open source yet. This causes a few problems because the API section works with .com sites for eg. for ebay, so I cannot visualize ebay listings for regional sites such as ebay.in because the link to ebay.com is hardcoded.I searched around, but didn't find other projects that offer a similar way to work with site APIs and other data sources with the kind of user interface and detail that impure.com does in a realtime way within a browser window.This brings me to the questions:

-What technologies would be involved in creating a similar kind of project

-What are the open source tools that can help develop a fullscreen UI to render the workspace. Are there any alternatives to flash for this, and how do they compare

The goal would be to use standard python data structures, python scripts to do some processing on these data structures, scripts to gather data from csv, json and API sources such as google yahoo, wikipedia and flickr, and scripts to render graphs, tag clouds, network visualizations etc. Then bring them all together into a visual interface that supports drag drop and simple type checking.How would the python backend integrate with the UI.

View 1 Replies

ActionScript 3.0 :: Tile Based Game - Creating Multiple Sprites Based On Frames

Nov 17, 2009

I'm relatively new to AS3. There's one thing that I don't quite understand about Sprites. I'm making a tile based game, and all the tile graphics for a level are inside one movie clip in each frame. Would I be able to go about creating multiple sprites based on the frames in said movieclip's timeline I would I have to go through and make a separate library graphic for each.

View 2 Replies

Play Once Per Session

Dec 2, 2010

New here with emphasis on noob. I have started doodling with flash back in CS but increasingly been having a blast since I installed CS5. In all that time I have avoided Ascript like the plague. Now I find myself wanting to do things that require it. I have spent days searching the internet and this forum for a simple way to stop an swf from playing more than once per session in a format that I can understand. Everything seems to be old posts or if I find something I can't get it to work. Remember, you guys are waaay ahead of me on script. I vaguely understand the concept of sharedObject (as a result from my search) and cookies. I'm just having trouble with putting the whole thing together to make it work.

I would think this would be a great function for adobe to include in the code snippets window. I sure they have their reasons if its not. If it is however just tell me where it is and I'll go on avoiding actionScript

View 8 Replies

Flash :: Php - Get The Session Id?

Jan 24, 2012

I have made a website and put inside it a flash game. For people to play the game they have to log into the website. Logging to the website will create a session. I want for the flash game to get the session id, so I have created a function that gets the session id. It works only in Internet Explorer and when I tried it in Chrome, it didn't retrieve the session id. I have written a php file that will be used by the as3 to get the session id, the php code is this:

[Code]...

View 2 Replies

Flash :: Event Based Based Video Player?

Jul 15, 2010

I need a flash based video player that is able to trigger events I can listen to via JavaScript. The events I need to listen to are:

The play button is pressed The pause button is pressed The video stops (is finished)

View 1 Replies

Play Movie Only Once During Web Session?

Dec 23, 2009

I want to play a movie (simple fade in text on top of a photo background) in a banner on my home page one time when the user first displays the home page. After that I'd like to have the end result of the movie (last frame) remain static for the remainder of the user's session, regardless of which pages they refresh. The only way I can see to do this within the web site configuration is to embed the swf on a main page, then display the contents of all the other pages in an iframe on that page. However, I would prefer not to rewrite the entire site to use iframes.

I looked briefly at using a flash shared object and checking a variable in the swf onLoad event. But (I think) that requires the movie to be loaded to read the variable and hence the banner wouldn't show the text in the first frame. I could then jump to the last frame but it seems the banner would "flash" (sorry for the pun) from having no text at the start of the movie to displaying the text at the end every time a page is refreshed.

I'm not sure if I can do what I want without using Action Script or if I need to control the whole process within the html on the page containing the embedded swf.

View 3 Replies

ActionScript 3.0 :: Getting Session Variables From PHP To SWF?

May 31, 2010

I am trying to get variables from my php script to my swf. I have this php

Code:
<?php
if(isset($_POST['action']) && $_POST['action'] == 'submitform'){
$name = $_POST['name'];
$receiver = $_POST['receiver'];
} if($name=="" || $receiver=="") {

Which hopefully creates two session variables (not done sessions before). With this done, how can I load these variables in my as3?

View 4 Replies

Php :: Holding The Session In Flex?

Jun 23, 2009

I am getting the session generated in Flex Application in a hidden text field, but when i refresh the page it gets back me to login page...

How can i hold the session of the page until the browser is not closed...

I am getting the session value from PHP.

View 2 Replies

Asp.net :: Cannot Get Session In Generic Handler

Nov 5, 2010

I am now using FancyUpload (flash upload) to allow user to upload files in a small project. I use Generic Handler to handler in server when user uploads his file, but I'm getting error:
Can't get session in Generic Handler (.ashx) when using Firefox or Chrome etc except IE
I read so many solution and finally found out that Flash has some bug that can't send cookie in Firefox or Chrome except IE. Maybe I can check the session in Flash before it's start to send the file to the server or check session in Generic Handler before save it, How to do it?

View 2 Replies

Php :: Passing PHP Session Id To FLEX App?

Dec 6, 2010

I'm developing a FLEX application which has a Java Server as back-end.

What I need:

-The FLEX app can only be used if the user it's logged;
-The FLEX app also needs to know which user it's logged, because it will shows especific content about him;
-I need to perform authentication on every webservice call;

However, the webpages are being developed using PHP, as well the login system.

After some digging, I've discovered that I can use the PHP session ID for authenticate every webservice calls, by using the php-java-bridge so both PHP and Java can share the same session.

My problem it's that I don't know how the FLEX app can get the current PHP session ID. I know that it's possible to pass it by flashvars, but I think it's not secure.

View 2 Replies

C# :: ASP .NET Loses Session Between Pages

Apr 20, 2011

I encountered a weird error, I lose sessions when moving between pages.

I lose Sessions because i use Flash (swf) menu to navigate between pages.

So when i navigate to a page using the Flash menu, I lose the session.

It doesn't let me answer my own question so here is the answer:

Thx for answering, but the problam wasn't the flash..

I just found out that the session was opened on http://WebSite.com/ And the flash was redirecting to http://www.WebSite.com/

So the session losts between domains, and not between pages because of flash :) I just made all my site use the www domain .

View 3 Replies

ActionScript 2.0 :: Keep The Session Logged In

Mar 27, 2008

I have a website that was created with flash 8 AS 2.0 [URL] we want user to register to be able to view some of the pages like pictures and such. it all works fine but i don't know how to keep them logged in in the session. When they leave the page they they logged in to and try to go back to it it asked them to log in again. I don't want them to do that i want the action script to keep the session logged in.

View 1 Replies

Flash8 :: Get Session Cookie In Flash?

May 13, 2009

How can I retrieve a session cookie inside Flash ? ($_SESSION['member'])

(I am using Flash 8 and ActionScript 2.0)

View 3 Replies

Php :: Login Using Flex And PHP But How To Handle Session

Jan 7, 2010

I have a Flex login page that uses HTTPService to communicate with server side php script. Once user's credential is verified, a session will be created and the login page will redirect to the main Flex page with that session info. I'm not sure how to implement the session logic.

View 2 Replies

Actionscript :: Session Id Or Cookie In Flash?

Jul 25, 2010

How can I distinguish different users with actionscript, or is that possible?

View 1 Replies

Php :: Sending SESSION To Jquery To Use With Flashvars

Aug 26, 2010

I have a SESSION that looks like this:

array(1) { [1]=> array(11) { ["aantal"]=> int(1) ["id"]=> string(2) "29" ["filmtitel"]=> string(16) "2_fast_2_furious" ["film_id"]=> string(1) "1" ["zaal_id"]=> string(1) "1" ["zaaltitel"]=> string(6) "zaal 1" ["tijdstip"]=> string(8) "17:30:00" ["stoeltjes"]=> array(3) { [0]=> string(2) "19" [1]=> string(2) "20" [2]=> string(2) "21" } ["dag"]=> string(8) "woensdag" ["verwijder"]=> int(1) ["vertoningId"]=> string(2) "31" } }

so there is an array and within that array is another array called "stoeltjes" with 3 items.

What i would like to know is how i can direct the content of "stoeltjes" to jquery so i can assign it to a flashvar and send it to as3.

View 1 Replies







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