SM35P - Logs without sessions

Dear All,
In SM35P (Batch Input - Log Overview), there are two options,
1. Logs with session
2. Logs without session
To my understanding, Session will be created with BDC (Session method). Please explain me what is meant by "Logs without session" & in what scenarios, these will be used & so on. Please throw some light on this query.
Thanks,
Vamsi

Thanks guys.
Not sure how to use RSTS0030 - there appears to be no way to select individual entries once the list has been displayed, and clicking 'delete selected' doesn't do anything...
However, we have managed to clear these by doing the following:
Go to the "Logs without sessions" tab. Double click on each item and make a note of the TemSe ID.
Now open a new session (don't close this one) and run transaction SP12. Select Goto-> TemSe contents from the menu and enter the TemSe ID from before. Make sure that the date is set to a valid date. Click 'list objects'. Select the object and click 'delete'.
Now go back to your SM35 screen. Come back out so you are on the 'logs without sessions' tab then right click and choose to APQL consistency. It might take quite a long while to bring up.
Search for the TemSe ID(s) in the list, click the tick box for each one, and then delete selections.
Go back and they should have gone (may need to refresh).
Ross

Similar Messages

  • Capturing Batch Input Log without keeping BDC session

    Hi all -
    Would like to capture the Batch Input log and keep it persistent in some manner (for example using an application log) without keeping the corresponding BDC session.  The reason for this is that any manual corrections to data interfaces through BDC sessions MUST be logged indefinitely for audit purposes.  The actual BDC sessions are HUGE and therefore precludes saving the entire BDC session.  My thoughts are user-exit'ing in BDC session either as a Batch Input Log is being created or when a Session is being deleted (NOTE: running ECC 6.0 which has new enhancement concept permitting extremely flexible user-exit'ing so exit points are NOT an issue and repair/core mode not required).  Anyone see any flaws with this approach or can recommend perhaps a simpler or standard approach so that Batch Input Logs are retained indefinitely whereas the Session is deleted?
    Many thanks,
    Pat

    Hi Pat,
    Why dont you try archiving?
    For archiving, archive object BDCLOGPROD can be used. if archived, then you can read the archived logs using program RSBDC_ARCHREAD (also accessible from SARA->Read).
    See some notes if it is helpful:
    147354, 18319, 24438, 18307
    Also have a look at the Data Management Guide available at service.sap.com/data-archiving.
    Hope this helps,
    Naveen

  • Can I disable logging for session in Oracle 10g?

    I use a procedure to delete a lot of row for an application repeatedly. Because the DELETE statement is time consuming and the data don't need to be archived, I decide to use the nologging option.
    How to do it?
    What is the best choice? Can I disable logging from session in Oracle 10g?
    Thank you
    Edited by: jetq on Jul 23, 2009 9:46 AM

    Hi,
    "Delete" without generating redo-log is not possible.
    If you are on 10g, one way of making this thing efficiant is partition the table, with range-list partitioning. Partitioning existing table will be an excercise in itself, but that will be one time activity.
    In partitioned (or sub-partitioned) tables, you can truncate a partition (or subpartition). That won't generate any redo log (or very very less redo log) and that runs in seconds.
    In your case if you range partition INCOMING table by datetime (1 partition per day) and list sub-partition it by STATUS, that would help.
    Another approach is, if you are deleteing, say 80% records every day and leaving 20% (or very less) records. What you can do is, partition the table only by range on datetime. Then, every time you want to delete data, copy the rows you want to keep in some other table (or temporary table), truncate partition for that day and insert rows back (which you want to keep).
    I have done a similar thing and it works very quickly and generates very less redo log. Redo log generated in case of truncating partition or creating new partitions is just for Oracle internal commands (like data dictionary update etc).
    Have fun.

  • How to open a URL without session ID and reuse the current browser session?

    Hi All,
    I have a question about HTMLDB 2.0
    How to open a URL without session ID and reuse the current browser session?
    That was the behaviour in HTMLDB 1.6 ...
    My usecase for this is the following:
    We have written an issue tracking application, which sends e-mail to the interested users, when something happens.
    In these email we've put a link to some page, with some parameters in the URL.
    The idea is for the user to be easy to click on the hyperlink and to see the details of the ticket.
    When the user clicks on such a link he is directed to a login screen (page 101) and he enters his Username and password, and is then forwarded to the details for the ticket.
    Then he receives another email (e.g. for another ticked). He clicks on the link and :
    a) in HTMLDB 1.6 he goes to the details as he didn't close his browser and session is remembered
    b) in HTMLDB 2.0 he is prompted to enter username, password with the username populated
    Please tell me how can I achieve the same behaviour in HTMLDB2.0 as it was in HTMLDB 1.6.
    I understand this change is somehow security related, althogh I don't understand how. If you can explain this either I would be very happy?
    Best regards,
    Mihail Daskalov

    Mihail - I detailed a couple of approaches here: Re: Application Link
    Scott

  • Using crystalreportviewer without session

    Hi,
    This is regarding the web reporting using Crystal Report for Eclipse.
    In our project we do not use session in Jsp as the web app will be deployed in clustered environment. But the Html output fails when the session in Jsp page is set to false.
    Is there any work around to use crystalreportviewer  without session?
    Please help me on this.
    Thanks
    Edited by: chellaganesh on Dec 24, 2010 12:03 PM

    If you found the answer please share!
    Good luck.

  • Error log in Session method

    Hello friends,
           Is it possible to create error log in session method, just like call transaction ( BDCMSGCOLL) . I want to create error log.
    Is it possible or not, If possible how ?
    Please let me know the answer.
    Thanks,
    Ajay

    Hi,
    * To catch no. of lines in itab.
    DESCRIBE TABLE itab LINES trec.
    * To catch no. of lines in it_err.
    DESCRIBE TABLE it_err LINES erec.
    * Calculation for records which are successfully uploaded.
    srec = trec - erec.
    * Layout for display summary begin.
    WRITE:(60) sy-uline..
    WRITE:/ sy-vline, '             SUMMARY OF TRANSACTION                '
    COLOR COL_HEADING,60 sy-vline..
    WRITE:/(60) sy-uline..
    WRITE:/ sy-vline, 'TOTAL NO. OF RECORDS                       ' COLOR
    COL_TOTAL, 46 sy-vline, 50 trec LEFT-JUSTIFIED, 60 sy-vline.
    WRITE:/(60) sy-uline.
    WRITE:/ sy-vline, 'No Of Records Not Uploaded Successfully are:' COLOR
    COL_NEGATIVE  HOTSPOT ON,50  erec LEFT-JUSTIFIED, 46 sy-vline,60
    sy-vline.
    WRITE:/(60) sy-uline.
    WRITE:/ sy-vline, 'No Of Records Uploded Successfully are:    ' COLOR
    COL_POSITIVE ,50 srec LEFT-JUSTIFIED,46 sy-vline,60 sy-vline.
    WRITE:/(60) sy-uline.
    * Function to create error file.
    CALL FUNCTION 'WS_DOWNLOAD'
      EXPORTING
        filename = 'C:\ERRORS.TXT'
        filetype = 'DAT'
      TABLES
        data_tab = it_err.
    * Subroutine for bdc_dynpro.
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
    * Subroutine for bdc_field.
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_FIELD
    * Subroutine for bdc_transaction.
    FORM bdc_transaction USING tcode.
      DATA text(74).
      DATA text1(34).
      DATA text2(20).
      text1 = 'Uploading Data for MATERIAL(MAKTX):' .
      text2 =  '---PLEASE WAIT.'.
      CONCATENATE text1 itab-MAKTX text2 INTO text.
    CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
        EXPORTING
          text   = text
        EXCEPTIONS
          OTHERS = 1.
      REFRESH messtab.
      CALL TRANSACTION tcode USING bdcdata
                        MODE  'N'
    *                    MODE  'A'
                        UPDATE 'S'
                       MESSAGES INTO messtab.
      l_subrc = sy-subrc.
    * Moving data to it_trec.
      MOVE l_subrc TO it_trec-rtcode.
      MOVE itab-line TO it_trec-rec.
      MOVE itab-MAKTX TO it_trec-MAKTX.
      MOVE itab-MATKL TO it_trec-MATKL.
      APPEND it_trec.
    * Looping in bdcmsgcoll structure.
      LOOP AT messtab.
        SELECT SINGLE * FROM t100 WHERE sprsl = messtab-msgspra
                                  AND   arbgb = messtab-msgid
                                  AND   msgnr = messtab-msgnr.
        IF sy-subrc = 0.
          l_mstring = t100-text.
          IF l_mstring CS '&1'.
            REPLACE '&1' WITH messtab-msgv1 INTO l_mstring.
            REPLACE '&2' WITH messtab-msgv2 INTO l_mstring.
            REPLACE '&3' WITH messtab-msgv3 INTO l_mstring.
            REPLACE '&4' WITH messtab-msgv4 INTO l_mstring.
          ELSE.
            REPLACE '&' WITH messtab-msgv1 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv2 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv3 INTO l_mstring.
            REPLACE '&' WITH messtab-msgv4 INTO l_mstring.
          ENDIF.
          CONDENSE :  l_mstring.
          MOVE l_mstring TO it_trec-mess.
          MODIFY it_trec INDEX sy-tabix.
        ENDIF.
    ENDLOOP.
      FORMAT COLOR 4.
    * Catching error records from it_trec & moving to it_err.
      LOOP AT it_trec WHERE rtcode <> 0.
        MOVE-CORRESPONDING it_trec TO it_err.
        APPEND it_err.
      ENDLOOP.
      REFRESH it_trec.
      REFRESH bdcdata.
    Nikhil.
    Edited by: Nikhil Kanegaonkar on May 27, 2009 2:31 PM

  • Error – SAML Single Logout request does not correspond to the logged-in session participant

    We are relatively new to ADFS, having set up working rp-trusts with three partners in the last few months.  Our 4th partner is proving problematic.  Single sign in works, but the ADFS
    responds the single logout request from the RP with a status of Requester.  The ADFS event log shows
    The SAML Single Logout request does not correspond to the logged-in session participant.
    Requestor: https://test-sso.rp.com/fed/sp
    Request name identifier: Format: urn:oasis:names:tc:SAML:2.0:nameid-format:persistent, NameQualifier: http://fs.idp.com/adfs/services/trust SPNameQualifier:
    https://test-sso.rp.com/fed/sp, SPProvidedId: 
    Logged-in session participants:
    Count: 1, [Issuer: https://test-sso.crmondemand.com/fed/sp, NameID: (Format: , NameQualifier: 
    SPNameQualifier: , SPProvidedId: )] 
    This request failed.
    User Action
    Verify that the claim provider trust or the relying party trust configuration is up to date. If the name identifier in the request is different from the name identifier
    in the session only by NameQualifier or SPNameQualifier, check and correct the name identifier policy issuance rule using the AD FS 2.0 Management snap-in.
    The LogoutRequest looks like this
    <samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
    Destination="https://fs.timken.com/adfs/ls/"
                    ID="id-HAScmHCfwfuYk76bce6YBfO2uOM-"
    IssueInstant="2013-01-14T13:24:04Z"
    Version="2.0">
    . . . cert, etc. omitted . . .
    <saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"
    Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"
    NameQualifier="http://fs.idp.com/adfs/services/trust"
    SPNameQualifier="https://test-sso.rp.com/fed/sp"
    >jsmith</saml:NameID>
    <samlp:SessionIndex>_df13d31b-162e-42e1-8331-f36be6bf1194</samlp:SessionIndex>
    </samlp:LogoutRequest>
    The session index and the username in NameID matches the Response we got from our AuthRequest.  I don't know how to figure out what ADFS thinks does not match. 
    Any suggestions would be appreciated.
    For completeness sake, the Response to AuthRequest looked like this.
    <Subject>
                <NameID>jsmith</NameID>
                <SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
                    <SubjectConfirmationData NotOnOrAfter="2013-01-14T13:28:52.199Z"
                                             Recipient="https://test-sso.rp.com/fed/sp/authnResponse20"
                                             />
                </SubjectConfirmation>
            </Subject>
            <Conditions NotBefore="2013-01-14T13:23:52.183Z"
                        NotOnOrAfter="2013-01-14T14:23:52.183Z"
                        >
                <AudienceRestriction>
                    <Audience>https://test-sso.rp.com/fed/sp</Audience>
                </AudienceRestriction>
            </Conditions>
            <AuthnStatement AuthnInstant="2013-01-14T13:10:43.826Z"
                            SessionIndex="_df13d31b-162e-42e1-8331-f36be6bf1194"
    >

    Okay, here are the relevant SAML messages.
    The <AuthnRequest>
    <samlp:AuthnRequest ID="_ced78e65-14d2-4c4d-8417-51f664a9e2e3"
                        Version="2.0"
                        IssueInstant="2013-02-04T13:29:20.887Z"
                        Destination="https://fs.timken.com/adfs/ls/"
                        Consent="urn:oasis:names:tc:SAML:2.0:consent:unspecified"
                        xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
                        >
        <Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">http://fs.timken.com/adfs/services/trust</Issuer>
        <Conditions xmlns="urn:oasis:names:tc:SAML:2.0:assertion">
            <AudienceRestriction>
                <Audience>https://test-sso.salesdemand.com/fed/sp</Audience>
            </AudienceRestriction>
        </Conditions>
    </samlp:AuthnRequest>The AuthnRequest Response<samlp:Response ID="_890f3128-6cae-414e-8272-30cde3bda94a"                Version="2.0"                IssueInstant="2013-02-04T13:29:29.748Z"                Destination="https://test-sso.salesdemand.com/fed/sp/authnResponse20"                Consent="urn:oasis:names:tc:SAML:2.0:consent:unspecified"                xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"                >    <Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">http://fs.timken.com/adfs/services/trust</Issuer>    <samlp:Status>        <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Success" />    </samlp:Status>    <Assertion ID="_82f82c5c-2653-4e18-9308-349ebeb67743"               IssueInstant="2013-02-04T13:29:29.748Z"               Version="2.0"               xmlns="urn:oasis:names:tc:SAML:2.0:assertion"               >        <Issuer>http://fs.timken.com/adfs/services/trust</Issuer>        <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">            <ds:SignedInfo>                <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />                <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />                <ds:Reference URI="#_82f82c5c-2653-4e18-9308-349ebeb67743">                    <ds:Transforms>                        <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />                        <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />                    </ds:Transforms>                    <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />                    <ds:DigestValue>RxZZLlbdh5eD6Ht4+aVna3Rtbnc=</ds:DigestValue>                </ds:Reference>            </ds:SignedInfo>            <ds:SignatureValue>Es8LAN9noqGIJEbgZe/...XW8LAv5Mgr3tOXpHRlcsJNss/A==</ds:SignatureValue>            <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">                <ds:X509Data>                    <ds:X509Certificate>MIIFDDCCA/SgAwIB...</ds:X509Certificate>                </ds:X509Data>            </KeyInfo>        </ds:Signature>        <Subject>            <NameID>mooreta</NameID>            <SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">                <SubjectConfirmationData NotOnOrAfter="2013-02-04T13:34:29.748Z"                                         Recipient="https://test-sso.salesdemand.com/fed/sp/authnResponse20"                                         />            </SubjectConfirmation>        </Subject>        <Conditions NotBefore="2013-02-04T13:29:29.732Z"                    NotOnOrAfter="2013-02-04T14:29:29.732Z"                    >            <AudienceRestriction>                <Audience>https://test-sso.salesdemand.com/fed/sp</Audience>            </AudienceRestriction>        </Conditions>        <AuthnStatement AuthnInstant="2013-02-04T13:29:29.545Z"                        SessionIndex="_82f82c5c-2653-4e18-9308-349ebeb67743"                        >            <AuthnContext>                <AuthnContextClassRef>urn:federation:authentication:windows</AuthnContextClassRef>            </AuthnContext>        </AuthnStatement>    </Assertion></samlp:Response>The LogoutRequest<samlp:LogoutRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"                     Destination="https://fs.timken.com/adfs/ls/"                     ID="id-uvoTioVCLdMycE88o-6CU5RrSNM-"                     IssueInstant="2013-02-04T13:29:57Z"                     Version="2.0"                     >    <saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"                 Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity"                 >https://test-sso.salesdemand.com/fed/sp</saml:Issuer>    <dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">        <dsig:SignedInfo>            <dsig:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />            <dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />            <dsig:Reference URI="#id-uvoTioVCLdMycE88o-6CU5RrSNM-">                <dsig:Transforms>                    <dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />                    <dsig:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" />                </dsig:Transforms>                <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />                <dsig:DigestValue>ZT0yQqiaL2dD2a7rt6ywJ9EoM1I=</dsig:DigestValue>            </dsig:Reference>        </dsig:SignedInfo>        <dsig:SignatureValue>Z7F7zYS31y1K48FbUHevJT86+txOlPM9awlHiMNj1TiMxRAEVz1rOj2uG0oVMd7NkblkneCrE8aVtJuebdUY4Q0DAcXR8lSTuNEFocT2R6eCIwQb48xQqQMs8ZE6siPsPFMS+QAhpgDom/IY61L/.../NNxVg==</dsig:SignatureValue>        <dsig:KeyInfo>            <dsig:X509Data>                <dsig:X509Certificate>MIIFxTCCBK2gAwIBAgIQAN+.../G6p95pNm1ZAqroUjufLeHO4q34Mx3xNyw0tmyjmWgkxY11Pa+M0gCeLOdLzxafIOXUFXOhKfOUg4Jp4S+/sCVcd9fBDPvfEHSr8uMmQC2IdQaRE7IvZdRF0OUP+l1MpRBkMsy98hPXTBK6n1ivklOxzmWie88jav8gzjWhwQC5Ia2/JNYxVBkPsNkRw86n8KBnlsumU9EV0dAeXTOaehKtG+RNnD1Gt4Y34TQccaIbf7OTLisY4kMkjZbRu3sJnX9KjM=</dsig:X509Certificate>            </dsig:X509Data>        </dsig:KeyInfo>    </dsig:Signature>    <saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"                 Format="urn:oasis:names:tc:SAML:2.0:nameid-format:persistent"                 NameQualifier="http://fs.timken.com/adfs/services/trust"                 SPNameQualifier="https://test-sso.salesdemand.com/fed/sp"                 >mooreta</saml:NameID>    <samlp:SessionIndex>_82f82c5c-2653-4e18-9308-349ebeb67743</samlp:SessionIndex></samlp:LogoutRequest>The LogoutRequest Response<samlp:LogoutResponse ID="_bf7199a8-3248-4201-9ca4-609bec5404d6"                      Version="2.0"                      IssueInstant="2013-02-04T13:29:59.076Z"                      Destination="https://test-sso.salesdemand.com/fed/sp/samlv20"                      Consent="urn:oasis:names:tc:SAML:2.0:consent:unspecified"                      InResponseTo="id-uvoTioVCLdMycE88o-6CU5RrSNM-"                      xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"                      >    <Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion">http://fs.timken.com/adfs/services/trust</Issuer>    <samlp:Status>        <samlp:StatusCode Value="urn:oasis:names:tc:SAML:2.0:status:Requester" />    </samlp:Status></samlp:LogoutResponse>The ADFS Error Log EntryThe SAML Single Logout request does not correspond to the logged-in session participant. Requestor: https://test-sso.salesdemand.com/fed/sp Request name identifier: Format: urn:oasis:names:tc:SAML:2.0:nameid-format:persistent, NameQualifier: http://fs.timken.com/adfs/services/trust SPNameQualifier: https://test-sso.salesdemand.com/fed/sp, SPProvidedId:  Logged-in session participants: Count: 1, [Issuer: https://test-sso.salesdemand.com/fed/sp, NameID: (Format: , NameQualifier:  SPNameQualifier: , SPProvidedId: )]  This request failed. User Action Verify that the claim provider trust or the relying party trust configuration is up to date. If the name identifier in the request is different from the name identifier in the session only by NameQualifier or SPNameQualifier, check and correct the name identifier policy issuance rule using the AD FS 2.0 Management snap-in.

  • Period of Log on session

    Hi all,
    How to extend Period of "Log on session "?
    Thanx,

    "ICX: Session Timeout" controls the time of inactivity of the session. If set to 30 minutes, then after no activity for 30 minutes you will get the popup window. This is for the Forms Session.
    "ICX:Limit Time" controls the total time a session can be logged in. If set to 8 hours, then after 8 hours you will get the popup window regardless of what activity is being done. This is for the Forms Session.
    For more details, check Note: 269884.1 - How To Fix The Forms Timeout Issue In Oracle Applications 11i
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=269884.1

  • Check alert log without loggin into the server ??

    hello all,
    Is there any way i can look at the last 30 - 50 lines in the alert log without going thru vi or any editor on unix system ?? I am on 10203 (hp - ux). and i have dba grant to me. But do not have access to the server to login as oracle to view the alert log...so i was wondering if there are any procedures handy or anyways to look at the alert log without loggin in to unix system??
    THANK YOU..

    Please post all output from your SQL*Plus and paste it between ** tag
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com                                                                                                                                                                                                                                                                                                                                                                               

  • Logged Out session can be accessed again After logout (DAD authentication)

    Hello,
    Please find the details of my problem below:
    SCENERIO:
    Current Authentication: No Authentication (USING DAD)
    Authorization: MYAUTH
    Frequency: Once Per Session
    declare
    lv_retval boolean;
    lv_srec pkg_myutil.r_sessionrectype;
    begin
    begin
    -- This is NOT Apex Session. I am checking the entry in a table to make sure user is logged in
    -- and the link is not opened directly. In short making sure user opened the Apex link from the
    -- Oracle Forms application.
    lv_srec :=pkg_myutil.get_session_info(:P1_SID);
    if lv_srec.valid_session then
    lv_retval := TRUE;
    else
    lv_retval := FALSE;
    end if;
    exception
    when others then
    lv_retval := FALSE;
    end;
    return lv_retval;
    end;
    The Application Security property Authorization is set to : MYAUTH
    Logout Navigation Bar Entries-URL TARGET: http://myapp.mycompany.com/pls/apex/apex_custom_auth.logout?p_this_app=105&p_next_url=http://mycompany.com
    ( I cannot put this in the Authentication Logout URL as using -DATABASE- as sentry function (DAD authentication) gives me error: No functional attributes may be set when page sentry function is '-DATABASE-'.))
    so i directly modified the navigation bar entry
    Now I open the apex link from my forms application, and it Works fine. For example
    http://myapp.mycompany.com/pls/QRYONLYDAD/f?p=105:1:2524984933940261::NO::P1_SID:0137099300:
    The authorization function takes the P1_SID value and checks in database,finds the entry so returns TRUE to display the page 1 which i call Menu page.
    If I click logout, it works and takes me to the Mycompany home page.
    My question:
    If save that link and try to access it again AFTER LOGOUT, it still displays the page. Although the session is logged out, how come it still allows to access the page? The authorization function also doesn't fire which would have prevented it atleast. How APEX knows it still a valid session even after logout happens?
    I can see that Since there is DAD authentication, the login happens automatically........ but I cannot change that method. What other option do i have?
    Please help.
    Jay

    1.) Code for the function:
    Basically we are using a private DBMS_PIPE to pass a randomly generated string and read that pipe from Apex using get_session_info. Nothing to do with Apex Session. We just want to make sure the user opened the Apex link from the application.
    function get_session_info (p_session_id varchar2) return pkg_myutil.r_sessionrectype is
    rv_sessionrec eft.pkg_myutil.r_sessionrectype;
    lv_status NUMBER;
    lv_app_id varchar2(20);
    lv_EMPID VARCHAR2(20);
    lv_timeout BINARY_INTEGER := 0; --A timeout of 0 allows you to read without blocking. otherwise the pipe will keep waiting and our purpose won't be solved
    lv_rmstatus number;
    begin
    begin
    -- Valid Session theme: If the pipe doesnot exist means the url is not requested from inside the Forms application.
    lv_status := DBMS_PIPE.RECEIVE_MESSAGE(p_session_id,lv_timeout);
    IF lv_status <> 0 THEN
    raise_application_error(-20003,'Error while receiving.Status = ' || lv_status);
    END IF;
    DBMS_PIPE.UNPACK_MESSAGE(lv_app_id);
    DBMS_PIPE.UNPACK_MESSAGE(lv_EMPID);
    if lv_EMPID is null then
    raise_application_error(-20004,'User EMPID is null in the session info.');
    end if;
    -- construct return record
    rv_sessionrec.session_id:=p_session_id;
    rv_sessionrec.valid_session :=TRUE;
    -- remove pipe
    lv_rmstatus:=DBMS_PIPE.REMOVE_PIPE(p_session_id);
    if lv_rmstatus <> 0 then
    null; -- think what to do
    end if;
    exception
    when others then
    rv_sessionrec.session_id:=p_session_id;
    rv_sessionrec.valid_session :=FALSE;
    end;
    return rv_sessionrec;
    end get_session_info;
    2.) I guess you are right. But doesn't Apex use the Userid and password hardcoded in the DAD? because it displays the username in DAD on the page footer. But It will authenticate everytime. So I want to put another layer so that my pipe verification code executes everytime which can decide whether to show the page or redirect to a error page.
    If i put in a On-Load Before Header Process on Page 1 with the pl/sql code, is there a way there to redirect to different page? I couldn't think of a way to do it. Then i can remove the code from authorization scheme and add to the On-Load process?
    Does this help any?
    Thanks for your prompt response.
    Thanks,
    Jay

  • AM without session failover set up?

    Generally I have at least 2 servers for redundancy and plan 2 servers to host AM behind a load balancer. Unfortunately I am unable to support message queue and berkeley sleepycat DB which is required for session failover. So I am curious what the session behavior is without the session failover set up. When one AM server goes down and the other is used does the user click on a link and is asked to login again? Wondering how graceful it is.

    Hi.
    I have been kind of struggling with session failover for sometime now (it worked perfectly with 2003Q4 though).
    Once you have a session queue / DB established, this is how things proceed:
    1. User hits load balancer, which directs him / her to one of the servers.
    2. User logs in. Load balancer maintains a sticky session. Future requests go to the same server.
    3. Say that server goes down. User clicks. Load balancer figures out that server is down, redirects user to another AM server.
    4. If you have session failover in place, user can continue to work without logging in (technically!).
    It was seamless with 2003Q4. We pulled the cable on one AM server (so resulting DS, DPS, AM and message broker all went offline), and still the user's session transitioned to the other server.
    If you do get session failover to work with 2005Q4, would be grateful if you could post something about it.

  • Losing url variable after logging into session

    I have a coldfusion helpdesk application that is secured with a application.cfm login system.  Once a ticket is submitted it sends out an email with a link to view the ticket.  The link contains a url variable to link it back to the correct ticket.  If the user is not logged in, the url variable is stripped off after the login process.  Is there any way to prevent this?

    From your description, at least 2 requests are involved. One request takes the unauthenticated user to the login page. Together with URL variables. I would imagine that a second request then takes him - without URL variables! - from the login form to the form's action page, where his credentials are validated.
    If so, then that is the expected behaviour. You could change it as follows. Enable session management, and implement the following on the login page:
    <cfloop collection="#url#" item="myVar">
        <cfset session[myVar] = url[myVar]>
    </cfloop>
    This results in ColdFusion storing the value of each URL variable as a variable of the same name in the session scope. Thus, the values of URL.x, URL.y, etc. will be stored, respectively, as SESSION.x, SESSION.y, etc.. You could then transfer the respective values from session back into URL scope in the links in later pages.

  • New log on session

    Hello experts,
    I'll be very grateful if anybody could help me with this issue. I would like check in abap transaction if in particular account is already started at least one session. If not I would like to get password from user and start new session on this account without using SAP Logon.
    Thanks in advance.

    Hi,
    what is the name of the table that contain info about number of started user sessions? When you log on through SAP Logon and if you already have started session system ask if you would like to kill last session. That's mean this kind of information is stored somewhere in the system tables.
    Why not try this way?
    1. You have list of  newly created users
    2.  Find out which transaction the user has excuted for that day(SM19,SM20,STAT, ST03)
    without usage of SAP Logon?
    1. User type
    2. RFC users (not dialog users)
    Table for storing SAP session count
    Thanks,
    Sri
    Edited by: sri on Aug 3, 2010 9:32 AM

  • Error message log in session method of ALV report,

    In ALV report please let me know:
    1) In session method:
    where all error messages are stored,I know that error messages are stored in a log file, so please tell me where is it stored.
    2)transaction method:
    How to handle error messages in transaction methos(for eg if a weight field text box value is negative)

    Ans for 2nd point.
    CALL TRANSACTION c_mb USING i_bdcdata
                              MODE g_ctumode
                              UPDATE g_cupdate
                              MESSAGES INTO i_messtab.
       COMMIT WORK.
       IF sy-subrc EQ 0. " BDC Executed Successfully
         CLEAR wa_messtab.
         LOOP AT i_messtab INTO wa_messtab .
           IF wa_messtab-msgtyp  = 'S' AND
              wa_messtab-msgid   = 'M7' AND
              wa_messtab-msgnr   = '060'.
             CALL FUNCTION 'MESSAGE_TEXT_BUILD'
               EXPORTING
                 msgid               = wa_messtab-msgid
                 msgnr               = wa_messtab-msgnr
                 msgv1               = wa_messtab-msgv1
                 msgv2               = wa_messtab-msgv2
                 msgv3               = wa_messtab-msgv3
                 msgv4               = wa_messtab-msgv4
               IMPORTING
                 message_text_output = l_msg.
             APPEND l_msg TO i_sucsess.
             CLEAR l_msg.
             g_docsuc = 1.
           ELSE.
             IF wa_messtab-msgtyp  = 'E'.
               CALL FUNCTION 'MESSAGE_TEXT_BUILD'
                 EXPORTING
                   msgid               = wa_messtab-msgid
                   msgnr               = wa_messtab-msgnr
                   msgv1               = wa_messtab-msgv1
                   msgv2               = wa_messtab-msgv2
                   msgv3               = wa_messtab-msgv3
                   msgv4               = wa_messtab-msgv4
                 IMPORTING
                   message_text_output = l_msg.
               g_errflg = 1.
               APPEND l_msg TO i_error.
               CLEAR: l_msg.
             ENDIF.

  • Since upgrading to V31.0 why are my log-in sessions to various websites, such as yahoo mail, terminating - sometimes after only a few minutes?

    After logging in to yahoo mail, facebook, flickr, and possibly other sites, my sessions are getting terminated prematurely. This was not a problem with past versions of Firefox. This is not a problem with IE9, but I'd rather use Firefox. I've run anti-malware, but that has not found any problems. Any suggestions how to fix?

    Do you have allow or block exceptions for cookies?
    *Tools > Options > Privacy > "Use custom settings for history" > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes" and you want to preserve some cookies:
    *do not clear the Cookies
    *do not clear the Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/remove-recent-browsing-search-and-download-history
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, passwords, and other website specific data.
    Clearing cookies will remove all specified (selected) cookies including cookies with an allow exception that you would like to keep.
    You can create a cookie 'allow' exception to keep specific cookies, especially in case of secure websites and when cookies expire when Firefox is closed.

