Forcing a cookie into the reponse header

Hi,
          We're proxing responses from another app server in our own "proxy" servlet.
          We have our own cookie parsing code,
          and so we know what the cookie response header values need to be for each
          cookie. The problem is, Weblogic
          is taking resposibility for the writing out the response header, and the
          only way I have been able to add cookies
          into the response is VIA resp.addCookie(cookie). Instead, it is urgent
          that I use resp.setHeader("Set-cookie", cookiehdrvalue)!!
          But the latter does not work. Does anyone know how to take control of
          writing the cookie response headers away
          from Weblogic? It appears that resp.setHeader("Set-cookie", blahblah) has
          been turned into a NOP.
          Thanks,
          Andy
          

res.setHeader("set-cookie", "cookiename=cookieval");
          And I, I search how to give age for this cookie. Someone have an idea ?
          Andrew Nuss wrote:
          > Hi,
          >
          > We're proxing responses from another app server in our own "proxy" servlet.
          > We have our own cookie parsing code,
          > and so we know what the cookie response header values need to be for each
          > cookie. The problem is, Weblogic
          > is taking resposibility for the writing out the response header, and the
          > only way I have been able to add cookies
          > into the response is VIA resp.addCookie(cookie). Instead, it is urgent
          > that I use resp.setHeader("Set-cookie", cookiehdrvalue)!!
          >
          > But the latter does not work. Does anyone know how to take control of
          > writing the cookie response headers away
          > from Weblogic? It appears that resp.setHeader("Set-cookie", blahblah) has
          > been turned into a NOP.
          >
          > Thanks,
          > Andy
          Magali Hocq Lacombe - Reflexe Technologies
          74/80 rue Roque de Fillol
          92800 Puteaux - France
          http://www.reflexe.fr
          

