bruce
09-26-2003, 06:14 AM
ASP session should work just fine.
What do you mean by it not working?
[b]quote:Originally posted by Frank42
I am trying to show the number of active sessions. The code I am using works localy but does not after its uploaded. Is there some security issue that will prevent the session information from being displayed
here is a sample of the code.
<%
dim tAccessTime
tAccessTime = session("lastAccessTime")
if tAccessTime = " " then
Response.write ("First Time <p>")
else
response.write ("Last Accessed at " & tAccessTime & "<P>")
end if
%>
[b]
<%= Session("VisitorID")%>
</B>total visits Since Reboot
[b]
[b]
<%= Application("Active")%>
</B>active visitors.
<% session ("LastAccesstime") = now %>
</blockquote id="quote"></font id="quote">
What do you mean by it not working?
[b]quote:Originally posted by Frank42
I am trying to show the number of active sessions. The code I am using works localy but does not after its uploaded. Is there some security issue that will prevent the session information from being displayed
here is a sample of the code.
<%
dim tAccessTime
tAccessTime = session("lastAccessTime")
if tAccessTime = " " then
Response.write ("First Time <p>")
else
response.write ("Last Accessed at " & tAccessTime & "<P>")
end if
%>
[b]
<%= Session("VisitorID")%>
</B>total visits Since Reboot
[b]
[b]
<%= Application("Active")%>
</B>active visitors.
<% session ("LastAccesstime") = now %>
</blockquote id="quote"></font id="quote">