Add a new cookie

Hi all,
       I need to add a new cookie that randomly changes for each login attempt. I need to generate different session id before and after the successful authentication. Also every request after the successful authentication should
be associated with an extra session identifier cookie which also randomly changes and expire when user logs out from the application or closes the browser.
Thanks
Gaurav

Hi Gaurav,
You can do this using the
SessionIDManager class. Check this helpful
article.

Similar Messages

  • How to add new cookie

    I want to add a cookie in safari on my ipad.I have enabled the cookies. But couldn't find any option to add a new cookie. Can someone please help?

    You can try it to see what values are set in a cookie, you can't change or create cookies using it.
    Set Settings > Safari > Advanced > Web Inspector 'on' on your iPad, and on Safari on a Mac go into Preferences (command-comma) and on the Advanced tab enable 'show Develop menu in menu bar'. Then connect the iPad to your Mac, and on the Develop in Safari select it and the site that you want to inspect - that should let you view cookies that the site's stored.

  • Issue to Add one new column in search Page..

    I have a JSP file of Service Form of Oracle Install Base . In this on select party Site page when search for any item it shows some result as a column. like address , name, country..
    we have to add a new column in that search. means when we search for any Item then with address, Name and country it shows a new column also with that. I have the jsp file of that page "csifLOV.jsp". This is the generic LOV page for any database columns.
    Can anybody please help where to add this new column definition.
    this is code of "csifLOV.jsp".
    <%--
    +==========================================================================+
    | Copyright (c) 2000 Oracle Corporation, Redwood Shores, CA, USA |
    | All rights reserved. |
    +==========================================================================+
    | FILENAME |
    | csifLOV.jsp |
    | DESCRIPTION |
    | This is the generic LOV page for any database columns |
    | NOTES |
    | |
    | DEPENDENCIES |
    | |
    | HISTORY |
    | 23-Aug-2000 X. Li Created. |
    | $Header: csifLOV.jsp 115.30 2004/06/14 21:05:05 anukal ship $
    +==========================================================================+
    --%>
    <%@ include file="jtfincl.jsp" %>
    <%@ include file="csifContextIncl.jsp" %>
    <%
    csiPageContext.setPermissionName("SupPer");
    csiPageContext.setJspName("csifLOV.jsp");
    csiPageContext.setFormName("LOVForm");
    String jspName = csiPageContext.getJspName();
    String csiFormName = csiPageContext.getFormName();
    String formName = csiFormName;
    appName = "CSI";
    if (CsifutDebug.LOCAL_DEV_ENV)
    Properties param = System.getProperties();
    String prop = param.getProperty("JTFDBCFILE",
    "E:\\myprojects\\dbcfiles\\crmdev04_SCCSIDV1.dbc");
    param.put("JTFDBCFILE", prop);
    prop = param.getProperty("service.Logging.common.filename",
    "E:\\myprojects\\jtflogs\\ebppFW_log");
    param.put("framework.Logging.system.filename", prop);
    prop = param.getProperty("service.Logging.common.filename",
    "E:\\myprojects\\ebppSys_log");
    param.put("framework.Logging.system.filename",prop);
    System.setProperties(param);
    // this may have to change for other people
    // ServletSessionManager.startStandAloneSession(appName,true,
    // "csiuser","welcome");
         ServletSessionManager.startRequest(request,response,
    appName,true,"csiuser","csiuser","Authenticator.system");
    /* Push the logFileName into the cookie for future use */
    oracle.apps.jtf.util.SystemCheck.setJTFCookie();
    // Set cookies for menu rendering
    MenuRenderer.setMenuCookies(request);
    //Added HTML tag with language code for accessibility.
    String CSI_HTML_LANG_CODE;
    CSI_HTML_LANG_CODE = oracle.apps.jtf.util.HtmlUtil.getHtmlLanguageCode();
    if (CSI_HTML_LANG_CODE == null)
    CSI_HTML_LANG_CODE = "en-US";//Added HTML tag with language code for accessibility.
    %>
    <HTML lang="<%=CSI_HTML_LANG_CODE%>">
    <%@ include file="csifStartReqIncl.jsp" %>
    <%@ include file="csifExceptionHandleBegin.jsp" %>
    <jsp:useBean id="lovBean" class="oracle.apps.csi.framework.pb.CsifpbLOVBean" scope="page" />
    <%
    lovBean.init(csiPageContext, request);
    lovBean.process();
    int pageMode = lovBean.getMode();
    if (pageMode == CsifpbBasePageBean.LOVRETURN_MODE) //forward to the caller of the LOV
         if (CsifutDebug.DEBUG)
    CsifutDebug.addMessage("forward URL=" + lovBean.getForwardToURL());
    csiPageContext.setForwardToJSP(lovBean.getForwardToURL());
    %>
    <%@include file="csifForwardIncl.jsp" %>
    <%
    else
    CsifcmException error = lovBean.getException();
    String callerName = lovBean.getJspCallerName();
    String labelSelect=null;
    String labelEnterPartial=null;
    String labelSearch=null;
    String labelTitle=null;
    int origAppID = csiPageContext.getPageAppId();
    String origAppName = csiPageContext.getPageAppName();
    csiPageContext.setPageAppId(542);
    csiPageContext.setPageAppName("CSI");
    Hashtable allLovPrompts = CsifutRegion.getPrompts(csiPageContext, "CSI_FRAMEWORK_LOV");
    csiPageContext.setPageAppId(origAppID);
    csiPageContext.setPageAppName(origAppName);
    if (allLovPrompts != null)
    labelSelect = (String)allLovPrompts.get("CSI_SELECT");
    labelEnterPartial = (String)allLovPrompts.get("CSI_ENTER_PARTIAL");
    labelSearch = (String)allLovPrompts.get("CSI_SEARCH");
    labelTitle = (String)allLovPrompts.get("CSI_LOV_TITLE");
    else
    allLovPrompts = new Hashtable();
    String cancelPrm = (String)allLovPrompts.get("CSIF_CANCEL");
    %>
    <head>
    <title><%=labelTitle%></title>
    <script language="JavaScript">
    function newSearch()
    document.<%=csiFormName%>.<%=CsifpbBasePageBean.PAGE_MODE_PARAM%>.value = '<%=CsifpbBasePageBean.QUERY_MODE%>';
    document.<%=csiFormName%>.submit();
    function returnToCaller()
    // alert("Return to " + "<%=callerName%>" )
    document.<%=formName%>.action = "<%=callerName%>";
    document.<%=formName%>.submit();
    function <%=lovBean.LOV_CANCEL_FUNC%>()
    var LOVForm = document.forms['<%=csiFormName%>'];
    var LOVFieldName = '<%=lovBean.getLOVFieldName()%>';
    var LOVOrigValFieldName = LOVFieldName + '<%=lovBean.LOV_ORIG_VAL_FIELD%>';
    LOVForm.elements[LOVFieldName].value = LOVForm.elements[LOVOrigValFieldName].value;
    LOVForm.elements['<%=CsifpbBasePageBean.PAGE_MODE_PARAM%>'].value = '<%=CsifpbBasePageBean.LOVRETURN_MODE%>';
    LOVForm.elements['<%=CsifpbBasePageBean.MODE_ACTION_PARAM%>'].value = '<%=CsifpbBasePageBean.ACTION_CANCELLED%>';
    LOVForm.action = '<%=lovBean.getJspCallerName()%>';
    LOVForm.submit();
    function onPageLoad()
    document.<%=csiFormName%>.<%=lovBean.getLOVFieldName()%>.focus();
    </script>
    <%=lovBean.renderLovReturnJS()%>
    <%@ include file="jtfscss.jsp" %>
    </head>
    <%@ include file="csifBodyBeginIncl.jsp" %>
    <%
    //if (!CsifutDebug.LOCAL_DEV_ENV)
    if (CsifutTimer.TIME)
    CsifutTimer.start(CsifutTimer.JTF_MENU);
    %>
    <%@ include file="jtfdnbartop.jsp" %>
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td>
    <%
    if (CsifutTimer.TIME)
    CsifutTimer.stop(CsifutTimer.JTF_MENU);
    } // end local_dev_env
    %>
    </td>
    </tr>
    <tr>
    <td>
    <form name="<%=csiPageContext.getFormName()%>" method="post" action="<%=jspName%>">
    <table summary="" width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td valign="top">
    <table summary="" width="100%">
    <tr>
    <td> </td>
    <td class="pageTitle" colspan="4"><%=labelSelect%> <%=lovBean.getLOVPageTitle()%>
    </td>
    <td> </td>
    </tr>
    <%@ include file="csifDisplayException.jsp" %>
    <tr>
    <td width="5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="22.5%"> </td>
    <td width="5%"> </td>
    </tr>
    <tr>
    <td> </td>
    <td>
    <div nowrap align="right" class="promptReadOnly"><%=labelEnterPartial%></div>
    </td>
    <td colspan="3">
    <input type="text" name="<%=lovBean.getLOVFieldName()%>" id="<%=lovBean.getLOVFieldName()%>"
    value="<%=HtmlWriter.preformat(lovBean.getLOVSearchPattern())%>" size="15">
    <input type="button" name="SearchButton" id="SearchButton"
    value="<%=labelSearch%>" onClick="javascript:newSearch()">
    <input type="button" name="CancelButton" id="CancelButton"
    value="<%=cancelPrm%>" onClick="javascript:<%=lovBean.LOV_CANCEL_FUNC%>()">
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td colspan="4">
    <hr>
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td class="prompt" colspan="4">
    <!-- Search Result goes here -->
    <%
    if (lovBean.getMode() != CsifpbBasePageBean.LOVRETURN_MODE)
    out.print(lovBean.renderLOVValuesTable(labelSelect));
    %>
    <!-- End of Search Result -->
    </td>
    <td> </td>
    </tr>
    <tr>
    <td> </td>
    <td colspan="4">
    <input type="button" name="CancelButton" value="<%=cancelPrm%>"
    onClick="javascript:<%=lovBean.LOV_CANCEL_FUNC%>()">
    </td>
    <td> </td>
    </tr>
    </table>
    <!-- Content ends here -->
              </td>
         </tr>
         </table>
    <!--Hidden Fields Go Here-->
    <input type="hidden" name="<%=CsifpbLOVBean.LOV_VALUE_SEL_PARAM%>" >
    <%
    if(csiPageContext.isAccessible())
    %>
    <label for="<%=lovBean.getLOVFieldName()%>" class='hidelabel'><%=labelEnterPartial%></label>
    <!-- Kamal for ADA v2 03-Mar-04
    <label for="SearchButton" class='hidelabel'><%=labelSearch%></label>
    <label for="CancelButton" class='hidelabel'><%=cancelPrm%></label>
    -->
    <%
    %>
    <%@ include file="csifHiddenFieldsIncl.jsp" %>
    </form>
    <%@ include file="csifBodyEndIncl.jsp" %>
    </HTML>
    <%
    } // end of if (pageMode == CsifpbBasePageBean.LOVRETURN_MODE ) .. else {
    %>
    <%@ include file="csifExceptionHandleEnd.jsp" %>
    <%@ include file="csifEndReqIncl.jsp" %> <!-- send an end request -->
    Thanks,

    If you are copying the 12KST1C to Z12KST1C and executing the s_alr_8701333 report, you will not see the new column added to Z12KST1C
    With the new Form Z12KST1C, create a new Report Z12KST1C and assign a new TCODE. Also you have to select all rows and column of form Z12KST1C
    TCODE CJE5
    Select the form Z12KST1C
    Extras--Drildown display --Select Rows and columns
    Select the all colhmns by F9
    Hope this helps.
    Edited by: psconsultant on May 20, 2011 8:42 AM

  • When I attempt to add a new key frame into the timeline it adds several frames to my animation

    I am trying to edit an FLV file with flash professiona.  Right now every frame is on long frame sequence, meaning that right now there is only one key fram in the entire 40 second animation.  I am trying to add put key frames at various points in my animation but when I attempt to add a new key frame into the timeline it copies ever frame up to the selected and adds it to the front of my timeline.  Any Idea how to fix this?  I want to break my video up so I can add some shape tweens in between some of the frames

    Extensions like IE View and IE Tab use IE and the IE rendering engine, so you are running IE.
    Clear the cache and the cookies from sites that cause problems.
    "Clear the Cache":
    *Tools > Options > Advanced > Network > Cached Web Content: "Clear Now"
    "Remove Cookies" from sites causing problems:
    *Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Every time I try to add a new video to my photo folder...iTunes says it's experiencing a problem and then it crashes and shuts down. What can I do to add video to my photo folders?

    Every time I try to add a new video to my photo folder...iTunes says it's experiencing a problem and then it crashes and shuts down. What can I do to add video to my photo folders?

    Hi mterry1723, one solution that might be worth trying is this:
    - Close iTunes, if it's open
    - Open Safari and got to 'Preferences'
    - Select 'Security' on the top
    - Untick all the security options in the menu
    - Click the 'Show Cookies' button and look for all the 'apple' entries in the left-hand column.
    - Highlight them (select them collectively) and press 'Remove'
    - Now open iTunes and buy the song as usual.
    - You may be asked to do the same security process as before, so do as asked.
    - Hopefully, the security check will now have accepted your answers and start downloading the song as normal.
    Remember to re-tick all the required security options you had just un-ticked in Safari preferences. You don't need to bother about opening the cookies again.
    I hope this has worked for you and my profoundest apologies if it has not. Worth a go, though!
    I did see this thread: https://discussions.apple.com/message/18259935#18259935 which may be of more help, mainly the last entry by 'c2boyd'
    Message was edited by: Bongomal

  • How do I add my new lapttop to my family iTunes? I downloaded music, but cannot play it

    How do I add my new lap top to my family iTunes? I downloaded music, but cannot play it on my laptop

    There's a couple of ways to get through to the authorisation controls in the 11.0.x versions.
    The control is still in the Store menu, but first (if you're using iTunes versions 11.0.x) you might need to bring up the menu bar to see the Store menu.
    If you're using 11.0.x, click on the wee boxy icon up in the top-left corner of your iTunes to see the "Show Menu Bar" control, as per the following screenshot:
    Then you'll find the control in the Store menu:
    Alternatively, if you don't want to bring up the menu bar, it's still possible to get into the authorise controls via nested menus accessible from the wee boxy icon. Here's a screenshot of where to find them:

  • TS1363 How can i update my old ipod and add my new one.

    I have had an older ipod nano and i just recently got a new one. How can i add my new ipod nano to my current itunes account or do i have to have a whole new one? If i do have to have a new account how can i get my songs that i have already purchased to the new nano? I am so confused.

    Connect the iPod nano to the computer the exact same way you set up the old one. You don't need to create another Apple ID, iTunes Store account, or iTunes library.
    (98196)

  • How to add a new view in Factsheet to collect data from R3

    Hi Experts,
    I need to add a new view in Account Factsheet called  'Open Delivery data'
    which will collect the delivery data from R3 system.
    As I know we have two Function Modules (at CRM) 'CRMT_ERP_FACT_SHEET_RETRIEVE'
    (at R3) 'CRM_CCKPT_EXPORTSUMMARY'
    All We need to do is create view which calls the data from R3 Via these modules.
    How should I proceed.
    Is this relevent steps :-
    http://wiki.sdn.sap.com/wiki/display/CRM/Howtodisplayaz-tableinanassignmentblock
    Regards,
    Ram

    Hi Sandeep,
    To add a new currency in Metadata, just add in Currencies dimension, and to add in Data form-just send the script what you are using as of now for rest of the currencies, or follow the same steps as specified above. or just add the script A#CLORATE.w#Periodic.C2#XYZ in rows of your data form (where XYZ- is the new currency).
    To add a new location in FDM login to FDM web client- click on Metadata--> locations and select the Controls review location where you want to add the data load location, right click and add the new location.

  • Can't add a new printer...

    I am unable to add a new printer using the printer setup utility in system prefs.
    I am logged in as Administrator
    I am unable to add a new printer through the "add printer" dialogue in the printing preferences of any of my applications.
    Why can't I detect them somehow and re-add them?

    Welcome to the Discussions Westar,
    Just a few questions to start out:
    Have you tried to Repair Permissions with Disk Utilities found in /Applications/Utilities?
    Have you done any other repair/troubleshooting?
    Were these printers already working with your system?
    What is the make/model of the printer(s)?

  • Suggestion: add a new tag

    Hi
    Following the email from this morning with the new specs, I'd like to make a suggestion: add a new extension tag to iTunes for alternate rendering of the enclosure, e.g.:
    <enclosure url="http://www.declencheur.com/clic/medias/2007/decl-2007-01-08.m4v" length="20491070" type="video/x-m4v"/>
    <itunes:alt-enclosure url="http://www.declencheur.com/clic/medias/2007/decl-2007-01-08-hd.m4v" length="40982140" type="video/x-m4v" media="hd"/>
    As you say yourself, it's not good to introduce two feeds as it dilutes our presence on iTunes BUT, from a bandwidth standpoint (both for the producer AND for the visitor) it makes sense to differentiate the content based on whether they intend to see on Apple TV (720 would be better) or the iPod.
    You could implement it with a very simple preference in iTunes, after all iTunes knows whether I have iPod with video and/or Apple TV but it would result in a much better user experience (faster downloads, higher quality where available).
    Please consider this.
    --ben

    I am well aware of the debate on multiple enclosures but this is not what I'm suggesting.
    With multiple enclosures, the client would download all of the enclosures.
    I propose alternates, i.e. different encoding of the same document, so that only one of the files is downloaded, the one most suitable for the user hardware. Since this is not provided for by the RSS specs, the proper solution is to implement it in an extension.
    --ben

  • My old computer crashed and I lost my old library of recorded CD's and new music.  I downloaded iTunes again and found my old account info.  How do I add a new CD without deleting all of my music on my iPod?

    My old Computer crashed and I lost my old library of recorded CD's and tunes.  iTunes says I must delete everything off my iPod in order to add a new CD.  It also said I already have an account which I was able to locate.  I don't know how to get into my old account.  I think that would solve everything.  I have Windows XP.  I'd appreciate any input.

    No.
    All iTunes content on your iPod Touch should be in your iTunes library on your computer, and your iTunes library on your computer should be included with your computer's backup along with all other important data - stored on an external drive or some other external media used for backup purposes only.
    When music was purchased on a CD, if the CD was lost and you returned to the store where the CD was purchased with your receipt, were you given a replacement CD?
    The same applies here.

  • How to add a new table or view in the view object

    hello,every one.
    I wanna add a new table or view in the view object's query statement.
    when the table or view not in the where clause,the query statement is working fine.
    If they in the where clause,I got the "java.lang.NullPointerException".
    who can help me
    thank you very much

    thank you for your reply
    I wanna extend the VO
    oracle.apps.pay.selfservice.payslip.US.server.PayPayslipGetPersonDetail
    the original sql is:
    SELECT ppf.person_id,
    FROM per_people_f ppf,
    per_assignments_f paf,
    pay_assignment_actions paa
    where paa.assignment_action_id = :1 AND paf.assignment_id = paa.assignment_id AND SYSDATE BETWEEN paf.effective_start_date AND paf.effective_end_date AND paf.person_id = ppf.person_id
    I wanna extend:
    SELECT ppf.person_id, pay_v.element_name,pay_v.assignment_action_id
    FROM per_people_f ppf,
    per_assignments_f paf,
    pay_assignment_actions paa,
    pay_run_results_v pay_v
    where paa.assignment_action_id = :1 AND paf.assignment_id = paa.assignment_id AND SYSDATE BETWEEN paf.effective_start_date AND paf.effective_end_date AND paf.person_id = ppf.person_id
    pay_v.assignment_action_id =paa.assignment_action_id
    if the pay.v in the where clause. I will got the exception. whereas,it's works fine.

  • How do I add a new mailbox on my iPhone?

    How do I add a new mailbox on my iPhone 4S. I have tried going to the "Mailboxes" and selecting edit but that just takes me to the "New Message" screen.

    I don't need a "New Account". I would like to add some mailbox folders to store mail I choose to keep. Currently my choices are only:
    Inbox
    Drafts
    Sent
    Trash
    Does iPhone allow for additional folders within mailboxes?
    Re: How do I add a new mailbox on my iPhone? 

  • How to add a new dimension in ASO cube without losing all data

    Hi,
    I have an ASO cube with 18 dimensions and I want to add a new one (regular). When I add this new dimension it asked me that the all data has to cleared before the restructure can take place. If I click yes then I would lose all data regardless of the fact if I have a level0 export or not. Because when I tried to reload the export back into the cube it gave me an error cause all the dimensions were not present in the export. Does anyone know how would I be able to accomplish this task?
    Thanks
    fikes

    You can try this work around solution.
    1) Export Lev0 data
    2) Clear the cube
    3) Add new dimension Regular.
    4) Add a default member Reg00 in the new dimension and save.
    5) Open the Lev0 data in a text editor, Insert "Reg00" in the begining of the file and Enter.
    6) Lev0 file will have first record "Reg00" and the remaining export file will be from the second record.
    7) Load the modified file with out rule file.
    You can verify that all your history data will be loaded w.r.to the Reg00 of the New dimension Regular.

  • How to add a new metadata field to iPhoto where new field is calculated as age in years and month based on a specific date and the date photo was taken ? I want to calculate and display the age of my two kids on every photo.

    Hi
    How can I add 2 new metadata-fields to every photo in iPhoto ?
    The new fields should state the age of my kids in years and months based on the date that they were born and the date that photo is taken.
    Exampel:
    My son is born 01.01.2010
    My daughter is born 01.01.2012
    Photo taken by data
    Aage of son
    Aage of daughter
    01.07.2011
    1 year 6 month
    not born yet
    01.01.2014
    4 year 0 month
    2 year 0 month
    I would like to be able to search by kids age and get the info displayed when doing slideshows.
    How to do this in iPhoto ?
    Any alternatives to accomplish the same ?
    Kind regards

    It can't be done with iPhoto.  There are some DAM (digital asset management) applications that can write to other IPTC fields that iPhoto can't read. One such app is Media Pro 1.
    However you would have to calculate the age for each date and add it to one of the fields. There are online age calculators that can do that for you: Age Calculators
    If you go thru that much trouble then use iPhoto, make the calculations and add the age to the Description field.  Then you can use Smart Albums to search for 1year 6 month text.
    OT

