How to force refresh of data through browser or PDF?

We have the dashboard set to refresh every minute.  We are pulling the data using XML from DB.  When we are in browser and clear the browser cache and then reload the .swf... the data is updated.  We haven't been able to figure out how to force the cache-clear and data refresh with either swf or pdf.
Your help is greatly appreciated.

Hi Jeff,
Is the XML coming from a web page or a web server?
If yes then you can give this a go. To stop the caching mark your web page with extra tags to say it has expired.
HTML page example:
<HEAD>
    < META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE" />
    < META HTTP-EQUIV="EXPIRES" CONTENT="0" />
</HEAD>
JSP example:
<%
  // Stop Internet Explorer from caching the results of this page.
  // We do this so that every time Xcelsius calls this page it see the latest results.
  response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
  response.setHeader("Pragma","no-cache"); //HTTP 1.0
  response.setDateHeader ("Expires", 0); //prevents caching at the proxy server 
%>
Regards,
Matt

Similar Messages

  • How to send the form data through mail with pdf format?

    forms 6i
    Hi to all,
    i am developed one master detail form.example is based on the dept number emp details will be displayed.here my requirment is whatever displayed on the form
    the data ,these data send to mail with any format.is it possible? if is possible any one give a proper solution.
    Regards,
    Stevie
    Edited by: 994418 on 6 May, 2013 11:15 PM

    Hello,
    you can create a Report that accepts the search parameters from the Forms mask and generates a PDF. You also have the option to send the report via mail.
    Personally I would generate the report with a tool like as_pdf
    http://technology.amis.nl/2012/04/11/generating-a-pdf-document-with-some-plsql-as_pdf_mini-as_pdf3/
    Then you can send the mail using utl_mail or utl_smtp.
    www.google.com/search?q=site:forums.oracle.com+utl_mail+utl_smtp
    Regards
    Marcus

  • How to assign a button for attachment and send the data through browser ?

    Hi friends,
    How to convert to browser ?
    how to assign a button for attachment and send the data through browser ?
    Thanking you.
    Regards
    Subash.

    Refer to
    How to create a text box in ascreen painter?
    where another user (venkateshwar reddy) has asked a very similar question...
    Jonathan

  • How do I access session data through an EJB?

    Hi
    How do I access session data through an EJB?
    I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
    I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
    <jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
    <%
    String key = "test";
    String value = "This is the value";
    userContextWebImpl.setValue( key, value1 );
    %>
    </jsp:useBean>
    and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
    Please help!

    I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
    A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
    I have tried with this code, but with no luck.
    (ApplicationContextWebImpl is the JavaBean)
    public static String getBookingResult( String key )
         String myResult = null;
         String myKey = key;
         ApplicationContextWebImpl applicationContextWebImpl = null;
         try
              applicationContextWebImpl = new ApplicationContextWebImpl();
              myResult = (String)applicationContextWebImpl.getValue( key );
         catch ( java.rmi.RemoteException e )
         return myResult;
    }

  • How to connect PC to data through iPhone (unlimited metropcs)

    How to connect PC to data through iPhone (unlimited metropcs). Now I tried PC write: limited connect

    The following gives details about how to set up personal hotspot so your computer can share your phone's data connection. Note that in order for this to work you must have a cellular data plan that supports this feature. You may need to contact your cellular provider. http://support.apple.com/kb/HT4517

  • How we can upload the data through BDC for transaction J1ID

    Hi guru
    How w can upload the data for Transaction J1ID.In this we want to upload the data for Customer Excise details. I want to upload the data on behalf of Customer (KUNNR) becasue customer is a primary KEY. Table name: J_1IMOCUST
    Fields. 11 Fields.plz provide some code logic.
    KUNNR     J_1IEXCD     J_1IEXRN     J_1IEXRG     J_1IEXDI     J_1IEXCO     J_1ICSTNO     J_1ILSTNO     J_1IPANNO     J_1IEXCICU     J_1ISERN

    Hi,
    I dont see any difficulties in doing BDC upload for J1ID, You have to record by giving the New Entries button and then enter all the details of customers using table control technique.
    SEARCH SCN for Table Control in BDC
    Regards
    Karthik D

  • How can you copy form data from an online PDF, in your browser?

    Just a quick query, I've recently filled out an online application and I filled this out on an online PDF form. This is the form link:
    http://3fivetwo.com/dloads/application_pack_-_admin_long10.pdf
    How can I copy the data I typed into this form, to a word document for example? Or is there any way I can save this as a PDF with all the data in the form, to send it as an email?
    I've downloaded the form, but it just shows blank pages with no fields filled.
    Thanks very much!

    download the form to your local disk
    open it with Adobe Reader and fill in all the details
    save it
    send the completed form by email

  • How to force refresh in iOS 7 Calendar app?

    Is there any way to manually initiate a refresh in the Calendar app in iOS 7? (I'm using iCloud to sync my personal and shared calendars with two Macs and two other users.)
    In the iOS Calendar app, at least between the introduction of iCloud and iOS 6, you could show the list of calendars and then tap the refresh icon (two arrows in a circle) at the bottom of the list. In many other apps you can do so by pulling the main list view down and releasing. But I have not found any way to force iOS 7 to do this. If there is no such mechanism, consider this a feature request.
    "Wait until the app refreshes by itself" is not really a valid answer to this question. Sometimes it just doesn't, and a manual refresh might help break a log jam. And sometimes you're about to get on a plane and need to be sure your calendar is up to date before you go into Airplane Mode.

    I just did this successfully after the described methods above failed. (I could not push, fetch, or manually refresh)
    Note; this is not a refresh, but a quick delete / re-install
    1) settings; icloud; mail off, calendars off. (temporary, and not sure it's neccessary)
    2) back to settings; mail contacts calendars; gmail account; delete.
    3) add acount; reinstall your google account! (only took a few seconds to load everything back from google servers)
    4) turn your icloud back ups on again if you wish and back up new data. I dont need to back up my gmail neccessarily, neither my calendar, now that I know how to reload direct from Google.
    Why I wanted to figure this out;
    I got an I phone replacement, (Thank you Apple!) but my i-cloud backup had filled up over a month ago, ( I chose to ignore)  so I lost only the new data up to today's replacement ( calendar entries,  texts, a  new contact or two, and a month's worth of the only game I play.. real racing 3.. errr..so i just deleted the game:-) 

  • How to force refresh of BPM Workspace programatically?

    Hi All,
    As part of our project, we have developed a BPM Workflow with ADF forms based on Human Tasks. Once the form has been processed, the window closes.
    There are 2 issues thatI am hoping for help with.
    1. The worklist is updated only after an explicit refresh is carried out.
    2. I notice that the preview pane in the BPM Workspace still has an active version of the form. The form within this pane is modifiable which poses a business risk in our case.
    My questions are
    1. How do we programmatically force a refresh on the workspace? I'll include this in just after I close the form.
    2. Hide the preview pane?
    Alternately, can all this be achieved by configurations to the Workspace?
    Any suggestions are much appreciated.
    Version : JDeveloper : 11.1.1.4, SOA suite 11g.
    Thanks,
    Preethi

    Hi  Preethi,
              Did u find any solution for this ? We have similar requirement ... Thanks
    Slkait

  • How to upload tab-control data through LSMW.....

    Hi,
    I have to upload the data using the LSMW ....in their i have tab-control...how i have to upload the data of tab-control through LSMW....
    Reply me early..if u have any idea...
    Phani

    Hi Phani,
    LSMW will have a Indicator for headr and itam, i do not remember the correct field, but it will have an indicator, check the fields, there will be a single charecter lenght field, that should be the indicator, and using that we can write the logic.
    check that single charecter field, it that is X that means the header record is processed, and do the items.
    and, this is another way, try this out also
    YOu can do this in "Define Source Structures" step,
    the HEADER is defined first,
    then the DETAIL below the HEADER.
    add the fields to the structures.
    Both should have some common key field
    Please take care that the name of the common field is the same.
    Once you do this it is linked. The you have a header and item corresponding to that header. then run the LSMW as you would.
    let me know if any issues.
    Thanks
    Naveen Khan

  • How users can upload excelsheet data through the application page....

    I want to make my application in such a way that the users of the application can import data from an excel sheet to the respective tables through the page.Once the users browses the file and clicks on the submit button,the whole data from the excel sheet should go to the respective tables.The thing is that as the work of uploading is done at the back-end...it can also be done at front-end in the application itself.Also,i need to validate the data before inserting it.Please can you advice me on this.........

    Hello,
    I believe the following thread can be a good starting point - Loading a CSV file into a table
    You can download Vikas' application, exploring the code and modify it to your needs.
    Regards,
    Arie.

  • How to check all subsites data through command prompt

    I am using MOSS 2007 ,we don't have powershell,  I have to check the size of all subsites size. I run the command in command prompt
    C:\programfiles\commanfiles\microsoftshared\webserverextensions\12\BIN>stsadm -o enumsubwebs -url
    http://abc.xyz.com
    I got all subsites urls, but i need all url's size also. How to do through command prompt?

    Hi Ravikiran,
    The codeplex solution is a custom solution built using SharePoint Server object model, you can download the code also from the following location.
    http://spusedspaceinfo.codeplex.com/releases/view/20413
    The following is the code from the above project.
    using System;
    using System.Collections;
    using System.Configuration;
    using System.Data;
    using System.IO;
    using Microsoft.SharePoint;
    using System.Diagnostics;
    using Microsoft.SharePoint.Administration;
    using System.Collections.Generic;
    namespace SPUsedSpaceInformation
    class Program
    static void Main(string[] args)
    SPFarm farm = SPFarm.Local;
    SPWebService service = farm.Services.GetValue<SPWebService>("");
    Console.WriteLine("Select a Web Application:");
    Console.WriteLine("-------------------------");
    int n = 1;
    List<Guid> webAppIds=new List<Guid>();
    foreach (SPWebApplication webApplication in service.WebApplications)
    Console.WriteLine(string.Format("{0}) {1}", n, webApplication.DisplayName));
    webAppIds.Add(webApplication.Id);
    n++;
    int quit=n;
    Console.WriteLine(string.Format("{0}) Quit",n));
    Console.WriteLine("? ");
    int choice1 = 0;
    while (true)
    string choice2 = Console.ReadLine();
    if (int.TryParse(choice2, out choice1))
    if (choice1 > 0 && choice1 < quit)
    SPWebApplication webApplication = service.WebApplications[webAppIds[choice1 - 1]];
    Console.WriteLine("Select a Site Collection:");
    Console.WriteLine("-------------------------");
    n = 1;
    foreach (SPSite site in webApplication.Sites)
    Console.WriteLine(string.Format("{0}) {1}", n, site.Url));
    n++;
    quit=n;
    Console.WriteLine(string.Format("{0}) Quit",n));
    Console.WriteLine("? ");
    choice1 = 0;
    while (true)
    choice2 = Console.ReadLine();
    if (int.TryParse(choice2, out choice1))
    if (choice1 > 0 && choice1 < quit)
    SPSite siteColl = webApplication.Sites[choice1 - 1];
    DataTable tableStorage = siteColl.StorageManagementInformation(SPSite.StorageManagementInformationType.Document, SPSite.StorageManagementSortOrder.Decreasing, SPSite.StorageManagementSortedOn.Size, 0xf4240);
    Hashtable ht = new Hashtable();
    foreach (DataRow dr in tableStorage.Rows)
    if (ht[dr["WebUrl"].ToString()] == null)
    ht[dr["WebUrl"].ToString()] = (double)dr["TotalSize"];
    else
    ht[dr["WebUrl"].ToString()] = ((double)ht[dr["WebUrl"].ToString()]) + ((double)dr["TotalSize"]);
    string folderPath = string.Concat(new object[] { Directory.GetCurrentDirectory(), Path.DirectorySeparatorChar, "Listings" });
    if (!Directory.Exists(folderPath))
    Directory.CreateDirectory(folderPath);
    using (StreamWriter writer = File.CreateText(string.Concat(new object[] { folderPath, Path.DirectorySeparatorChar, "SitesListingsUsage", DateTime.Now.ToString().Replace("/", "-").Replace(":", "-"), ".csv" })))
    foreach (string key in ht.Keys)
    writer.WriteLine(string.Format("{0};{1}", key, ht[key].ToString()));
    SPWeb currentWeb = siteColl.RootWeb;
    using (currentWeb)
    using (StreamWriter writer = File.CreateText(string.Concat(new object[] { folderPath, Path.DirectorySeparatorChar, "SitesListingsInfo", DateTime.Now.ToString().Replace("/", "-").Replace(":", "-"), ".csv" })))
    string separation = string.Empty;
    ListWebs(currentWeb, separation, writer);
    Console.WriteLine("Press a touch to quit...");
    Console.ReadLine();
    Process.Start(folderPath);
    return;
    else if (choice1 == quit)
    return;
    else
    Console.WriteLine("? ");
    else
    Console.WriteLine("? ");
    else if (choice1 == quit)
    return;
    else
    Console.WriteLine("? ");
    else
    Console.WriteLine("? ");
    private static void ListWebs(SPWeb Web, string Separation, StreamWriter Writer)
    string ownersMail = string.Empty;
    SPGroup ownerGroup = null;
    ownerGroup = Web.AssociatedOwnerGroup;
    if (ownerGroup == null)
    foreach (SPRoleAssignment roleAssignment in Web.RoleAssignments)
    if ((roleAssignment.Member is SPGroup) && roleAssignment.Member.Name.ToLower().Contains("owner"))
    SPGroup group = (SPGroup)roleAssignment.Member;
    foreach (SPUser user in group.Users)
    if (!string.IsNullOrEmpty(user.Email))
    if (string.IsNullOrEmpty(ownersMail))
    ownersMail = user.Email;
    else
    ownersMail = ownersMail + "," + user.Email;
    break;
    else
    foreach (SPUser user in ownerGroup.Users)
    if (!string.IsNullOrEmpty(user.Email))
    if (string.IsNullOrEmpty(ownersMail))
    ownersMail = user.Email;
    else
    ownersMail = ownersMail + "," + user.Email;
    string accessRequestMail = string.Empty;
    if (Web.RequestAccessEnabled)
    accessRequestMail = Web.RequestAccessEmail;
    string authorMail = string.Empty;
    try
    authorMail = Web.Author.Email;
    catch { }
    Writer.WriteLine(string.Format("{0};{1};{2};{3};{4};{5};{6}", new object[] { Web.Title, Web.Url, authorMail, Web.Created.ToString(), accessRequestMail, Web.LastItemModifiedDate.ToString(), ownersMail }));
    Console.WriteLine(string.Format("{0};{1};{2};{3};{4};{5};{6}", new object[] { Web.Title, Web.Url, authorMail, Web.Created.ToString(), accessRequestMail, Web.LastItemModifiedDate.ToString(), ownersMail }));
    foreach (SPWeb childWeb in Web.Webs)
    ListWebs(childWeb, Separation + "--", Writer);
    Please don't forget to mark it as answered, if your problem resolved or helpful.

  • How can I send post data through nsurlrequest?

    Hi.
    I'm working on an application which needs to make requests to a php gateway. I tried many examples I found on google, but none of them worked for me.
    First I was working with GET, and it worked just fine, but now, as I need to send more complex data, GET isn't a solution anymore. I have three params to send: module which is a string containing a php class name, method: the function in the class, and params for the function which is usually an indexed array.
    The following method makes the request to the server, but for some reason, doesn't send the POST data. If I var_dump($_REQUEST) or var_dump($_POST), it turns out, the array is empty. Can somebody tell me, what am I doing wrong? Is there some kind of a sandbox, which prevents data from being sent to the? I also tried to send some random strings, which aren't json encoded, no luck. The sdk version is 5.1, and I'm using the iPhone simulator from xcode.
    If it is possible I would like to solve this problem without any additional libraries (like asihttp).
    And here is the code:
    +(NSObject *)createRequest:(NSString *)module: (NSString *)method: (NSArray *)params
        NSString *url       = @"http://url/gateway.php";
        NSData *requestData = nil;
        NSDictionary *data  = [NSDictionary dictionaryWithObjectsAndKeys:
                module, @"module",
                method, @"method",
                params, @"params",
                nil];
        NSString *jsonMessage = [data JSONRepresentation];
        NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:[NSURL URLWithString:url]];
        NSString *msgLength = [NSString stringWithFormat:@"%d", [jsonMessage length]];
        [request addValue: @"text/xml; charset=utf-8" forHTTPHeaderField:@"Content-Type"];
        [request addValue: msgLength forHTTPHeaderField:@"Content-Length"];
        [request setHTTPMethod:@"POST"];
        [request setHTTPBody: [jsonMessage dataUsingEncoding:NSUTF8StringEncoding]];
        requestData     = [NSURLConnection sendSynchronousRequest:request returningResponse:nil error:nil];
        NSString *get   = [[NSString alloc] initWithData:requestData encoding:NSUTF8StringEncoding];
        NSLog(@">>>>>>%@<<<<<<",get);
    Thank you.

    raczzoli wrote:
    I'm working on an application which needs to make requests to a php gateway. I tried many examples I found on google, but none of them worked for me.
    Why not?
    Unfortunately, you are dealing with a number of different technologies that have been cobbled together over the years. You could write a PHP server that would respond correctly to this request, but not using basic methods like the $_POST variable. PHP was designed for HTML and true forms. What you are trying to do is make it work as a general purpose web service over the HTTP protocol. You can do that, but not with the form-centric convenience variables.
    The following is a basic program that will populate the $_POST variable.
    #import <Foundation/Foundation.h>
    int main(int argc, const char * argv[])
      @autoreleasepool
        // insert code here...
        NSLog(@"Hello, World!");
        NSString  * module = @"coolmodule";
        NSString * method = @"slickmethod";
        //NSArray * params = @[@"The", @"Quick", @"Brown", @"Fox"];
        NSString * params = @"TheQuickBrownFox";
        NSString * url = @"http://localhost/~jdaniel/test.php";
        NSDictionary * data  =
          [NSDictionary
            dictionaryWithObjectsAndKeys:
              module, @"module",
              method, @"method",
              params, @"params",
              nil];
        //NSString *jsonMessage = [data JSONRepresentation];
        //NSData * jsonMessage =
        //  [NSJSONSerialization
        //    dataWithJSONObject: data options: 0 error: nil];
        NSMutableArray * content = [NSMutableArray array];
        for(NSString * key in data)
          [content
            addObject: [NSString stringWithFormat: @"%@=%@", key, data[key]]];
        NSString * body = [content componentsJoinedByString: @"&"];
        NSData * bodyData = [body dataUsingEncoding: NSUTF8StringEncoding];
        NSMutableURLRequest * request =
          [[NSMutableURLRequest alloc] initWithURL: [NSURL URLWithString:url]];
        //NSString * msgLength =
        //  [NSString stringWithFormat: @"%ld", [jsonMessage length]];
        NSString * msgLength =
          [NSString stringWithFormat: @"%ld", [bodyData length]];
        [request
          addValue: @"application/x-www-form-urlencoded; charset=utf-8"
          forHTTPHeaderField: @"Content-Type"];
        [request addValue: msgLength forHTTPHeaderField: @"Content-Length"];
        [request setHTTPMethod: @"POST"];
        //[request setHTTPBody: jsonMessage];
        [request setHTTPBody: bodyData];
        NSData * requestData =
          [NSURLConnection
            sendSynchronousRequest: request returningResponse: nil error: nil];
        NSString * get =
          [[NSString alloc]
            initWithData: requestData encoding: NSUTF8StringEncoding];
        NSLog(@">%@<",get);
      return 0;
    I have written this type of low-level server in PHP using the Zend framework. I don't know how to do it in basic PHP and wouldn't bother to learn.
    Also, you should review how you are sending data. I changed your example to send the appropriate data and content-type for the $_POST variable. If you had a server that could support something else, you could use either JSON or XML, but your data and content-type would have to match.

  • How to send internal table data through mail from report in foreground

    hi all,
    iam trying  to convert the internal table data into excel format and sending it through mail by runnning the report in foreground.
    mail is going sucessfully with excel format,but iam facing the problem in the excel format of the material column as follows:
    the matrno shows the wrong format -2.63E+11  instead of displaying correct format-263215000000.
    Pls suggest the alternative process for the above mentioned problem.
    Thanks,
    Sivagopal R.

    Hi Siva,
      Try to copy 263215000000 in one of the cells of excel sheet and press enter.It will automatically convert into -2.63E+11 .
      This means the default formatting of the excel sheet makes this happen.If you convert the format of the cell to "NUMBER" then u will get the required result.
      But I doubt whether or not it is possible through ABAP programming.
    Regards,
    Vimal.

  • How to send User Master Data through XI

    Dear SAP gurus,
    We are currently configuring the e-recruiting module on a separate server than HR (following the SAP standard). 
    As our CUA is not connected to the E-REC systems, we are looking for a way to send properly the User Master Data from HR systems.  We have seen that the report RSCUSND enable us to send iDoc with message type USERCLONE, but this repport can be only run from the CUA then we can t use it.
    Another solution is to make a client copy with the profile SAP_USER, but we can t use this solution because in order to get the User Master Data in a real time we should make the copy each 15 minutes.
    We can t figure out with the question, what is the standard way to send User Master Data to our E-Recruiting module
    Regards
    Hadrien

    HR side:
    1-Below t-code is what you should go through:
    SM59
    BD64
    WE20
    WE21
    2-The key interface object is as below(I used it in LSMW, XI should be the same):
    Business Object      HRMASTER    
    Method               SAVEREPLICAMULTIPLE        
    Message Type         HRMASTER                   
    Basic Type           HRMASTER02                 
    XI side:
    1- The XI has the HR interface package in IR. You just need to select those you need.
    2-Goto ID and do interface mapping between IDOC interface & XI outbound interface
    All above is the skeleton processes. U can consult with XI consultant in details.
    Hope helpful..

Maybe you are looking for

  • How to close RFC connection in one script coding

    In one script, I am using the REF command to call another 2 scripts and these called scripts shd be run on same C36 ( test system). I shd close RFC connection between these 2 scripts. That is , once the 1s script over the RFC shd be closed and the us

  • MS Office Home and Student 2010

    I have happily used MS Office on my Windows 7 laptop for past 3 years. It has been upgrading automatically. Today I found myself unable to use Excel & Word files. The message that came up was: "MS Office Home & Student 2010 cannot verify the license

  • Treo 700p, Looking to Download Java applicatio​n

    I need to download java onto my Treo 700p.  Is there a link where I can find the application? Thanks in advance. Andrew Post relates to: Treo 700p (Verizon)

  • Scheduling a Process Flow

    Hi All, I wanted to run my process flow at a predefined schedule. I had created a schedule for the same. But how do I specify which mapping need to be run on this schedule and how do I deploy this schedule. I am not able to see this schedule in my Lo

  • System ignore locale.conf

    hi to everybody, I have a very annoying problem: setting up LANG via /etc/locale.conf (because I want system-wide configuration) is ignored while setting up via ~/.bashrc works ... this is what I get, without export LANG=en_GB.UTF-8 in the ~/.bashrc,