I am working on an e-commerce application where product is being delivered on a periodic or subscription basis. I have used an application variable as a foreign key to tie products together that are contained in a single order. However, the user may want to make a second (or third) purchase delivered on a different schedule, which requires a separate order (separate billing) —without starting a new session and having to re-login.
So…What di use as a second key?
I am thinking of taking the identity of the last product ordered and using that for the next set of products but I am not sure how to implement that. Nor am I confident that that is the best solution.
Any ideas?
BTW: I am picking up the slack for a fired programmer and am working well outside my skill set. So please dumb-down your musings.
So…What di use as a second key?
I am thinking of taking the identity of the last product ordered and using that for the next set of products but I am not sure how to implement that. Nor am I confident that that is the best solution.
Any ideas?
BTW: I am picking up the slack for a fired programmer and am working well outside my skill set. So please dumb-down your musings.
Comment