Similar Messages

  • Forcing a backer into the print file.

    It's complicated, but I'll try to explain. The data file is a record-type-indicator file with no terminating record type. The line headers consist of A, B, C, D, E & F. Any single transaction record (a record group from A to F) can terminate with either C, D, E or F. Source print file is usually run in batches or multiple transaction records.
    With the record-type-indicator file there can be overflow on to multiple pages.
    Example: an AP check line item listing stub can exceed the stub area on the check page and requires an overflow report page. We need to show the check number on the back of the check, but not on the back of the overflow report. The Check and the Overflow Report have different EOP reserves.
    We can get the backer to print when the check reserved is reached, but not if that reserve isn't reached. In JFPREAMBLE we can place the backer on the last transaction record with ^define group:JFEndData!EndData. It's with the transaction records that don't reach the Check page reserve we can't get the backer to lay down. And because there's not a terminating record I can't use the EndDoc event.
    I realize if using a file table I can acheive this, but then the sequence of the transactions records can't be guaranteed.
    Any ideas?

    res.setHeader("set-cookie", "cookiename=cookieval");
              And I, I search how to give age for this cookie. Someone have an idea ?
              Andrew Nuss wrote:
              > Hi,
              >
              > We're proxing responses from another app server in our own "proxy" servlet.
              > We have our own cookie parsing code,
              > and so we know what the cookie response header values need to be for each
              > cookie. The problem is, Weblogic
              > is taking resposibility for the writing out the response header, and the
              > only way I have been able to add cookies
              > into the response is VIA resp.addCookie(cookie). Instead, it is urgent
              > that I use resp.setHeader("Set-cookie", cookiehdrvalue)!!
              >
              > But the latter does not work. Does anyone know how to take control of
              > writing the cookie response headers away
              > from Weblogic? It appears that resp.setHeader("Set-cookie", blahblah) has
              > been turned into a NOP.
              >
              > Thanks,
              > Andy
              Magali Hocq Lacombe - Reflexe Technologies
              74/80 rue Roque de Fillol
              92800 Puteaux - France
              http://www.reflexe.fr
              

  • How to populate the Ser Entry ext key into the Doc Head text in ML81N Txn??

    Hello all,
    My requirement is to to populate the Service Entry external key into the Document Header text.
    ( ServiceEntry - ERS Invoice (MRRL) ). through ML81N Transaction.I have checked for exits in ML81N as well as MIRO. those doesn't seem very convincing.
    IF i see the field of Document header text where i need to populate the data it is
    ( BKPF-BKTXT ) how do i populate the data ( SE external field ) which is in ESSR table..?
    if any one has some piece of code please send it across.
    this is urgent pls help...........
    Any pointers for this would be highly appreciated.
    Thanks,
    Sreekanth...

    Please close this thread.Open new thread in forum [SAP Community Network Forums » ABAP Development » ABAP, General |;

  • Firefox 6 will not allow you to paste a cookie into the addressbar like all previous versions have. I use software to replace web chat and must do this and have been able to do it in all past versions. What's the deal?

    Firefox 6 will not allow you to paste a cookie into the addressbar like all previous versions have. I use software to replace web chat and must do this and have been able to do it in all past versions. What's the deal?

    Thank you for your response.
    After searching around for any pointers to my problem, the above fixes I listed were the things that came closest to maybe addressing the issue, that I was able to locate. But since none worked, and as you pointed out, it is now clear they will only help towards viewing sent images rather than helping with inserting any images in the body of the email, which is the problem I suddenly started facing today.
    Coming to your suggestion, on opening the Write window, the Insert choice on the menu bar is indeed available. And I had already tried using that, by clicking on the '''Insert ----> Image''' option listed. That opens
    up the "Image Properties" box but using that has not resolved the matter either. It results in an image box getting inserted within the email but without the actual image itself.
    Plus, normally I am able to use the '''Paste''' function in the Edit menu or through right-click, but today the (Cut/Copy/Paste) functions have gone inactive, thereby disallowing me to use that to place an image within the email.

  • Need to add senders email address into the subject header of my PHP form (somehow)

    Hello one and all,
    I have a PHP form which is working fine and sends our support team an email with the subject header 'Support'.
    I have been asked to fix this form to include the senders email address into the Subject header so that the support team can filter them easier and reply quicker.
    Any help would be very much appreciated indeed. The form code is below, let me know if you need the whole page.
    Thanks in advance,
    Bradley
    My current form PHP part looks like this: (and the HTML part is below in blue)
    <?php
        if($_GET["action"] == "email")
            $msg = "The following person need support:\n\n";
            $msg = $msg . "First Name: " . $_POST["FirstName"] . " " . $_POST["LastName"] . "\n";
            $msg = $msg . "Tel: " . $_POST["Tel"] . "\n";
            $msg = $msg . "Email: " . $_POST["FROM"] . "\n";
            $msg = $msg . "Support: " . $_POST["Support"] . "\n";
            $msg = $msg . "Model: " . $_POST["Model"] . "\n";
            $msg = $msg . "Comments: " . $_POST["Comments"] . "\n";
            $to ="[email protected]";
            $subject = "Support";
            $from = "From: " . $_POST["FROM"];
            mail($to, $subject, $msg, $emailFrom, $from);
            header("Location:support2.php");
    ?>
    and the HTML part of the fom is like this:
    <form id="form1" name="form1" method="post" action="support.php?action=email">
      <table width="700" border="0" cellspacing="10" cellpadding="10">
        <tr>
          <td valign="middle" class="formtext">*First name:</td>
          <td width="455" valign="middle"><label>
            <input name="FirstName" type="text" class="form-textbox" id="FirstName" />
          </label></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Last name:</td>
          <td valign="middle"><input name="LastName" type="text" class="form-textbox" id="LastName" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Email:</td>
          <td valign="middle"><input name="FROM" type="text" class="form-textbox" id="FROM" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Telephone:</td>
          <td valign="middle"><input name="Tel" type="text" class="form-textbox" id="Tel" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext"> </td>
          <td valign="middle"> </td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Support required:</td>
          <td valign="middle"><label>
            <select name="Support" class="form-dropdown" id="Support">
              <option selected="selected">Please select...</option>
              <option value="Connection Issues">Connection Issues</option>
              <option value="Technical Issues">Technical Issues</option>
              <option value="Furniture Faults">Furniture Faults</option>
              <option value="Other">Other</option>
            </select>
          </label></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">Chair model:</td>
          <td valign="middle"><input name="Model" type="text" class="form-textbox" id="Model" /></td>
        </tr>
        <tr>
          <td valign="middle" class="formtext">*Please describe your issue:</td>
          <td valign="middle"><textarea name="Comments" rows="5" class="form-textarea" id="Comments"></textarea></td>
        </tr>
        <tr>
          <td valign="middle" class="maintext"> </td>
          <td valign="middle" class="maintext"></td>
        </tr>
        <tr>
          <td valign="middle"> </td>
          <td valign="middle"><label>
            <input name="Submit" type="submit" class="form-submit-button" value="Submit" />
          </label></td>
        </tr>
      </table>
      </form>

    MurraySummers you sir, are an absolute legend! This worked perfect straight off the bat!
    I really apreciate your lightning fast reply!
    Thanks again.
    Bradley

  • How do I get a logo (jpeg) into the Pages header?

    I can´t manage to get a jpeg into the papers header. How do I do?

    When the dialogue box pops up to Insert Page Number, ignore it, and select Media from the Toolbar, or select Insert > Choose >

  • Why do text variables using Running Header character style translate forced returns as a word space in the running head on the first page but close up the space on subsequent pages?

    In an InDesign document that requires 3 different Chapter head paragraph styles (to cope with differrent length headings) I've set up the running heads on the master page with a text variable using the Running header (character style) option. The character style I've assigned to this is an empty character style that is applied to all 3 chapter head paragraph styles.
    Some chapter heads require a forced line break, so that the line breaks are aethesically pleasing. On the first page the text variable translates this forced line break as a word space in the running head, but on subsequent pages it ignores the forced line break. This means that if you have a word space before the forced line break, on the first page you get a double word space and on subsequent pages the running head sets correctly with a single word space. But if you remove the word space before the forced line break in the chapter head text, the first running head sets correctly with forced line break interpreted as a single word space, but on subsequest pages the space is closed up.
    This only seems to be a problem when the character style option is used for header text variables. If a paragraph style is used the forrced line break is interpreted as a a single word space in all instances, both on the foirst page and subsequent pages.
    This would appear to be a bug in how text variables are applied when using the Running header (character style) option. I can't see any other reason why the text variable would beheave differently on the first page and on subsequent pages. There is only one master page, so it isn't a case of their being an error between a main master page and a chapter opener master page.
    Does anyone have any solutionss, or know if this problem has been fixed in subsequent releases of InDesign (I'm using CS6 ID version 8.0)
    Thanks

    Ask in the ID forum...
    Mylenium

  • What happens to the HTTP header parameters I put there?

    Our tool puts some parameters into the HTTP header. But, it appears that the Dispatcher is not passing them to the WAS.  Could this be?
    Is there a way to tell the Dispatcher to not drop our HTTP header stuff? Perhaps a configuration setting? I didn't find any.
    When I set a break in my servlet running on NW WAS, I see:
    referer:
    Cookie:
    etc.
    but I don't see the parameters we put there.
    This is the NW SneakPreview download.

    Hi Farokh,
    I think there should be much problem passing parameters  through the Url. I am sorry however that I have not worked much on the Servlet but on WebDynpro, which I can share with you if its of any use to you.
    Regards
    Noufal

  • How to add a filter/selection into the report title?

    Hi experts,
    Currently I try to fugure out how to set up a field into the page header (title) of a report in order to dynamically adapt the title to selected filter criteria. I tried to use the Reprot Filter Summary, but since I do have several sheets in my reports the information given through it is not applicable.
    What I would like to achieve is that the end user can select e.g. a category X and Y and the title says: "Report title - categories: X,Y" Somthg like this. I'd appreciate any tips.
    Best regards

    Hi guys,
    thanks so far. I managed to show prompts in the report. But still my problem is nor 100% solved
    I would like t achieve that the filtered criteria in the report title is separated through a comma like in the report filter summary - e.g.: {001, 002, 003, 004} followed by just 1chart/table that is including the whole information.
    When I however just drag a variable into the report it automatically created different sections, right? Like ........ table, chart, whatever... .......table chart whatever........
    Regards

  • JComboBox in the JTable Header - TableCellEditor problem

    Hi,
    I have added JComboBox into the JTableHeader. But I can't Edit that combobox. It is looking like an icon. I have added JPanel into the JTable Header Row. In JPanel i have added one JLable and JComboBox.
    Please any one of you give me the solution.
    Thanks,
    Shrini V.

    The table will display what ever value it has in its model. When you add the row, there is no data in the second column. You'll have to supply it.
    public void insertMyRowCombo (Object [] r,
                                      JComboBox c,
                                      JTable t) {
           // {"rut", "puntaje cas", "beneficio", "fecha inicio", "fecha termino", "monto"};
            DefaultTableModel tm = (DefaultTableModel) t.getModel();
            tm.addRow(r);
            TableColumn col = t.getColumnModel().getColumn(2);
            col.setCellEditor(new DefaultCellEditor(c));
            tm.setValueAt( c.getItemAt(0), 0, 2); //manually supply the value to col 2
        }ICE

  • FROM - TO Dates passed from prompt into the Title of the WEBi report

    What is the right approach to pass two reporting period dates (FROM /TO) from user's input into the Title(Header) of the Universe based WEBi report, like "Tickets submitted from:MM-DD-YY to:MM-DD-YY"
    Maybe this is trivial but it is easier to do in CR and I am not sure how to do it using Universe objects.
    These are my first steps in building real production Universe.
    Thanks in advance!
    Alex

    i dunn know if i understand you well, but it seems like you want to pass 2 dates (from, to) to some report and to have those 2 dates in the report title.
    its too easy, first at the universe level you have to have a Date objects, which comes in the time dimension.
    when you create a report usin Webi, just drag this Objects to the query filter and make the operator "between" and make both of them "prompt"
    give two texts to the prompts lets say "From Date" and "To Date",,,, and run the report.
    at the report design mode there is a function called "UserResponse"
    in the report title text add this =userresponse("From Date")
    you can modify the text as you require.
    good luck
    Amr

  • I bought creative suite production 6 2 years ago. On 12/24 I guess an update came thru and screwed my program all up. Its trying to make we buy to go into the cloud. I'm happy with what I have, I don't went to go into the cloud. I truely feel like Im bein

    I bought creative suite production 6 2 years ago. On 12/24 I guess an update came thru and screwed my program all up. Its trying to make we buy to go into the cloud. I'm happy with what I have, I don't went to go into the cloud. I truely feel like Im being ripped off being forced to move into the cloud'

    uninstall, clean and reinstall per, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • Searching the long header

    Hi,
    I am looking for a way to create an automated search that would look into the long header for an IP address.
    Anyone has any suggestions??
    Thanks very much in advance
    Ben

    From a few experiments that I performed regarding your question, Apple Mail does not appear search the full long header. Additionally, if you set up a Rule or a condition in a Smart Mailbox having either search "Entire Message" for the IP, it appears it do not search the entire long header either. You might want to look at another e-mail client solution.
    However, you also need to be sure that the sender really does have a static IP address. There is a much greater chance that the IP address will change unexpectantly, causing your solution to break frequently. Some factors that can cause their IP address to change includes:
    - Their IP is assigned through DHCP each time they connect.
    - They send e-mail from more than one computer.
    - They use a mobile computer, and get their Internet access from any number of sources.
    - The LAN they are directly connected to gets Internet access through multiple connections.
    There are more, but typically is a greater chance that the IP address will change than it will be reliably constant.
    Don Parsons

  • MODIFY THE RESPONSE HEADER VALUE IN IIS BASED ON THE QUERY STRING IN THE REQUESTED URL

    We Hosted a directory on IIS.
    The Files in the directory are saved with a Guid values.
    when there is a request from the client for a given resource ,we need to fetch the file name from the query string and modify the reponse header :" Content-Disposition",So that the User can Download with the requested name

    Sounds like a question for the ASP.NET forums:
    http://forums.asp.net
    Or the IIS forums in case you want to write some kind of module to do this without involving ASP.NET:
    http://forums.iis.net/

  • Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.

    Is there a way to stop the OS from switching to a newly opened app?  I would like to be able to continue what I'm doing while I wait for an app to launch and not get interrupted by a forced entry into the app.
    As an example, I'm going to my email in safari, while I wait for it to load, I open an excel document, and the OS decides excel should be the front app, so I go back to safari so I can enter my login info, but halfway through my password the OS decides that excel is where I should finish typing my password.
    VERY ANNOYING.  Can I open apps in the background?

    Thank you everyone for the suggestions. J D, I'm not a terminal fan, but I'm sure it works.  I found a solution that I can use in the dock from another post. 
    Annoyed by Mac OS
    Works great and allows me to maximize those multitasking minutes.

Maybe you are looking for

  • Looking for a replacement battery for dap-hd0

    I have a zen 20gb (dap-hd005) i have had it for aprox 8 months and the battery has now basicly stopped working all together. when it is unplugged it only lasts for about 5mins. the creative web site doesn't help they don't even have this model on the

  • Joint Venture Associate Consolidation Translation Question

    Hi All, I have two problems with our Joint Venture/Associate Entities and the way they translate/consolidate in HFM which I would appreciate some input on if anyone can help: 1. Our implementation of HFM is YTD and each period that period's ownership

  • Advance postings in Travel Mgt through Spe GL

    Hi all, As per my clinent requirement, we are looking to post advance to employee in TMS through Special GL transactions. Can any one plz let me know the settings required for advance posting in TMS throuh Special GL. Appreciate your help. Reg Manu

  • Need help tuning join in slow query

    Hi all, I have the following issue to tune the below join condition in my query below: SELECT PO.COMPANY, PO.UPDATE_DATE, PO.EXTENDED_AMT, PO.LOCATION, ICLOCATION.R_NAME AS LOCATION_DESC, PO.VENDOR, AP.VENDOR_VNAME, MAJOR.DESCRIPTION AS MAJOR_DESC, M

  • My ipad air is not turing on

    my ipad is not turning on.but siri is working and there is no display.