This message was edited by ceramicbrad at 2003-3-21 19:40:6
I am having trouble understanding the reason why the following code works as a string:
******
Public sub button_click(byval sender as object,byval e as system.eventargs)handles button.click
Dim clicks as string
Session("Clicks") = Session("Clicks") + 1
response.write("# of clicks: " & session("clicks"))
end sub
********************************
But the following does not work as an integer:
******************************
public sub button_click(byval...)
Dim x as integer
Session(x) = Session(x) + 1
response.write("#:" & session(x))
end sub
********
any help to clear this issue would be appreciated...