CrazyEngineers
  • What exactly session layer does?

    tanvisharma

    tanvisharma

    @tanvisharma-wSaer7
    Updated: Oct 26, 2024
    Views: 1.2K
    Please help me to know what exactly session layer does in practical....
    Theoritically I know it manages the sessions between the host n remote system...
    But how exactly this happens, with a real example..
    What are sessions??
    In transport layer the tcp or udp is established, then wat are the sessions ??
    Please help me to know about it
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Shah Aadil

    MemberJun 1, 2013

    A session is a semi-permanent interactive information interchange, also known as a dialogue, a conversation or a meeting, between two or more communicating devices, or between a computer and user


    The session layer provides the mechanism for opening, closing and managing a session between end-user application processes, i.e., a semi-permanent dialogue. Communication sessions consist of requests and responses that occur between applications. Session-layer services are commonly used in application environments that make use of remote procedure calls(RPCs).
    An example of a session-layer protocol is the OSI protocol suit session-layer protocol, also known as X.225 or ISO 8327. In case of a connection loss this protocol may try to recover the connection. If a connection is not used for a long period, the session-layer protocol may close it and re-open it. It provides for either full duplex or half duplex operation and provides synchronization<a href="https://en.wikipedia.org/wiki/Synchronization_point" target="_blank" rel="nofollow noopener noreferrer">Synchronization Point</a>points in the stream of exchanged messages.
    Other examples of session layer implementations include zone information protocol(ZIP) – the Apple Talk protocol that coordinates the name binding process, and Session Control Protocol (SCP) – the DECnetPhase IV session-layer protocol.
    Within the service layering semantics of the OSI network architecture, the session layer responds to service requests from the <a href="https://en.wikipedia.org/wiki/Presentation_layer" target="_blank" rel="nofollow noopener noreferrer">Presentation Layer</a>resentation layer and issues service requests to the transport layer


    It provides the Authentication and authorization to the communication. you must have seen the websites, when we left the cursor stable without any movement after sometime when we are back it says session expired or log in again. it is because of session layer
    Are you sure? This action cannot be undone.
    Cancel
  • tanvisharma

    MemberJun 1, 2013

    Thank you....
    Are you sure? This action cannot be undone.
    Cancel
  • Shah Aadil

    MemberJun 1, 2013

    NO Worries 😀
    Are you sure? This action cannot be undone.
    Cancel
  • Abhishek Rawal

    MemberJun 1, 2013

    Shah Aadil
    A session is a semi-permanent interactive information interchange, also known as a dialogue, a conversation or a meeting, between two or more communicating devices, or between a computer and user


    The session layer provides the mechanism for opening, closing and managing a session between end-user application processes, i.e., a semi-permanent dialogue. Communication sessions consist of requests and responses that occur between applications. Session-layer services are commonly used in application environments that make use of remote procedure calls(RPCs).
    An example of a session-layer protocol is the OSI protocol suit session-layer protocol, also known as X.225 or ISO 8327. In case of a connection loss this protocol may try to recover the connection. If a connection is not used for a long period, the session-layer protocol may close it and re-open it. It provides for either full duplex or half duplex operation and provides synchronizationpoints in the stream of exchanged messages.
    Other examples of session layer implementations include zone information protocol(ZIP) – the Apple Talk protocol that coordinates the name binding process, and Session Control Protocol (SCP) – the DECnetPhase IV session-layer protocol.
    Within the service layering semantics of the OSI network architecture, the session layer responds to service requests from the <a href="https://en.wikipedia.org/wiki/Presentation_layer" target="_blank" rel="nofollow noopener noreferrer">Presentation Layer</a>resentation layer and issues service requests to the transport layer


    It provides the Authentication and authorization to the communication. you must have seen the websites, when we left the cursor stable without any movement after sometime when we are back it says session expired or log in again. it is because of session layer
    Copy-Pasted from <a href="https://en.wikipedia.org/wiki/Session_%28computer_science%29" target="_blank" rel="nofollow noopener noreferrer">Session %28Computer Science%29</a> and <a href="https://en.wikipedia.org/wiki/Session_layer" target="_blank" rel="nofollow noopener noreferrer">Session Layer</a> article.
    #-Link-Snipped-# Please avoid word-to-word copying from legit articles.
    Are you sure? This action cannot be undone.
    Cancel
  • tanvisharma

    MemberJun 1, 2013

    Still can any body help please......
    I want practical example...
    Because I am not able to understand.....
    :-(
    Are you sure? This action cannot be undone.
    Cancel
  • Anoop Kumar

    MemberJun 1, 2013

    Lets take an example of CE, how CE identifies that user is online for a time period after login and request is coming from particular user.
    Simple way is username is unique and with every request username will be exchanged between server and browser but, it not secure yet you it's kind of session management.
    How about, when user logged in, push a cookie (encrypted textfile in browser space to identify the user) .
    OR, assign a session-key (randomly defined) which will be send to browser and receive back to server every time and verified for user.
    Are you sure? This action cannot be undone.
    Cancel
  • tanvisharma

    MemberJun 1, 2013

    Ok thank you
    I am clear....
    Thank you
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register