When refreshing browser

HI....
I am facing the problem when refreshing the browser.
Eg:
if we have one webpage which have feilds like name and dataofbirth.if we enter the data and submit it the data will be insert into the database.if i refresh the browser then again the same data is inserting into database.how many times i am refreshing the webpage those many times the operation is performing and so many rows are inserting into database with same data.How to restrict this... how to restrict updation of database with previous feilds data when page get refreshed...pls help in this..its little bit urgent

I utilize 3 techniques to prevent double posts:
1. I disable the submit button prior to submitting the page (via javascript). If you do this, note that the button name is NOT submitted with the page parameters.
2. Redirection after the POST to the target page.
3. Add a unique request ID to each POST page. Store submitted unique ID's in an application level collection, and then if that ID is seen again, throw a "page already submitted exception".
Option 1 works well on the client side. But it doesn't prevent the user from right clicking and hitting "refresh" on the result page. Option 2 prevents the right click, refresh. However, at any time, a user can hit Back-Back-Back to get to your form again, at which time they may try to re-submit. For those cases, I also add option #3.
For option 3, I typically put a field such as:
<input type="hidden" name="uniquerequestid" value="<%=strUniqueValue%>">
Every time a request comes through my main handler, I look for the "uniquerequestid" parameter, and if found I check to see if the value has already been submitted. If it hasn't, I add the value to the list of values. If it has, I throw an exception and take the user to a page that says "This page has already been submitted".
Note that the unique request cache list must be stored in the application level, NOT the user session level, else users could hit back as many times as necessary, even when logged in via another user. So I don't store this data in the session.
I then clear my cache list ever few hours, leaving in the most recent ones, and getting rid of old ones.
Hope that helps!
Michael

