jimmy cortes
|
Posted: 04/18/2001, 8:39 AM |
|
Now I have another question... . I have been testing the bookstore
example. This example works just with register members. I have create a
temporal session("userID") wich just exists until the user 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...?
thanks for your wonderful support....
jimmy
|
|
|
John Hamilton
|
Posted: 04/18/2001, 12:37 PM |
|
Jimmy,
I don't know much about this example, but let me get this straight. You
assign a "guest" a temp UserID and use that to keep track of the order's
details (line items) until they are assign a more permanent UserID. At this
time you want to go back through the database and change everything that is
for the TempID to instead be for the PermID? If that's the case then find a
event or something in codecharge to place this statement
Update Orders Set MemberID = PermID Where MemberID = TempID
This will change the MemberID field to PermID for every record where
MemberID is currently TempID.
Hope this helps.
--
Thanks,
John Hamilton
POSitive Software Company http://www.gopositive.com
"jimmy cortes" <webmaster@virtuallinksa.com> wrote in message
news:9bkcgd$i33$1@mail.tankhill.com...
> Now I have another question... . I have been testing the bookstore
> example. This example works just with register members. I have create a
> temporal session("userID") wich just exists until the user 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...?
>
> thanks for your wonderful support....
>
> jimmy
>
>
|
|
|
|