Maybe you are looking for

  • Error in SAP installation in phase 19 of 34 - Import ABAP

    Hi SAP Gurus, Good day all, I'm facing problem when installing SAP ECC 6.0 EHP7 (IDES version). Its stucked in phase 19 of 34 Import ABAP. Below are the error details:- ECC Message Box        An error occurred while processing option SAP Business Sui

  • IMac doing TV with SKY TV

    I don't have a TV. But I want TV. I know there are loads of USB TV receivers out there in the market. But the problem is, which one does all the work I need it to do, for the lowest price. I live in the UK now. And obviously I want SKY for all those

  • Slow scrolling

    When I'm on a doc page or an internet page,  the scrolling is very slow.  I heard that it may be the video driver is the wrong one or not installed.  I checked that and the driver is not installed.  I used the msi exe driver installer and it seems li

  • Installing SSD in 24" iMac (early 2009)

    I've been thinking about replacing my hard drive (I posted previously about this) and by looking around have noticed that SSDs have now come down in price a lot. Here in the UK there is a SanDisk 480GB Extreme SSD for 270GBP. I've heard that SSDs can

  • Setting of ICONS in Oracle 10G Application Server

    Hi... I'm facing a problem of Icons which are not displayed at run time. I'm using Oracle 10G Application Server. plz tell what setting should i do. its urgent. Thanks & Regards Sanjeev Kumar