you shouldnt need to change anythings.
if it is not working, it most likely that the session is not getting set.
what do you get if you add this code after the body tag:
if that does not write the delivery fee to the page, either the session is the problem or the recordset is the problem.
send a copy of the page so i can have a look.