Print Page | Close Window

Shipping2.asp code question

Printed From: SalesCart
Category: Legacy Products
Forum Name: SalesCart Standard / PRO / SQL
Forum Description: All questions pertaining to SalesCart Standard, PRO and SQL should be posted here.
URL: http://forum.salescart.com/forum/forum_posts.asp?TID=464
Printed Date: November/23/24 at 3:43pm
Software Version: Web Wiz Forums 11.04 - http://www.webwizforums.com


Topic: Shipping2.asp code question
Posted By: lleemon
Subject: Shipping2.asp code question
Date Posted: October/17/05 at 8:51am
Relooking at some of the code I was examining the following code in the shipping2.asp page:

If IsEmpty(Session("computeship")) Or Session("computeship") = "" or Session("computeship") = " " Then
     computeship = 1
Else
     computeship = Session("computeship")
End If


I think I was given the file from the support team in June 2004.

My question is where is Session("computeship") populated? I believe the code above replaced the following line:

computeship = FGetVar("computeship",1,"n")


To me it looks like variable computeship will always be 1. Can someone maybe explain this a little better why the code changed?

Thanks for your help in advance.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.04 - http://www.webwizforums.com
Copyright ©2001-2015 Web Wiz Ltd. - http://www.webwiz.co.uk