CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 cart for no members in bookstore

Print topic Send  topic

Author Message
jimmy cortes
Posted: 04/19/2001, 2:00 PM


I have been testing the bookstore example. This example works just with
register members. I have created a
temporal session("userID") wich just exists until the user logs in. this
way, everybody can choose a product without registering. Those products are
stored into the table orders in the same way it was performed before, but
they donīt belong to any registered member until he/she logs in. So, please,
how can I automatically update the temporal member_id into the
table orders to the register member when he/she logs in...?

I have tested the following idea, but there is another problem:

UPDATE orders SET orders.member_id = session("userID")
WHERE (((orders.member_id)=session(uniqueID)));

I know I canīt do this..!!! SQL doesnīt accept this variables.
How can I mix this kind of variables in the same procedure and update them
automatically after a registered member logs in ?

I have no idea.. thanks, :-(

Note:
session("UserID") has got a new value after login(It is done)
session("uniqueID") is a session variable for the products he/she has bought
in this unique session. (It is done)
I had to remove the integrity of the Database to get it.
thanks for your wonderful support...:-).

jimmy


   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright Đ 2003-2004 by UltraApps.com  and YesSoftware, Inc.