Why the server side behavior of LoadVars() not consistent?

In my server side script for FMS app,there is such code:
var lv = new LoadVars();
var params = new LoadVars();
lv.send("http://mysite.com/registerVideo.php", params, "POST");
The expected behavior is that the request will be as if sent directly from the browser,thus SESSION information is not lost ,which is the exact behavior for my computer.
But it's not the case for my boss --- session information is lost for him.
Why the server side behavior of LoadVars() not consistent?
What do I need to do to make sure session information is not lost @ server side ?

Oops,why this feature has always worked like charm for me only??
Below is the server side request caught from firebug:
POST registerVideo.php
http://mysite.net/registerVideo.php
200 OK
mysite.net
115ms
ParamsHeadersPostPutResponseCacheHTML
Response Headersview source
Server
nginx/0.7.67
Date
Tue, 29 Mar 2011 14:45:31 GMT
Content-Type
text/html
Transfer-Encoding
chunked
Connection
keep-alive
Vary
Accept-Encoding
X-Powered-By
PHP/5.2.14
Expires
Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control
no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma
no-cache
Content-Encoding
gzip
Request Headersview source
Host
mysite.net
User-Agent
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.13) Gecko/20100914 Firefox/3.5.13
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language
en-us,en;q=0.5
Accept-Encoding
gzip,deflate
Accept-Charset
ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive
300
Connection
keep-alive
Cookie
pass=angel333; user=liying123; PHPSESSID=8m966mbd070tsdqqodnncesbj5
Source
Referer: http://mysite.net/flash/main.swf?sessionId=8m966mbd070tsdqqodnncesbj5 Content-type: application/x-www-form-urlencoded Content-length: 35 name=test&record=live&action=insert

