nerdexam
GIAC

GSEC · Question #121

How often is session information sent to the web server from the browser once the session information has been established?

The correct answer is A. With any change in session data. Session information is transmitted to the web server from the browser when session data has changed, not on every request or only at initialization.

Cloud, Web, and Application Security

Question

How often is session information sent to the web server from the browser once the session information has been established?

Options

  • AWith any change in session data
  • BWith every subsequent request
  • CWith any hidden form element data
  • DWith the initial request to register the session

How the community answered

(43 responses)
  • A
    79% (34)
  • B
    7% (3)
  • C
    2% (1)
  • D
    12% (5)

Why each option

Session information is transmitted to the web server from the browser when session data has changed, not on every request or only at initialization.

AWith any change in session dataCorrect

In stateful web session management, updated session data is sent back to the server when the session state changes - while a session identifier token accompanies every request, the actual session data payload is triggered by modifications to session state, making change-driven transmission the defining behavior.

BWith every subsequent request

While the session identifier cookie is sent with every request, the full session data is not retransmitted on each request - conflating the session token with full session data transmission is the error here.

CWith any hidden form element data

Hidden form elements are one mechanism for passing data between pages but are not the standard method for transmitting established session information back to the web server.

DWith the initial request to register the session

The initial request creates or registers the session, but the question specifically asks about transmission behavior after the session has already been established.

Concept tested: Web session data transmission and state management

Source: https://owasp.org/www-community/controls/SecureSessionManagement

Topics

#session management#web sessions#cookies#HTTP requests

Community Discussion

No community discussion yet for this question.

Full GSEC Practice