luc83
07-08-2003, 08:00 PM
Hi,
I have very few experience with the application and session object. Anybody out there to help me?..
I saw in my book that there`s an event for the start of a session but I cant figure out how it work.
here is the code a wrote:
<%@language = VBScript%>
<%Option explicit%>
<%
dim arrUser, strUser
Sub Session_OnStart
application.contents("User") = application.contents("User") & "," & session.contents("Name")
End Sub
session.contents("Name") = request.form("User")
arrUser = split(application.contents("Usager"), ",")
%>
I have very few experience with the application and session object. Anybody out there to help me?..
I saw in my book that there`s an event for the start of a session but I cant figure out how it work.
here is the code a wrote:
<%@language = VBScript%>
<%Option explicit%>
<%
dim arrUser, strUser
Sub Session_OnStart
application.contents("User") = application.contents("User") & "," & session.contents("Name")
End Sub
session.contents("Name") = request.form("User")
arrUser = split(application.contents("Usager"), ",")
%>