Similar Messages

  • Don't want to re-execute applet code, when refresh browser

    Hi,
    I am developing online exam project, here my issue is in timer, I am creating timer in thread.sleep(1000); (ie) 1000 mili sec = 1 sec. once exam started, i am started reducing timer value. While moving to next question, I want previous Applet timer value in next page. Here i am getting initial value of each time refreshing,
    example:
    suppose timer running in browser like this : 00:00:46 ----> when refresh same page i need value reduce from 00:00:46, But its reload from initial value (ie): 00:00:59 in below example code.
    Here is my Applet code :
    import java.awt.*;
    import java.util.*;
    import java.applet.*;
    import java.net.*;
    public class myclock1 extends Applet implements Runnable
    Thread t,t1;
    int hour=0,minute=0,second=0;
    URL targetURL;
    String URLString = "http://localhost:8080/testing/examresult.jsp";
    AppletContext context;
    public void start()
    minute = Integer.parseInt(getParameter("min"));
    second = Integer.parseInt(getParameter("sec"));
    context = getAppletContext();
    t = new Thread(this);
    t.start();
    public void run()
    t1 = Thread.currentThread();
    repaint();
    public void paint(Graphics g)
    if(hour==0 && minute==0 && second==0)
    try
    targetURL = new URL(URLString);
    catch (MalformedURLException e)
    // Code for recover from the exception
    context.showDocument(targetURL);
    t.destroy();
    t1.destroy();
    this.destroy();
    second--;
    if(second==-1)
    second = 59;
    minute = minute-1;
    if(minute==0)
    if(hour>=1)
    hour = hour - 1;
    minute = 59;
    g.drawString(hour + ":" + minute + ":" + second, 20, 30);
    repaint();
    try{
    t1.sleep(1000); /// 1000 mili sec = 1 sec
    catch(InterruptedException e)
    In JSP Page Code:
    <jsp:plugin type="applet" code="myclock1.class" height="150" width="300">
    <jsp:params>
    <jsp:param name="min" value="0" />
    <jsp:param name="sec" value="60" />
    </jsp:params>
    </jsp:plugin>
    How to do that, Urgent Plz help me.
    Thanks in Advance,
    S.Shyam.

    Is it SAX, Dom, JAXB or something else you are talking about?

  • Problems when refreshing browser

    I have created a html form using pl/sql. The parameter of the form are passed through the url to the database. Once information is entered in the form, pressing the submit button inputs the values into the database and refreshes the html page. However, the passed parameters are still in the url and hence when i press the refresh page on the browser, the same values are inserted into the database.
    How can I prevent this from happening?

    I utilize 3 techniques to prevent double posts:
    1. I disable the submit button prior to submitting the page (via javascript). If you do this, note that the button name is NOT submitted with the page parameters.
    2. Redirection after the POST to the target page.
    3. Add a unique request ID to each POST page. Store submitted unique ID's in an application level collection, and then if that ID is seen again, throw a "page already submitted exception".
    Option 1 works well on the client side. But it doesn't prevent the user from right clicking and hitting "refresh" on the result page. Option 2 prevents the right click, refresh. However, at any time, a user can hit Back-Back-Back to get to your form again, at which time they may try to re-submit. For those cases, I also add option #3.
    For option 3, I typically put a field such as:
    <input type="hidden" name="uniquerequestid" value="<%=strUniqueValue%>">
    Every time a request comes through my main handler, I look for the "uniquerequestid" parameter, and if found I check to see if the value has already been submitted. If it hasn't, I add the value to the list of values. If it has, I throw an exception and take the user to a page that says "This page has already been submitted".
    Note that the unique request cache list must be stored in the application level, NOT the user session level, else users could hit back as many times as necessary, even when logged in via another user. So I don't store this data in the session.
    I then clear my cache list ever few hours, leaving in the most recent ones, and getting rid of old ones.
    Hope that helps!
    Michael

  • Data selected is not displaying but when refresh the browser it displays

    The system brings back a record after the record is selected from the database. The data is in memory but is not display. When the browser is refreshed, the data displays.

    Sorry but this is an internal system. The problem is baffling because there seems to be no consistency in its patterns. Sometimes when we pull up an account, it would show the info. Other times the same information does not come up. We thought it could be missing records, i.e. orphaned rows, but this isn't the case. It is quite odd and especially hard to bug because we can't consistently replicate it.

  • How to invalidate a session explicitly when a browser is closed

    hi,
    i am keeping the information of a logged user when he logs succesfully in a session. the session time is maintained for half an hour.
    i am also storing his information in an application object.
    when a user logs out i am invalidating the session and his information is removed from the application object .
    when a person is logged and another person at other place stries to log in with the same username and password, i am making use of this application object to check whether the anyone is looged in with that user id or not. if the id aleady exists in the application object i will not allow the second person to log in and i will provide with a relavent mesasge " already logged in with this ID".
    But the problem is arising when a person loogs in and closes the browser (wth out looging in).
    in this case the session is not invalidated and his information remains in the session and application object.
    when he tries to loog in immediatly after closing the browser, the same checking is done for the duplicate log in and a message is displayed to him saying that " already logged in with this ID".
    he has to wait till the session expires (i,e till 30 min) and then log in
    As this creates problem, i want to invalidate the session the time when the browser is closed.
    i tried with the onUnLoad() methos in javascript, but that method is not only called when closing the browser but also when a link is clicked ot when refreshed the page.
    i am trying with Cookies but i am not gettin ga good approach as how to go forward with this problem.
    Any body who can solve this please....reply soon or mail me
    Its very Urgent................
    Thanks
    sowjanya

    2.Any business critical web site should not allow
    multiple users to
    work under same account at same time.Not true. My customer's web site is "business critical" and they explicitly wanted to be able to login multiple times with the same ID. At least in this scenario we completely circumvent your problem.
    The Javascript solution will never be 100%. What happens if their internet connection drops and doesn't come back? Suppose their OS crashes? What if their power goes out? What if IE crashes? What if JS is turned off? What if the user just walks away and leaves the browser open forever?
    You may be trying to get too much control, which on the web always leads to failure. Maybe a better alternative would be to warn the user that is logging in the second time that there is an outstanding login and that the previous user will be logged out if he proceeds. Then, keep a record of the event in case someone is messing with other accounts (although, since he obviously knows the username and password it is probably a user concern.)

  • Get AccessControlException(access denied) when refresh page

    Our applet have AccessControlException when refresh the ie browser but the first time open no such a problem! And when we use other host which use a different proxy no such a problem either. Don't know why , is it the problem of proxy?
    any idea ? many thanks!
    here is the log:
    INFO - Wed Jan 16 16:09:30 EST 2008: getResponseTime Debug1-- openConnection time: 0ms
    network: Connecting https://hostname/_en.html with proxy=HTTP @ proxyname:8080
    network: Connecting https://hostname/_en.html with cookie "BCSI-CSA1021104=2"
    INFO - Wed Jan 16 16:09:34 EST 2008: getResponseTime Debug3-- getInputStream time: 4500ms
    liveconnect: Invoking JS method: ua
    INFO - Wed Jan 16 16:09:34 EST 2008: Log page URL -- https://hostname/result.html?timestamp=Wed Jan 16 16:09:34 EST 2008&ip=''&jvm=Sun Microsystems Inc.,1.5.0_14&os=Windows XP,5.1&echo_time=4500ms&UserAgent=Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
    INFO - Wed Jan 16 16:09:34 EST 2008: logUsrInfo Debug5-- openConnection time: 0ms
    INFO - Wed Jan 16 16:09:34 EST 2008: JVM version checking passed!
    +(the first time open page can pass!)+
    liveconnect: Invoking JS method: showApplication
    basic: Stopping applet ...
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@134e4fb, refcount=0
    basic: Caching classloader: sun.plugin.ClassLoaderInfo@134e4fb
    basic: Current classloader cache size: 1
    basic: Done ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@1be0f0a
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    basic: Quiting applet ...
    basic: Registered modality listener
    liveconnect: Invoking JS method: document
    liveconnect: Invoking JS method: URL
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@134e4fb, refcount=1
    basic: Added progress listener: sun.plugin.util.GrayBoxPainter@50988
    basic: Loading applet ...
    basic: Initializing applet ...
    basic: Starting applet ...
    basic: Referencing classloader: sun.plugin.ClassLoaderInfo@134e4fb, refcount=2
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@134e4fb, refcount=1
    INFO - Wed Jan 16 16:09:44 EST 2008: getResponseTime Debug1-- openConnection time: 0ms
    network: Connecting https://hostname/fx-canada/login_detail_fr-ca.html with proxy=HTTP @ proxyname/
    network: Server https://hostname/fx-canada/login_detail_fr-ca.html requesting to set-cookie with "BCSI-CSA1021104=2; Path=/"
    INFO - Wed Jan 16 16:09:48 EST 2008: getResponseTime Debug4-- throw exception time: 4515ms
    WARN - Wed Jan 16 16:09:48 EST 2008: Cannot get system response time!
    java.security.AccessControlException: access denied (java.net.SocketPermission hostname:8080 connect,resolve)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    The security credentials for a JMS "send" operation are not taken from the username and password that you pass to the "createConnection" method, but from the security login context in effect when you call "send". So, if you want this to happen using a particular security context, you need to make sure that you have set this up before you make the call.
              There are a number of ways to do this in WLS. Your best bet would be to check the security documentation, or do ask on the security newsgroup for the best way to do this in 8.1.

  • Group Tree issue when refreshing- Crystal for Visual Studio 2010 WPF Viewer

    Hello,
    We've run into an issue when refreshing reports with the WPF viewer for Visual Studio 2010. After the report is refreshed, the Group Tree is blank and it should have values. For example, you run a report and see values in the Group Tree. If you refresh the report with the same parameter values the Group Tree is blank.
    Has anyone run into this yet?
    Thanks,
    Tyler

    That is correct.
    I just did a quick test and was not able to reproduce the issue.
    Details of test:
    1) Create a new app;
    File | New | Project
    Visual Basic | reporting -> Crystal Reports WPF Application
    2) Add the "Open File" button to the viewer (ShowOpenFileButton off of the WPF viewer properties)
    3) Run app
    4) Browse to a report that has a number of groups >250
    5) Refresh report using the Refresh button on the viewer
    I'll work on this a bit later today, see if I can repro it another way. Meanwhile, can you provide mode details (code) on how you repro the issue?
    - Ludek

  • How do i get my navbar to stay on one line when the browser window is minimized?

    I am new to coding and have just created my first website in html and css.  I know that the coding is pretty dire and that I have a lot to learn and hope that someone can guide me in how to solve this problem.  When the browser window is minimized, the navbar breaks down into 2 or 3 lines but I want the navbar to fit to the window whatever the size of the client machine.
    I think I need to add a media query but i'm not sure if i do and if so what code to use and where to put it?
    I am worried that the page will only be viewable properly on a desktop and i really want to learn how to make a fluid layout which can be viewed on 320px, 768px and 1200px.
    Any guidance would be greatly appreciated.
    Here is my code:
    HTML
    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>The Engineer's Corset</title>
    <link href="styles/style.css" rel="stylesheet" type="text/css" media="screen">
    <style type="text/css">
    body {
        background-color: #000;
    </style>
    </head>
    <body>
    <div id="container">
    <div id="navbar">
        <ul id="nav">
        <li><span class="current-menu-item">Home</span></li>
        <li><a href="about.html">About Us</a></li>
        <li><a href="workshops.html">Workshops</a></li>
        <li><a href="news.html">News</a></li>
        <li><a href="gallery.html">Gallery</a></li>
        <li><a href="contact.html">Contact Us</a></li>
        </ul>
    </div>
    <div id="header">
      <img src="images/final/headerbeauty3.png" width="1100" height="341" alt="The Engineer's Corset">
    </div>
    <div id="links">
    <ul id="link">
    <li><a href="https://www.facebook.com/Bristolengineer" target="_blank"><img src="images/final/fb3.png" width="200" height="45" alt="Follow Us on Facebook"></li>
    <li><a href="https://twitter.com/Engineerscorset" target="_blank"><img src="images/final/twitter2.jpg" width="200" height="45" alt="Follow us on Twitter"></a></li>
    </ul>
    </div>
    <div class="chantry">
    <img src="images/final/CD Logo fin.png" width="240" height="200" alt="Chantry Dance Company">
    </div>
    <div class="about">
      <p> The Engineer's Corset is a new play written by Janet Goddard for performance by the community of Bristol in 2015. <br>  ~ <br>
    The play is based on the extraordinary real-life events of 1843 surrounding Isambard Kingdom Brunel's near-death experience after swallowing a coin.  We travel through time to explore the adventure and horror of Victorian industrialisation. <br> ~ <br> Using a community theatre group The Engineer’s Corset tells a familiar tale of Brunel’s near death experience when he swallows a gold half sovereign. His wife Mary fights to maintain her composure but is ripped apart by the waiting game. Her servants and his workforce, using dance and sound, broaden her horizons. Just like Mary the audience too will see life in the 1840s through a different lens.</p>
    </div>
    <div class="workshops">
    <img src="images/final/bridgebridge.jpg" width="1100" height="713" alt="clifton suspension bridge">
    <span><a href="workshops.html">We will be running a series of workshops prior to production and hope you will join us.  For further information, click here.</a></span>
    </div>
    <div id="sponsorspace"></div>
    <div id="footer"> <p> &copy; Heartprints Web Design 2014 </p> </div>
    </div>
    </body>
    </html>
    CSS
    @charset "utf-8";
    /* CSS Document */
    body {
        font-family:Arial, Helvetica, sans-serif;
        font-size:125%;
    @media screen {
        #navbar:
    #navbar li {
        font: 25px Arial;
        display: inline;
        list-style-type: none;
        background: #09F;
        color: #000;
        border-radius: 20px;
        padding: 15px 25px;
    .current-menu-item {
        color: #0FF;
    #navbar a {
        padding: 15px 25px;
        background-color: #6cf;
        color: #000;
        text-decoration: none;
        border-radius: 20px;
    #navbar a:hover {
        background-color:#0FF;
        color: #000;
        padding: 15px 25px;
    #header {
        width: 1100px;
        height: 340px;
        margin-left: 50px;
        margin-top: 0px;
        margin-bottom: 0px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
    #links li {
        display: inline;
        width: 700px;
        margin-left: 300px;
    .chantry {
        margin-left: 40px;
    .about {
        position: relative;
        width: 860px;
        text-align:center;
        background-color: #CCC;
        color: #000;
        border-style: ridge;
        border-width: 3px;
        border-color:#09F;
        border-radius: 15px;
        float: right;
        margin-top: -200px;
        margin-right: 90px;
    .workshops{
        position:relative;
        width: 1100px;
        height: 713px;
        font-size:24px;
        margin-left: 50px;
        border-style: ridge;
        border-width: 5px;
        border-color:#09F;
        margin-top: 130px;
    .workshops span {
        position: absolute;
        background: #6CF;
        color: #000;
        left: 30px;
        top: 30px;
        right: 800px;
        padding: 15px;
        font: 1em georgia, serif;
        font-style:italic;
        text-align:center;
        border: 5px solid #09F;
        border-radius: 20px;
        margin-top: 35px;
    .workshops span a {
        color: #000;
    #link li {
        border-style: solid;
        border-color: #6CF;
        padding: 30px 10px 5px 10px;
    .info {
        text-align:center;
        width: 1100px;
        margin-top: 50px;
        margin-bottom: 50px;
    .CDC {
        float: left;
        margin-right: 50px;
        margin-left: 45px;
    .workshopinfo {
        height: 250px;
        text-align:center;
        margin-top: 50px;
    .photos {
        Height: 500px;
        text-align:center;
        margin-top: 50px;
    #footer {
        text-align:center;
        margin-top: 700px;
        color:#0CF;
    .brunel {
        margin-top: 50px;
        margin-left: 400px;
    #workshops2{
        width: 1000px;
        border-style: outset;
        border-width: 5px;
        padding: 15px;
        border-color:#09F;
        background-color: #6CF;
        margin-left: 100px;
        text-align:center;
    #workshops2 a {
        color: #000;
    #sponsorspace {
        height:  300px;
        background-color: #6CF;
        border-style: outset;
        border-color: #09f;
        margin-top: 15px;

    Give #navbar a width that is wide enough to hold all of the buttons within it.
    #navbar {
         width:####px;
    Replace #### with a pixel number large enough to hold the nav buttons.

  • Problem with Css styles not showing in live view or when i browse

    I am using Mac osx 10.6 and building website with Dreamweaver CS5.  Sometimes div tags i create not showing styles or rendering in live view or when I browse but  showing in design view. I looked in dreamwever faq and they talk about not showing in design view to toggle the display styles. That is not the problem becuase it is check marked and I tried turning off and turning on and made no difference.I am using firefox browser.
    It happened before the other day too. But all of my other pages in this site that i have created the same way building with div tags and css styles. So not sure what the problem is. Maybe someone has a suggestion here.
    Johanna

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Portfolio</title>
    <style type="text/css"></style>
    <link href="css/jbstyles.css" rel="stylesheet" type="text/css" />
    <style type="text/css"></style>
    </head>
    <body>
    <div id="wrapper">
      <div id="mainnav">
        <div id="navbar">
          <ul>
            <li><a href="index.html"><br />
            </a></li>
    <li>
              <ul>
                <li><a href="index.html">          Home</a><a href="about.html">About</a></li>
                <li><a href="portfolio.html">Portfolio</a><a href="contact.html">Contact</a></li>
              </ul>
            </li>
          </ul>
      </div>
        <div id="contentinside">
          <div id="navbar2">
            <ul>
              <li><a href="design.html">Design</a></li>
              <li><a href="multimedia.html">Multimedia</a></li>
              <li><a href="webdesign.html">Web Design</a></li>
            </ul>
          </div>
          <div id="mm1thumb">Content for  id "mm1thumb" Goes Here</div>
          <div id="mm2thumb">Content for  id "mm2thumb" Goes Here</div>
        </div>
        <img src="images/multimsidebar.gif" width="212" height="615" alt="mmsdbr" longdesc="http://multimsidebar" />
      <div id="footer">
        <p> </p>
        <p>Johanna Bresnahan</p>
        <p>Web &amp; Graphic Design - http://www.johannabresnahan.com</p>
        <p> email: [email protected] ....phone....857•991•5717<br />
      </p>
    </div>
    </div>
    <!--end wrapper--></div>
    </body>
    </html> 
    Here is the html code above. not sure how to attach my file so get a visual. This is the first time I have used this forum.
    Johanna

  • When a link is a Document, Firefox doesn't show my word processor in the application choices. When I browse for Word, it won't let me check the box to always us Word.

    When a link is a file (not a web site) Firefox opens a dialog box that begins "You have chosen to open...: and defaults to Save File. When I click on the Open File.. radio button, my word processing program, Word does not appear. When I Browse for the application in the Program Files folder of my computer, I can select Word but the check box to "Do this automatically for this file type from now on." is 'grayed out'. When I click OK, Word loads with the downloaded document.
    This is a real pain the in tokus to do this EVERY time. I have checked the association in Windows XP and that file extension IS associated with the Word application. What gives?

    Try using a different graphics type for your logo. Some don't translate well to Word. I used to know which ones were compatible but that was long ago and the list may have changed.
    Jerry

  • Error when refreshing WEBI report with Universe Connection Type "SSO"

    Hi Experts:
    We are trying to refresh the Webi report in Infoview with Universe Connection set as "Use Single Sign On when refreshing the report at view time", so that we can leverage SAP OLAP authorization variable from Bex Query which the Universe is built on.
    However got the error of "incomplete logon data" after all the configurations done following below blogs:
    SNC Part 1
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-1-of-2
    SNC Part 2
    /people/ingo.hilgefort/blog/2009/07/03/businessobjects-enterprise-and-client-side-snc-part-2-of-2
    We already have Win AD SSO to SAP setup, and in BO CMC, Win AD user is mapped to SAP user ID.
    The SNC settings are:
    - AD Account: service.test.bobj (all lower-letters)
    - 32-bit gsslib on the BO server, and 64 bit on the BW server side.
    - SNC0: p:service.test.bobj at DOMAIN
    - SU01 --> BO_Service ; SNC: p:service.test.bobj at DOMAIN
    - Entitlement system tab --> username: BO_Service
    SNC Name: p:service.test.bobj at DOMAIN
    - SNC settings tab:
    SNC Lib: c:\winnt\gsskrb5.dll
    Mutual Authentication settings: p:SAPServiceBP0 at DOMAIN
    In CMC, the role can be imported if "RFC activated" option unchecked in SNC0.
    I found a few threads on the same topic, but they are all not answered:
    SNC Client side configuration error
    SNC Configuration Error: Incomplete logon Data
    Can you please provide details of the solution if you have impleted a same scenario successsfully, or any thoughts to help the investigation?
    Thanks in advance!
    Regards,
    Jonathan

    Hi Ingo,
    Sorry for taking so long to reply, we are trying to set up server side trust and enable SSO; but we still couldn't success.
    What we did is:
    1. We followed installation guide chapter 6, generate certificate and PSE, etc. All looks good.
    2. Then we still have the "incomplete logon data" error when refreshing webi report after logon using Windows AD user ID.
    3. Then we trace the PFC connection, the log is as below. We checked several BO notes, e.g. 1500150, 1461247.. The part bothers us is that we even don't have URI displayed in the log when system trying to use SNC, and we couldn't get more info on this which make us very difficult to diagnosis.
    Can you please help? Thanks a lot!
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:46.857 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SNC. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Unable to authenticate using SNC because the URI does not meet the minimum connection requirements.
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Determining if we can connect using SSO. Calling CanAuthenticate...
    Thu Mar 31 10:54:46.919 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Authentication model for SAP connectivity is SSO
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: The SAP SSO authentication process will fail because the SAP secondary credential are not properly updated and the password is blank.
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Trying to connect to SAP using this URI : occa:sap://;PROVIDER=sapbw_bapi,R3NAME=PB0,GROUP=BI_Group1,MSHOST=sapaupdb04,LANG=en,CLIENT=100,CATALOG="ZSPUM602",CUBE="ZSPUM602/ZSPUM602_Q50"
    Thu Mar 31 10:54:47.013 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Calling m_pRfcWrapper->RfcOpenEx() ...
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: RfcOpenEx(...) returned 0
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: Call to m_pRfcWrapper->RfcOpenEx() took 0.141 seconds
    Thu Mar 31 10:54:47.154 ThreadID<1980> SAPMODULE : SAPAuthenticationService: SAPAuthenticationService::~SAPAuthenticationService

  • How do I close a PDF document automatically when the browser is closed?

    I have a web app writen in HTML/ASP. In order to acccess this app, our users have to enter a password and user id. Once on the main page of the app, they can click on a link which opens the reader in another window. Quite often, when finished with the app, they close the browser, but leave the reader window open (with sensitive information). It is becoming to riskly to hope that they remember to close that window also, even with visual reminders. I would like for that window to close automatically when the browser with the app is closed.
    Can this be done?

    Let me elaborate a little more on what I am trying to do.
    (1) A website (#1) is opened after entering a UID and PWD.
    (2) Within website #1, a link is clicked which opens a second web app (#2) in a seperate window using window.open().
    (3) Within website #2, a user can click on a link which opens a PDF as _SELF.
    (4) If the user:
         (a) exits out of website #1 by closing the brower
         (b) we would like to automatically close the PDF from website #2 also, as this contains sensitive information and most of the time the users are forgetting to close it

  • Error when refreshing web intelligence document less then every minute

    Hi all,
    I get the following error, when refreshing document via javascript more often then every minute:
    Server Error in '/Dashboard' Application.
    FatalException occured. The cause was : BusinessObjects.Enterprise.OcaFramework.Oca.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 at BusinessObjects.Enterprise.OcaFramework.ManagedService.invoke(MethodInfo method, Object[] args, IDictionary context)
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: BusinessObjects.Enterprise.OcaFramework.ManagedServiceFatalException: FatalException occured. The cause was : BusinessObjects.Enterprise.OcaFramework.Oca.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2 at BusinessObjects.Enterprise.OcaFramework.ManagedService.invoke(MethodInfo method, Object[] args, IDictionary context)
    Source Error:
    Line 121:               
    Line 122:                    //Session["StorageToken" + strDocId] = doc.StorageToken;
    Line 123:               doc = reportEngine.OpenDocument(intDocID);
    Line 124:               //doc = reportEngine.GetDocumentFromStorageToken(storageToken);
    Line 125:               doc.Refresh();
    Source File: c:\inetpub\wwwroot\dashboard\document.aspx.cs    Line: 123
    Stack Trace:
    [ManagedServiceFatalException: FatalException occured. The cause was : BusinessObjects.Enterprise.OcaFramework.Oca.oca_abuse: IDL:img.seagatesoftware.com/OCA/oca_abuse:3.2
       at BusinessObjects.Enterprise.OcaFramework.ManagedService.invoke(MethodInfo method, Object[] args, IDictionary context)]
       BusinessObjects.ReportEngine.WI.Internal.Server.OCCA._WICDZProxy.initInstance(Byte[] p0, UTF8StringHolder p1)
       BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.InitInstance(String clientInfo, Int32& returnCode)
    [CommunicationException: The Web Intelligence server could not be reached. Contact your Business Objects administrator. (Error: RWI 00236)]
       BusinessObjects.ReportEngine.WI.Internal.Server.OCCA.OCCAServerStub.InitInstance(String clientInfo, Int32& returnCode)
       BusinessObjects.ReportEngine.WI.Internal.Server.ServerCaller.InitInstance(String clientInfo)
       BusinessObjects.ReportEngine.WI.Internal.WIDocumentInstance..ctor(WIReportEngine engine, Int32 documentId)
       BusinessObjects.ReportEngine.WI.Internal.WIReportEngine.OpenDocument(Int32 documentId)
       Dashboard.document.Page_Load(Object sender, EventArgs e) in c:\inetpub\wwwroot\dashboard\document.aspx.cs:123
       System.Web.UI.Control.OnLoad(EventArgs e)
       System.Web.UI.Control.LoadRecursive()
       System.Web.UI.Page.ProcessRequestMain()
    Version Information: Microsoft .NET Framework Version:1.1.4322.2407; ASP.NET Version:1.1.4322.2407
    I searched forum and google for this error, but I didn't find anything. Did you heard of this error? How can I fix it?
    My BO Version is BusinessObjects Enterprise XI (without any ServicePacks). Is there a SP which fix this error?
    Thank you for every idea!!!

    Hi,
    Copy File from Client system to server in same folder location .
    Make sure in Edit Query option Editable & Refreshable options are checked .
    Please check the links below  .
    Webi Excel Personal Data Provider Dynamic Data
    How to create a webi report using excel as source
    Excel as datasource in Infoview
    Excel source located in Infoview

  • Destroy the session automatically when the browser is closed by user

    Is it possible to automatically destroy a session when the browser is closed by the user with the X?
    Basically, what we want to do is to create the same effect when the user is closing the browser (with the X button) as when the ordinary log out button is used. That is to have the session destroyed.
    Any ideas?
    /Carl-Johan

    Hope this helps...
    Refer note : 904155
    from SAP Note 904155----
    Symptom
    A BSP application is not terminated correctly when the user closes the browser window or navigates to other URL.
    The popup window, which appears on browse closure, contains the
    text representing <img> HTML element content in the escaped
    form, like that:
    <IMG WIDTH=quot; HEIGHT=quot; SRC="...
    After the popup disappears, the session remains opened.
    Since the session is not removed, that may result in database locks that still remain and can be found in transaction SM12.
    Other terms
    Business Server Pages, WebAS, sessionexit, session termination, SM12, SM04, SYSTEM, session_single_frame.htm
    Reason and Prerequisites
    Reason:
    The problem is caused by the minor code inconsistency in BSP application SYSTEM -> page SESSIONEXIT.HTM.
    Prerequisites:
    1. The application is using the SYSTEM application page SESSIONEXIT.HTM for logoff. When it runs, suddenly HTML source code appears on the logoff screen.
    2. SAP_BASIS 620 SP57 or SAP_BASIS 640 SP15 or SAP_BASIS 700 SP06 are installed.
    Solution
    Please install SAP_BASIS 620 SP58 or SAP_BASIS 640 SP16 or SAP_BASIS 700 SP07
    or
    apply the code correction as described below:
    1. Go to BSP Application SYSTEM.
    2. Select page SESSIONEXIT.HTM and turn on Change mode.
    3. Change the line:
    <%=application->session_exit( exit_url = app-exit_url namespace = app-appl_ns name = app-appl_name page = app-page_name )%>
    to:
    <%raw=application->session_exit( exit_url = app-exit_url namespace = app-appl_ns name = app-appl_name page = app-page_name )%>
    Arun
    P.S Assigning points is a way of saying thank you on SDN
    Message was edited by: Arun Varadarajan

  • Error when refreshing workbook in BEx: Specific Macro CallBack not found

    One of our users is getting the following error when refreshing any BEx workbook (in BI7):
    Problems while calling the exit on refresh: Specified Macro 'CallBack' is not found in the workbook
    This error suddenly started this week, everything was fine before that, and no changes have been made to the user's PC. The problem is specific to this one user's PC.
    Any ideas?
    -Jason

    Hi,
    It seems a common error.
    There is a note that mentions the error, and was fixed since BI addons SP 8
    Note: 1267942 -  Custom macro not being executed on a workbook
    Download and test the latest version: bi710sp12_1200-10004472.exe
    This should fix the issue.
    FYI: SAPGUI 640 is not supported by SAP since 2008. If you are using this version, please download the SAPGUI 7.10 as well.
    Thanks
    Edward John

Maybe you are looking for

  • Material Ledger - confirmation in different months

    Hi Gurus, I have a problem as follows: We are using material ledger for actual costing. When we post partial confirmation for a production order in period t, goods receipt and goods issue is posted for period t. However, in some cases, confirmation i

  • TS5376 Will I loose all my photos and music files if I do this?

    Im having trouble installin the updates..its asking me to uninstall i dont want to loose all my photos and music will i

  • Probelm in printing tabspace in barcode thro smartforms

    Hi Friends, I want to print the Barcode label thro smartforms. My code is as follows, I want to use TABSPACE separation in between fields instead of SPACE how do i do this pls guide me for the same. I  am using SAP ECC 5.0 version. So i tried using S

  • HREAP and Dynamic VLAN assignment (MS NPS)

    Hi All Just a quick rundown of what I am trying to achieve. We have a Cisco 5508 WLC (running AIR-CT5500-K9-7-0-116-0.aes). At the moment the WLC is controlling only 1 AP (Cisco 1142N LWAP). I want this AP to be placed at a remote site, and users tha

  • OBPM contract opportunity

    HI, I'm currently seeking an OBPM developer for a client based in Denmark for a 6 month contract. If you would like to gain some more information could you please contact me ASAP. The developer will have a strong Oracle BPM, Java and JEE background a