BSP - How to set header-field "no-store"
Hello.
I need to set the HTTP-header-field "no-store" in a BSP-application. The Problem is, that i do'nt know, how to do this.
I just do'nt know, which strings have to be passed to the method "set_header_field". The W3C-RFC gives the following information:
Cache-Control = "Cache-Control" ":" 1#cache-directive
cache-directive = cache-request-directive
| cache-response-directive
cache-request-directive =
"no-cache" ; Section 14.9.1
| "no-store" ; Section 14.9.2
| "max-age" "=" delta-seconds ; Section 14.9.3, 14.9.4
| "max-stale" [ "=" delta-seconds ] ; Section 14.9.3
| "min-fresh" "=" delta-seconds ; Section 14.9.3
| "no-transform" ; Section 14.9.5
| "only-if-cached" ; Section 14.9.4
| cache-extension ; Section 14.9.6
cache-response-directive =
"public" ; Section 14.9.1
| "private" [ "=" <"> 1#field-name <"> ] ; Section 14.9.1
| "no-cache" [ "=" <"> 1#field-name <"> ]; Section 14.9.1
| "no-store" ; Section 14.9.2
| "no-transform" ; Section 14.9.5
| "must-revalidate" ; Section 14.9.4
| "proxy-revalidate" ; Section 14.9.4
| "max-age" "=" delta-seconds ; Section 14.9.3
| "s-maxage" "=" delta-seconds ; Section 14.9.3
| cache-extension ; Section 14.9.6
cache-extension = token "=" ( token
I already tried some combinations, but none of them worked. As i have already searched the SDN-Forum and google, i hope that somebody in this forum knows, how to do the trick...
Regards
Jörg Neumann
Hello Cornelia.
I have tried setting the header field "max-age=0" and copied the set_header_field-instructions into the eventhandler OnInputProcessing, but this does not solve the problem - it made it even worse.
After setting the header-field "max-age=0", the browser read the page from the local cache for EVERY click on the back-button.
This seemed a little weird to me and so i started testing around...
I am of the oppinion, that the 3 function-calls are overwriting the content of the field "Cache-Control".
Adding the header-fields in the following sequence leads to the "50%-problem" described above:
CALL METHOD response->set_header_field( name = 'Cache-Control' value = 'max-age=0' ).
CALL METHOD response->set_header_field( name = 'Cache-Control' value = 'no-cache' ).
CALL METHOD response->set_header_field( name = 'Cache-Control' value = 'no-store' ).
Any sequence, in which "no-store" was not the last field added, made the browser read the page from the cache for every click on the back-button.
So i think, that i have to set all of the 3 fields, you suggested, and i am only setting one because every function call overwrites all Cache-Control-Directives.
If my conclusions are right, the field Cache-Control should be sort of a "structure" and i have to set 3 of its fields...
Regards
Jörg Neumann
Similar Messages
-
How to set key fields in a Database view
Hi guru's
iam balaji,plz guide me with how to set key fields in a view.......that field is a non key field in the base table....
thanks in advance,
Balaji.Stake a look at this:
Diagnosis
In the view, not all of the mandatory fields were included as key
fields. The key of the view therefore is not unique.
System Response
All the fields are regarded as key fields in order to guarantee that th
key lengths are unique.
Procedure
For views with a large number of fields, this could have a negative
effect on the performance for the language construction described below
In this case, all the mandatory key fields should be included in the
view.
regards -
How i use header fields in soap adapter
Hi Experts,
I need use header fields http in soap adapter receiver but i don't know where's the Variable Header
Do you know where i find this?
Somebody know how i put header fields http in soap adapter receiver?
Thanks for all,It is similar like in this blog:
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
Find in the online help the values for the SOAP adapter.
You can only add additional fields, you cannot influence the standard field like content-type and content-id.
Regards
Stefan -
How to set Character field's Format Mask?
dear all,
how to set Character field's Format Mask?
i searched the forum and found the following, where can i use this code and how to change and set its format mask.
SRW.SET_FORMAT_MASK('mask');
Thanks
Muhammad NadeemNadeem,
If you have database 10g, look into function REGEXP_REPLACE. Otherwise you can also try this (you might already know).
SELECT SUBSTR('CHHOCMIPO07020001', 1,2)||'-'||SUBSTR('CHHOCMIPO07020001' ,3,2)||'-'||
SUBSTR('CHHOCMIPO07020001' , 5,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 7,3)||'-'||
SUBSTR('CHHOCMIPO07020001' , 10,2)||'-'||SUBSTR('CHHOCMIPO07020001' , 12,2)||'-'||
SUBSTR('CHHOCMIPO07020001' , 14,4)
FROM dual
CH-HO-CM-IPO-07-02-0001
If you have to use this at many places, create a function, pass the raw value, manipulate the string and return.
FS -
How to set the field SKB1-FDLEV as requestred-entry in G/L Master data?
Hi All,
Could anyone tell me how to set the field SKB1-FDLEV as requestred-entry in G/L Master data?
Thanks
Gandalfhi
Go to OB26
select Your criteria ( create, change or display)
double click on it
again double click on Bank/financial details
there you will find the Planning level make it require entry
save
with regards
ramanuja chary -
How to set the field non-editable in the classical report..
Hi..
How to set the field non-editable in the classical report..Hi experts,
For the component 'ICCMP_EMP_SRCH' there is a view 'BUPAEMPSEARCH' , which has 2 context nodes 'CUSTOMER' AND 'SEARCHEMPLOYEE' , i need to add the field 'NICKNAME' which is part of the 'CUSTOMER' context node on the search screen. Currrently all the fields on the screen screen are from the 'SEARCHEMPLOYEE' context node. when i did the configuration , the 'NICKNAME' field is greyed out . I have already generated the Getter ,Setter , GET_I, GET_M methods for the 'NICKNAME' field and the context node and controller class and context class are all active .
on debugging the GET_I method, i see that rv_disabled = 'TRUE' and the current = collection_wrapper->get_current( ) is returning empty value .
for this rv_disabled to be set false , the code below is not triggered since there is no value in current.
IF current->is_property_readonly(
'NICKNAME' ) = abap_false. "#EC NOTEXT
rv_disabled = 'FALSE'.
ENDIF.
when i check for other search fields of context node 'SEARCHEMPLOYEE' , all the fields are set to rv_disabled = 'FALSE'.
can anyone suggest how to approch this. iam i missing any binding between context nodes or any activations ?
The field properties are set as Input field and the display checkbox is not checked. -
When I try to access iTunes or safari, I get the following message:The procedure entry point QTCF_CFHTTP message set header field value could not be located in the dynamic link library QTCF.dll I uninstalled and reinstalled.same result HELP!
Taken at face value, you're having trouble with a QuickTime program file there.
Let's try something relatively simple first. Restart the PC. Now head into your Uninstall a program control panel, select "QuickTime" and then click "Repair".
Does the repair go through okay? If so, are you able to launch iTunes and/or Safari now? -
HT2731 How to set up an iTunes Store account (Apple ID) like a company
How to set up an iTunes Store account (Apple ID) like a company?
There are no company accounts. The iTunes Store Terms and Conditions state that "(i) You shall be authorized to use iTunes Products only for personal, noncommercial use."
-
Oracle Service Bus 10.3 - split join how to set header for invoked service
In Oracle Service Bus 10.3 how can I set the header for the service being invoked. We make parallel calls to 2 different business services. One of the invoked service requires header to be set and I am unable to figure out how it can be done. Below are snippet of the code and WSDL.
--- Login Operation start ---
<operation name="login">
<wsdlsoap:operation soapAction="blah"/>
<input name="loginRequest">
<wsdlsoap:body use="literal"/>
<wsdlsoap:header message="passport:loginHeader" part="hppwsHeaderElement" use="literal"/>
</input>
<output name="loginResponse">
<wsdlsoap:body use="literal"/>
</output>
<fault name="genericFaultException">
<wsdlsoap:fault name="genericFaultException" use="literal"/>
</fault>
</operation>
--- Login Operation end ---
--- hppwsHeader Element --
<complexType name="hppwsHeaderElement">
<sequence>
<element maxOccurs="1" minOccurs="0" name="version" type="tns1:version"/>
<element maxOccurs="1" minOccurs="0" name="tx-id" type="tns1:tx-id"/>
<element maxOccurs="1" minOccurs="1" name="systemLangCode" type="xsd:string"/>
</sequence>
</complexType>
--- LoginRequest Element ---
<xs:element name="loginRequestElement" type="s0:loginRequestType"/>
<xs:complexType name="loginRequestType">
<xs:sequence>
<xs:element name="userId" minOccurs="1" maxOccurs="1" type="xs:string"/>
<xs:element name="password" minOccurs="1" maxOccurs="1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
--- LoginResponse Element ---
<xs:element name="loginResponseElement" type="s0:loginResultType"/>
<xs:complexType name="loginResultType">
<xs:sequence>
<xs:element name="sessionToken" minOccurs="1" maxOccurs="1" type="xs:string"/>
</xs:sequence>
</xs:complexType>
In Oracle Workshop for WebLogic when I create a split-join .flow file while adding the invoke service call to login operation I am prompted to create the loginRequest and loginResponse variables. I can assign the appropriate expression to loginRequest.loginRequestElement prior to making the invoke call but then the backend business call fails because "systemLangCode" is not defined and set. Actual fault is
<ns1:genericFault xmlns:ns1="http://hppcbl.globalops.company.com/webservice">
<systemLangCode>en</systemLangCode>
<fault>
<ruleNumber>589</ruleNumber>
<fieldName>systemLangCode</fieldName>
<code>field.empty</code>
<desc>System language code is required.</desc>
<ftype>2</ftype>
</fault>
</ns1:genericFault>
I would really appreciate if someone could guide me on how to resolve this
Regards,
-NilayThere is this $header variable which you should populate before calling the BS. What is the type of BS? If it is WSDL BS , Any Soap BS then above solution will work. I assume that yours is WSDL based BS and setting $header should resolve this issue.
AnyXML and Messaging type BS services requires that you create proper pay load (setting $header will not work).
There is also other actions Set Transport Headers {outbound request/inbound response} which can be used to set transport related headers but not soap headers.
Manoj -
How to display header fields names in the next page in report6i
how to display repeat header field names into the next page in report6i urgent plz......
When i am runing report in 1st page only the header information is displaying in 2 page the header info is not displaying only records are displaying.So i want to display the header info in 2nd page also.
Plz help out.Hello,
Go to the report layout model and select those items/objects which are not getting display on next page and open the property pallet by pressing F4 key and set the property Print Object On to All Pages then it will display on all pages.
-Ammad -
How To set Header and Footer in MIDlet screen
Hi Friends,
How can i set header and footer in my screens .
My need is that in header part ,my company's name shuld be display and in footer section "any thing".
How can i achieve this things plz advice me.
karanHi Supareno,
Can u tell me in details with small code, If it's
possible for you .
regards
karandefine an header (coordinate 0,0)
optional {
a CustomItem? (coordinate 0, 0+header.getHeight() )
another CustomItem ? (coordinate 0, CustomItem.getY() + CustomItem.getHeight() )
etc...
define footer (coordinate 0, getHeight() - footer.getHeight() )
Message was edited by:
supareno -
How to set the field size in rule file.
i have to map total 30 fields in a rule file while by default it allows only 20 fields. so how can we set the fields as per our need?
Hi Dharmendra Ojha,
Essbase rule file does not constrain you with only 20 fileds.
When you click on 'create a rule file', by default it ll show you 20 fileds .But , when you open a data file ( in your case , you data file has 30 columns i.e 30 fields) in the data prep editor , you ll see all 30 fileds .
So ,you have to do nothing to increase the filed count , rule file will automatically show all fields .
Revert back for further clarity
Sandeep Reddy Enti
HCC
http://analytiks.blogspot.com -
How to set default field values in customer master data.
hi,
I want to set default values in customer master data (account group wise).
but
I don't know how to set it .
please help me.
(I don't want to change field status in account group rather than I want to set default values for field. )
thank you.hi,
this is to inform you that,
in SAP there is no such a provision.
but
in LSMW there is an option of CONSTANT VALUES.
check in SHD0 - also
please check and confirm
balajis\a -
How to set User-field in Plan order
Hi
could you tell me please how to set a user-filed in plan order. when I run MRP planing, I can write some data in this filed.
thanks
henryHi,
Actually these user defind fields are used/assigned in the routing.
Initially u have to define your own user defind profile through OPEC transaction.
Assign this profile in the routing.
So when ur executing Mfg activities, suppose if ur using some high materials like silver...etc.
Then after executing the particular operation some amount of silver chips or silver scrap will generated .
To keep chip/scrap qty operation and date which user defind is used.
Once u have assigned this profile to routing, then it will be automatically copied in the planned order/production order.when ur confirming the order then u have to enter the all related data.
Regards
Vijay -
How to set "like" field of the query in statements
Hi,
Im trying to set the "like" field of the statement.but it is not executing as expected.Could anybody please tell me,"how to set the like field in statements.
Here is my code.
PreparedStatement psum=con.prepareStatement("select count(bill_amount) from master where bill_date like ? and whos_bu=?");
String myStr=month+"/??/"+year;
psum.setString(1,myStr);
psum.setString(2,employeeTray[1]);
ResultSet rs=psum.executeQuery();Tnx a lot vidyut .using % is working.
Could you plz tell me why the previous one using question mark is not
working. using quesion mark is correct as per the query syntax.and also i tried with asterisk,it is also not working.
ps:have some duke dollars.
Maybe you are looking for
-
Unable to open jsp in JDev 10.1.3.3
Hi everybody! I newly have a problem with opening a jsp or jspx-page in Jdeveloper 10.1.3.3. When I double-click a page the Jdev is hard working but seems to doesn't come to an end. After 20 minutes I don't like to wait anymore and close the Jdev wit
-
I have a iPod Nano, when it is connected to my laptop all my songs and books are there but when it is disconnected from laptop, some books and songs are missing from the library
-
Trouble with my photosmart 7525 printer
I recently moved and am trying to set up my HP photosmart 7025 printer. It says the ink carriage cannot move (but it can) because of a paper jam (I can't find a paper jam) or it gives a message that one or more ink cartridges is missing (none are) o
-
Why do we need the "Trusted Application" in 11.1.2.1?
Hello, We're upgrading from 9.3.1 to 11.1.2.1. In the process of testing I've discovered that for our CORPLOAD group users cannot see the HFM reports in 11.1.2.1 unless we add the "trusted application" role. This is not the case in our current produc
-
Infoset as datasource for segmentation
Hi, When I create a datasource of type Infoset, I entered name of the infoset as CRM_MKTTG_BP_ADDR, but there is a field Business Partner, should I enter BUT000-PARTNER (BP No.) or BUT000-PARTNER-GUID (BP GUID) in it? What is the difference between t