ASP.NET(vb.net) Session.SessionID() - Session Object - Session.SessionID() : The SessionID property returns the session identifier (session ID), a unique identifier that is generated by the server when the session is created.
ShotDev Focus:
- ASP.NET(vb.net) Session.SessionID() - Session Object
Example
AspNetSessionSessionID.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Me.lblText.Text = Session.SessionID() End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:Label id="lblText" runat="server"></asp:Label> </form> </body> </html>
Screenshot
1hobbies…
…