0% found this document useful (0 votes)
73 views1 page

Session

The document demonstrates using ASP session variables to store and retrieve data like the current time, session ID, and timeout setting which is set to 240 minutes.

Uploaded by

Shraddha Khurana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views1 page

Session

The document demonstrates using ASP session variables to store and retrieve data like the current time, session ID, and timeout setting which is set to 240 minutes.

Uploaded by

Shraddha Khurana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

<%

'Start the session and store information


Session("TimeVisited") = Time()
Response.Write("You visited this site at: " & Session("TimeVisited"))
%>
<%
Dim mySessionID
mySessionID = Session.SessionID
%>
<%
Session.Timeout = 240
Response.Write("The timeout is: " & Session.Timeout)
%>

You might also like