Forums
This topic is locked
Session variable
Posted 28 May 2003 14:48:35
1
has voted
28 May 2003 14:48:35 surfette pointcom posted:
I want to create an e-shop with session variable for the delivery zone. So, on the first page the visitor selects his country (attached to the session variable "Zone". But when I click on the "add to cart" button on the detail product page the page is refresh but with the wrong session variable. You can see my pages at www.ds-t.com/orders/country.asp. So could you help me to create a session variable I think the storage is wrong, could you please explain the procedure ? I am using Dreamweaver MX, Access, ASP Vbscript and iASP.Thank you, Surfette
Replies
Replied 29 May 2003 17:33:20
29 May 2003 17:33:20 Lee Diggins replied:
Your prod_details page should have something like this:
<%
Session("myCountry" = Request.Form("select"
%>
The session is then created and assigned the value of the country selected, which you've set as number.
Digga
Sharing Knowledge Saves Valuable Time!!!
<%
Session("myCountry" = Request.Form("select"
%>
The session is then created and assigned the value of the country selected, which you've set as number.
Digga
Sharing Knowledge Saves Valuable Time!!!