on 03-10-2014 1:11 PM
Hi gurus, I am building a stateless page with log off action. I am using page with flow logic.
I have a logoff page to which application must navigate when user clicks on log off button. After log off, if user clicks back button, browser must prompt for login. Please suggest me
1. Which event to use for deleting browser cookie
2. And how to use response->delete_client_cookie to delete browser cookie
Best regards,
Siva
Dear Sivadurga Prasad Madhuranthakam,
The Internet Communication Framework (ICF) provides methods using the IF_HTTP_ENTITY interface for sending and receiving client-side cookies. This interface is implement in the classes CL_HTTP_REQUEST and CL_HTTP_RESPONSE (among others) from which the global objects
REQUEST and RESPONSE are derived. You use these methods to define client-side cookies and to read cookies sent with the HTTP request. You can control the lifetime of a client-side cookie. If you do not specify a valid expiration date, the client-side cookie is retained in memory and deleted when the browser is closed (temporary client-side cookie). If you wish to store the cookie on the client beyond a browser session, you must provide the cookie with a corresponding expiration date in the SET_COOKIE method. The cookie is then stored on the client hard drive (persistent client-side cookie). A cookie whose expiration date has passed will not be sent to the server. From the SAP Web Application Server, you can delete a client-side cookie. To do so, you use the method DELETE_COOKIE_AT_CLIENT belonging to the global object RESPONSE
For clarity, the cookies sent from the HTTP server to the HTTP client are referred to as client-side cookies.
Regards,
Adrian, Forro
SAP BC-BSP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Siva,
With SAP NetWeaver 7.02, 7.30 and 7.31, using Google Chrome is generally
supported. However, certain components are excepted from this release (see the
restrictions).
Google Chrome supported only by BSP Design2008 (Design Classic and Design 2003 does not support Chrome).
Best regards,
Adrian, Forro
SAP AG, BC-BSP
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.