cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP request <--> response - How to identify browser session?

Former Member
0 Kudos

Hi Experts,

I would like to know how does the mechanism of identifying session in browser work. To be more specific - how does server know where to send http response with data and how can I see that (for example in debugger). Imagine situation where for example one user is processing two orders each in separate window or tab in browser. Or in one window you have order for display and in second in edit mode.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

hi..

For this you have to understand working of http request response.

When a browser makes a HTTP/HTTPS request after the authentication, the request(which is browser generated code) has a header where it stores information like the requester broswer, port name and other stuff.

Also it has other tags which hold the information of other headers like cookies, user agent which is basically the info which is sent to server.

Now all these requests are placed in queue. The ICM(internet communication manager) which is the component which will process this queue and sends the request to server through a session which is as internal abap session. Now the request is processed and a response is again in the queue. The response code is again a differnt code generated by the server which is understood by the browser. Here you will have the requestor id.. so the information is passed to that port.

if_http_request and if_http_response are the interfaces which will have this information particular to this page.

hope this is helpful

please let me know for further queries.

regards

Imran.

Former Member
0 Kudos

Hi Imran,

Things are getting clearer a bit. I understand that there might be a lot of request - response communication between server and client for a task like save order. Is there any unique identificator (I mean unique for example in one client or system) that can tell me that this particular communication belongs to specific tab or window in browser? My intension is to keep certain data in memory for specific opened tab or window in browser. Those data have to be user and opened tab or window dependent.