Similar Messages

  • HI,Why every five minutes, the server - side NetStream.publish failure

    RTMP spread to the FMS, and then create netGroup and NetStream objects on the server side, then the NetStream.publish (), the beginning of everything is normal, but after five minutes, very strange happens to be five minutes, the client node receives less thanstream had, and I monitor the status of this server-side NetStream no change is to publish the start, why the five minutes it will automatically stop publishing flow RTMP stream has been no problem in the transmission

    i assume, from your post, that you are using FMS and are publishing a multicast stream.
    if you are using the "Flash Media Development Server", prior to release 4.5, multicast streams time out after about 10 minutes.  as of release 4.5, multicast streams time out after about 30 minutes.  to see this and other limits of the Development Server, see:
       http://www.adobe.com/products/flashmediaserver/helpmechoose.html
    if that is not the problem, then if you are writing your own server-side scripts, perhaps you are not anchoring a NetStream, Stream, or NetConnection object properly and it is being destroyed by the garbage collector.
    if you need more help with Flash Media Server, you should direct your questions to the Flash Media Server forums. the Codename Cirrus service is not based on FMS.

  • Is it possible to downsize a large image on the server side (before serving it to the user)?

    One of the banes of my existence is resizing the same image several times because of the various contexts it appears in. For example, the main image in an article will appear bigger than it will on the index page, where many article teasers are placed. Then there's the image that goes in the Facebook "share" og. Then there's... you get the idea.
    Same image, different contexts, lots of Photoshop resizing, lots of files to keep track of... but I save on bandwidth.
    On the flip side, I can target the same (large) image and simply downsize via traditional HTML (width/height) on the browser end, but that will mean downloading a file that is 50-75% larger than what is actually needed. If the front page teaser displays a 1280px image at 500px, that's a huge (and potentially costly) waste of bandwidth.
    HOWEVER...
    If I could do the same thing on the SERVER side... in other words, tell the server to take only the pixels it needs from the (large) image and serve only THOSE to the end user... then the same image could be used in each and every context, and only the necessary bandwidth is used.
    Is this do-able? If so, what is the process formally called, and where would I begin to learn how to do it?
    Thanks!

    That's amazing. I didn't think it was possible without saving files on the server first.
    This will suit my needs just fine, but allow me to push my luck even further with the following "hail mary" question : would it be possible for the server to serve the PNG with a width of 100% of the container? In other words, the behavior would mimic width=100% but the server would still only serve as many bytes as are needed to fill that space.
    Not only would I not have to create separate files for every resize (we fixed that problem with your suggestion) but I wouldn't even have to customize every link to a specific size.
    I'm not expecting an affirmative on this one, but it was worth asking. =)

  • Needs a background webdynpro application running at the server side

    Hi All,
    We have a requirement wherein we need to have an application running all the time at the server side to capture the response coming from a web application. Based on the response that the application receives, it needs to update some backend R/3 tables.
    We are thinking of a webdynpro java application.
    Can anyone suggest what kind of application needs to be implemented here?
    And what  would be the steps required to run the application at the server side without calling the application.
    Thanks & Regards,
    Anurag

    Hi Robin,
    Thanks for the detailed explaination.
    This may sound silly to you but I've another doubt which is as follows:
    As you mentioned that the external web application will be sending requests to our Web service(in SOAP envelopes) and rest of the functionality can be  achieved by our web service.
    Actually, we are expecting only responses from the external web application. The thing is that we are sending the requests to the external web applications from our custom webdynpro application and in return the web application will be sending us 2 responses.
    First response would be back to our WD java application URL(to the browser in which WD java app is running) which would get the response and display some message based on the response.
    Second would be to this web service which you have just suggested. We are having two responses so that even if the browser in which the WD java application is running gets accidentally closed, the response from the external web application must get captured somewhere else and should not get lost in any case.
    So, now since we are only expecting the response from the web application and we do not want any requests from the web application to our web service; how is this possible?
    I am asking the above question because you have mentioned that the external web application has to request our Web service but we want is only this web service to capture the response coming from the Web application.
    Or is it like the web application will send us the response string as request string to our Web Service and the web service will capture these response parameters as request parameters from the web application and do the further processing.
    But in that case, we do not want any response to be sent by the Web Service to the external web application.
    Please suggest if this is possible.
    Once again, many thanks for the help so far.
    Thanks & Regards,
    Anurag

  • How can I disable excel addin on the Server side?

    Hi, is there any way to disable excel addin on the server side?
    We want to disable it so that no one can modify or read data in the cube in the production environment, even if he or she had installed the add in. Instead, we provide the Planning data forms as the only interface for end-users to read and write. we do this because the add in is very easy to install and users can read and write data in the cube at their will.
    As we designed to keep the security filters simple, it is not a good idea to controll data access through security filters.
    so, what i'm asking is how to disable excel addin on the server side?
    Thank you for replying.
    Edited by: user4592285 on 2012-10-18 上午6:48

    Hi,
    As Gurus suggested, you will have to restrict viewing of data through dimension level security.
    Give access of members to users, only which are relevant to users so that they can't view other user's data/members.
    Like give access of members belonging to HR dept only to HR users and give access of Finance dept related members to finance users only.
    Hence HR users will view only HR relevant data and won't be able to view (read or write) finance related data and vice-sa-versa.
    Hope this helps
    Regards
    -SM
    Edited by: 918547 on Oct 18, 2012 8:40 PM

  • How to delete the server side sessions

    Hi All,
    I have a wireless application and it is accessed through ptg/rm gateway from a PDA browser. Oracle wireless AS gives default login page (when the application is accessed through ptg/rm gateway) and when user login, user information session might get stored in server side (I am not sure, if any one can pls clarify me on this also?).
    Now i have a requirement, in which my application user should get 'logoff' button in each and every page of my application. When he clicks on this button the user information session should get invalidated, so that even if the user goes back to the application (using back button of the browser) he should not able to enter the application. (This is same as any std. login/logout page logic).
    Invalidating the session which resides in client side is easy (By using session.invalide()), but how can i delete the session which resides on the server side??? Whether is it possible??
    If yes then how can i do it.
    Any help will be very usefull.
    Thanks well in adavance.
    Shrikant

    Shrikant:
    Shouldn't it be easy to invalidate the server sided sessions? Right before invalidating the client side session, send a message to the server, which should call its session.invalidate() after it has obtained the current session. If desired, a message can be sent back to the browser informing user that server side session has been deleted.

  • What's wrong about  "JSF that emits Ajax-widgets" on the server side?

    Hi,
    I just read this chat about Ajax on the server side and I wonder what this comment bellow means when we are building JSF application with Ajax:
    Another thing to consider is that in a pure Ajax application (i.e. one that's not a hybrid of a server-side technology like JSF that emits Ajax-widgets), the server can pretty much just respond to requests from the Ajax client in a stateless manner, and all of the state gets distributed to the client, greatly reducing the memory resources on the server. I'm working on an app like this for IBM Rational and we're really excited about the *decreased* load on the server by distributing state to clients.
    http://www.devwebsphere.com/devwebsphere/2006/04/ajax_and_its_im.html
    Thanks in advance.

    Just created a half an hour ago application:
    http://jsfbyexamples.com/facesTrace/
    shows that the AJAX request spends less time on the server even it walk though the whole life-cycle. This is a very small page, BTW. On the complicated page, the difference will be more significant. It is about server resources.
    About network traffic: Do you actually believe that sending the whole page produces less traffic than the portion updates? Just mathematically speaking?
    OK, I guess you mean the AJAX application requires traffic comes back and forward to produce the AJAX functionality. Non-AJAX application does not produce the traffic, but it does not produce the functionality you have in the first case.
    People who argue about it just try to compare Something to Nothing. So, where is the point?
    Sergey : http://jsfTutorials.net

  • Error getting the server-side naming service functionality

    Hi all,
    we are currently setting up the CTS+ activity based transport scenario. Everything seems to be working fine, however, we have to import each transport twice...
    Before I go into detail in the error we get I will first describe our landscape. All the configuration we did was done in debate with SAP.
    We use the SAP Solution manager (ehp1 SP 4) as the CTS+ server as recommended by SAP and have an NWDI system of which we only use the components DTR and CBS (since CMS is not used anymore in the activity based transport). We have defined three logical ports/RFCs. CTSCONFIG points to the NWDI system. CTSDEPLOY is running on the java stack of the solution manager and is only used for portal content (=epa) transports. CTSDEPLOY_DI is pointing to the NWDI system and is used for all NWDI (=dip) changes. The NWDI is running ehp1 SP3.
    In STMS I defined all the non-abap systems (and configured them to use CTSDEPLOY_DI) and created the following transport route:
    upload system (IMP) -> DEV -> ACC -> QAS -> PRD
    I first attached the used dependencies in a transport request (SAP_BUILDT, EP_BUILDT, etc) these imported just fine. Then I did the SCA files which contain our custom code. I extracted these from the assemble step on our current NWDI system which will be removed as soon as we switch to the new CTS+ environment.
    When we import the transport into the runtime systems then we see the DTR and CBS be filled sucesfully for this specific system. However, the transport request itself always fails with errorcode 12 and the error is:
    Error during export service registration: Error getting the server-side naming service functionality during getInitialContext opera
    tion. com.sap.engine.services.jndi.persistent.exceptions.NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
    Error in execution of Web services CTSDEPLOY_DI , exception is cx_cts_file_import_failed
    File import canceled
    When we then reimport the same transport it will go the second time fine. This is no problem during the setup but will not be workable when we go live ofcourse. Is there anyone who had this issue before as well and have a solution for it?
    Kind Regards,
    Nico van der Linden...

    Hello Nico,
    I would need the java trace files to get more info on this issue, but you can start troubleshooting this error with these notes:
    #1172252: CTS+, 'attach file': Troubleshooting Guide;
    #1003674: Enhancement for non-ABAP systems in CTS;
    #1155884: CTS+, configuration 'close coupling': Troubleshooting guide;
    Pay special attention to parameter  NON_ABAP_WBO_CLIENT, whether it's correctly set on your CTS+ system(s).
    Note #1003674 is a must for any CTS+ systems to work properly, as well as having an updated version of the transport programs (tp and R3trans).
    Lastly, note #1155884 goes through some JCoException exceptions that commonly take place during CTS+ transports. But again, you need to check the underlying trace files to find the root cause of your issue.
    I hope this information helps.
    Best regards,
    Tomas Black

  • How do I send a raw (push) notification from the server side using an Azure mobile service?

    Hi there!
    Currently I'm able to send toast notifications to my user from my Azure mobile service using the following line of code in one of my server side scripts:
    push.wns.send(opponent_id, payload, 'wns/toast', {
    success: function(pushResponse) {
    console.log("Sent push:", pushResponse);
    request.respond(statusCodes.OK, {});
    error: function(pushResponse) {
    console.log("Error Sending push:", pushResponse);
    request.respond(500, { error: pushResponse });
    But I would like to send a raw notification to my user now, not a toast notification. I've set up a background tasks which runs as soon as a raw notification arrives(I've tested this through the diagnose option of my mobileservicehub and it works).
    I want to send a raw notification now from the server side and I'm kind off lost on how to do that. I've looked for it but can't seem to find an answer to that question, I might be looking for the wrong stuff though.
    I'm looking for a solution that looks the same as the one for a toast notification(as demonstrated in the code above).
    Your help would be greatly appreciated!
    Thanks in advance!
    Jan

    I found the solution to this it was in fact really really easy, I should have read the documentation more properly since it clearly said that the payload for raw notifications could be literally anything but the client has to take care of it.
    So I figured that out!

  • The query locator has timed out on the server side.

    Hi
    I am getting the error:The query locator has timed out on the server side.
    What to do now?
    AG

    Hi
    Are you using Salesforce.com for creating reports?
    When joining large-sized tables, you may run into a query locator time out
    error. The query locator is a server-side cursor generated by Salesforce.com
    and is used to navigate the query result. It will automatically expire in 15
    minutes without any activity.
    In the case of joining two tables, the report processing engine will read one
    table partly, and then it will process the other table. If the processing time is
    longer than 15 minutes, the Crystal Reports Salesforce.com Driver will try to
    read the rest of the records in the first table and the cursor in that query will
    time out. In the case of joining multiple tables, the chance of running into a
    query locator time issue is higher as the report processing engine might have
    to return to handle the first table after finishing processing other tables,
    increasing the possibility of a query locator time out error in the first table.
    If you run into query locator time out issue, we recommend that you add
    filters into your report to reduce the amount of records you fetch from
    Salesforce.com.
    However, if that is not possible, you can try to reverse the link order in the
    case of joining two tables. For example, you linked table A to table B, then
    you can try to link table B to table A.
    Hope this helps!!
    Regards
    Sourashree

  • Servlets store information on the server side?

    i am working on a tapestry web app.
    is there a way for servlets to store some information on the server side independently. like a http session is visible to only the user who is viewing it, somebody else cannot view somebody elses http session details. but is there a way to share some common information inbetween all user sessions/pages. i dont want to store any info within the db but somewhere within tomcat.
    i hope i am able to express my question properly.

    I am a little confused when you say:
    A user logs onto the server and a new web application is started for him then another user logs on from another place and a new web application is started for that user.
    If they are hitting the same servlet in the same context (directory under your root webapps folder) then there is one web application. Each user is just starting a new session in that one web application. Each user is not creating a new web application.
    That being said, and if it is true (all the users are using the same servlets) then you should use the ServletContext to store data you want to share between users. That is what it is designed for. In Servlets (and JSPs) you can talk about four different scopes where data gets stored in a particular application:
    1) The 'page' scope is relevant only to JSPs, and represents data that is visible only to the current JSP page for the current user. The object used is called PageContext.
    2) The 'request' scope stores data available to all servlets accessed by a single user through a single request (so if forwards, or includes are used to get from one servlet to another). The ServletRequest object is used to store this data.
    3) The 'session' scope stores data available to a single user across multiple requests. The HttpSession object stores this info.
    4) The 'application' scope stores data available to all users across all requests. The ServletContext object stores this info.
    All of the scopes have data stored/retrieved via setAttribute(key,value) and getAttribute(key) methods.
    "cant i maintain a list of users who are generating or viewing a web app from my server at any instance"
    Yes you can. I would use a SessionListener to listen for when new sessions are created. When they are get the information you need and add them to a list in the ServletContext where all users can see it. Then in the SessionListener listen for when a session is destroyed, and remove the user from the list.

  • Refreshing the Servlet on the Server side???

    Hi,
    Can we refresh a servlet page on the server side without using response.sendRedirect()???

    Hello,
    I just had a look at www.pushlets.com, looks an interesting idea, and relatively easy to do.
    Correct me if I am wrong, but the examples I looked at were not reloading the page, rather, they create a page that takes a long time to load, and keep streaming more data to it.
    What they are doing is putting the thread to sleep, so the page never loads fully, instead continually updating.
    The problems with this would seem to be that you could append more data to the page, but not be able to delete information already in the browser.
    I am also unsure what would happen in the event the user closes the browser, I assume the jsp would keep trying to send data until the session expired.

  • How to run the Server Side Existing rule in Exchange 2010

    Hi All,
    There were requirement to create a auto forward rule for almost more than 5000 users, which we did, but the we want to apply this rules to the messages which are already in the inbox for all those users where we have created the rule.
    Right now the problem what we are facing is for each individual we have to take full access to their mailbox and execute the rule first time and then it works.
    this is becoming challenging for us to making this for all 5000 users. the other problem is those user are not regularly login to this mailbox, they are using some other Org mailbox, so even we can not communicate to all of them.
    Q1) How to run the Server Side Command which should forcefully apply whatever rules is created for that user should execute for the messages which are already in the inbox.
    Q2) or the powershell for for specific rule name, which can apply on the for all the messages which are there in the inbox.
    Any help would be appriciated!
    Thanks in adv champions!
    Ashku

    Hi Ashku,
    If these 5000 users are all users in your Exchange organization, a inbox rule can be created by the following commands:
    Get-Mailbox | foreach {New-InboxRule -Mailbox $_.Name -Name AutoForward -From [email protected] -ForwardTo UserB}
    Based on my test, the Inbox rule created in server side also cannot work on the message that have already been in the Inbox unless users click “Run Rules Now…” in their Outlook client. And the transport rule in Exchange server only works
    during the message sending process.
    Therefore, there may be no feature in Exchange server side to meet your requirement.
    Thanks for your understanding.
    Thanks,
    Winnie Liang
    TechNet Community Support

  • Font management from the server-side

    In the process of creating Breacrumbs for our website
    redesign, the Graphics Designer would like to use a special fonts.
    We already know that this font will not be installed on most of
    user client-side. She though about creating graphics to represents
    the navigation (breadcrumbs) but I ask myself if we can use the
    Font Management from the Coldfusion Administrator. I have no
    experience with this feature and have not find interesting
    information about it from the web.
    Is it possible to use a font installed on the server-side
    through CSS so the client/web-user will see the text with that
    font?

    You could use WEFT, but it is still limited to certain
    browsers.
    http://www.microsoft.com/typography/web/embedding/weft3/
    Bitstream has something to , but again, is limited
    http://bitstream.com/

  • How to Get the excel sheet formula from the server side into the j2me app?

    How to Get the excel sheet formula from the server side into the j2me application?
    Here the excel sheet is in server side.i want to do get the excel sheet values (only some part of the excel sheet based on some conditions) from server side into j2me.In j2me I want to done some client side validation based on the formula of excel sheet.Then i resend the new updated data to the server.
    But here deosn't know any mehtod to get the excel sheet formula from server side.So kindly help me to get the excel sheet formula from the server.
    So how to get the excel sheet formula frome the server side into j2me Application...
    Plz guide me to solve this issue...
    thanks & regards, Sivakumar.J

    You should not post a thread more than once. You've crossposted this question to another forum. I have deleted that one.

Maybe you are looking for

  • LR 5.4 changing exposure on multiple photos on it's own

    Using LR 5.4, fully patched on Mac Book Pro also all patched up (10.9.2).  I process 800 - 1000 photos at a time from sports events, use presets a lot, also autosync to save time.  Yesterday though, after completion of the process, suddenly lightroom

  • How to reset password if you can't boot from DVD?

    I just bought a second external disk drive and installed Leopard on it. When it asked me if I wanted to import my information from my internal drive, I said OK, not realizing that since I had a blank password on this drive (running 10.2.8), that woul

  • To find code given exit

    Hi I have the FM name EXIT_SAPLCK36_001, the enhancement is COPCP002.  can anyone tell me how to find the relevant TCode for this exit.  The where-used list isnt much helpful. Thanks for ur reply, Points will be awarded

  • Add new field in transaction V_RA

    hi all, can we create additional new field for report in transaction V_RA. i would like to add field customer material number (KDMAT) in Setting, i see "Additional field On" , but it's grey. thanks Hendry

  • Abc iview programs not loading on ipad

    I am having a lot of trouble with ABC iview on the ipad3. The app opens, seems to work fine but when I try to watch something nothing will load, just the ABC logo spinning. I have done everything suggested by the ABC, including hard and soft restarts