473,508 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Cart

Classic ASP.

Which is the best way (some links please) to write code for a cart in asp?

Is there a way to write a cart that works also without cookies?

Any help appreciated.

Regards.

--
Fabri
(Incredibile come si tenda a credere di piu` a Rossi. (cit.))
Jul 21 '05 #1
4 1438
On Wed, 20 Oct 2004 10:07:18 +0200, Fabri <no@sp.am> wrote:
Classic ASP.

Which is the best way (some links please) to write code for a cart in asp?
FAQ:

http://www.aspfaq.com/show.asp?id=2225
Is there a way to write a cart that works also without cookies?


Sure. Session variables, query strings, temporary database storage...

Jeff
Jul 21 '05 #2
Jeff Cochran wrote:
Sure. Session variables

Aren't session variables stoerd in cookies?

--
Fabri
(Incredibile come si tenda a credere di piu` a Rossi. (cit.))
Jul 21 '05 #3
Fabri <no@sp.am> wrote:
Jeff Cochran wrote:
Sure. Session variables

Aren't session variables stored in cookies?


No. They are stored on the server. The server sends a cookie to the
browser which identifies the session. When the browser sends that
cookie back, the server knows where to look to find the stored server
variables.

--
Tim Slattery
MS MVP(DTS)
Sl********@bls.gov
Jul 21 '05 #4
On Wed, 20 Oct 2004 12:27:41 -0400, Tim Slattery <Sl********@bls.gov>
wrote:
Fabri <no@sp.am> wrote:
Jeff Cochran wrote:
Sure. Session variables

Aren't session variables stored in cookies?


No. They are stored on the server. The server sends a cookie to the
browser which identifies the session. When the browser sends that
cookie back, the server knows where to look to find the stored server
variables.


Which may or may not defeat the objective of the poster, if cookies
are the issue and not the ability of a hacker to change a cookie and
spoof your store.

Jeff
Jul 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
2258
by: Fnark! | last post by:
I am creating a shopping cart using PHP Version 4.1.2. I am creating and registering a cart object in a session. The cart object contains an array of arrays called $order whose elements are a...
2
2845
by: Don Grover | last post by:
I am retrieving costs and product id's from a sql db. and need to build a shopping cart around it. How do I store the selected items and qty req so I can move into another catalog and total up as...
1
3564
by: madison | last post by:
Hi, I am trying to start a website using paypals shopping cart function. If i have 10 items and they sell out, how do I make it so the item is then listed as sold out. The next person would not...
12
3779
by: Josef Blösl | last post by:
hi folks! i have a cart link in all of my listed products on the site. when i press this link i will generate a url like this ...
4
2407
by: Winshent | last post by:
I am having problems with adding items to my shopping cart. The problem occures when adding items that already exists in the cart. When a user adds to cart, they are automatically redirected to...
2
2283
by: G.E.M.P | last post by:
High Level Session Handling Design for a Shopping cart 0) What am I missing? 1) How does OSCommerce do it? I'm thinking about building a shopping cart from scratch, using a library of dynamic...
7
2620
by: isaac2004 | last post by:
hi i have a basic asp page that acts as an online bookstore. on my cart page i am having trouble generating 3 numbers; a subtotal, a shipping total, and a final price. here is my code i would...
3
1537
by: isaac2004 | last post by:
hello i am making a spoof online book store site for a class and I was wondering how i could fix a problem i am having. I have two tables, one the cart and the other a table with book descriptions....
1
7264
by: jecha | last post by:
I'm implementing a shopping cart but am having a problem in checking out a person who has added item in his/her shopping busket.The code for the checkout.php script is given below <?...
15
4261
gregerly
by: gregerly | last post by:
Hello, I once again turn to this community of genius' for some help with a problem. I've got a shopping cart (which is working well so far) that I will be implementing all kinds of AJAX...
0
7125
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7328
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
5055
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4709
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3199
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3186
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1561
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
767
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.