Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Session Object trouble

Status
Not open for further replies.

go2sandiego

Programmer
Dec 15, 2001
1
US
I am having a problem with my Session variable. I have a sub which totals line items and then I want to have that new total added to the Session("total") variable. I know the variable I am setting that equal to is not empty and is a Long. I have tried using a Cstr function (even though they all are var's). I am still getting a mismatch error. I have even put other session variables into that same location and they still error out. What am I doing wrong?! Syntax looks exactly like :
<% Sub linetotal()
blah
blah
Session (&quot;total&quot;) = ctotal
end sub
%>

Help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top