Maybe you are looking for

  • Photos have disappeared -- how can I find them?

    Because of problems I had been having with iPhoto being unable to delete or add more items, yesterday I had an additional hard drive added to my iMac, thinking it was a lack of memory problem. Unfortunately this didn't help at all despite moving all

  • Can't export photos since upgrading to 10.5.3

    I don't know if these two things are related or not, but I upgraded to 10.5.3 a week or two ago and now I can't export any iPhoto pictures. When I try to save the new exported file the dialog says "unable to create /folder/photo name" I tried Batchmo

  • How to display report in Acroat Reader?

    Hi, i have to display my reports in Acrobat reader. How is it possible to do it from reports? like i'm setting the Distribution property from the report's property palette but it doesn't seem to be working. Does it need any specific parameters to be

  • For what version of JDeveloper are the viewlets for?

    At the following URL: http://technet.oracle.com/products/jdev/viewlets/viewlet.html there are viewlets on JDeveloper. Can anybody tell me what version of JDeveloper (ie, where it doesn't say updated for 9.0.3) these viewlets are written for? I have v

  • Status List Web Part corrupting other Web Parts!!

    Hello, I am using the Project Site Template and have observed a very strange behavior when I add a Status List (with status indicators) to the overall "Home" page: It seems to be corrupting other web parts located on the same page. I.e. the timeline