![]() |
|
|
+ Search |
![]()
|
Jul 22nd, 2000 23:38
unknown unknown,
You can use the SetValue method of the session object. SetValue() takes
2 parameters - the variable name (a string) and the variable value.
Thus, the following code:
-- start of ASP snippet
<%
Session.SetValue('Key', 4)
%>
My custom session variable is <%= Session("Key") %>
-- end of asp snippet
will set the variable 'Key' to the integer value 4, and then print the
value to confirm the value is as we expect.
© 1999-2004 Synop Pty Ltd