I have successfully completed the administrative side of a project which will allow admins to assign logins to customers. I am now tackling the customer login side of things, and need some input on the best way to approach this. I am not sure how to organize the layout once the customer logs in, due to several things:
1) I need to have the customer login and then be able to view only their profile (resides in custlogins table) and also view their listings (listings being their advertised vehicles, which resides in custinventory table). I cannot seem to write one query which will accomplish both of the above. Question is, can one query accomplish the above? If not, is it possible to have more than one SQL query to accomplish this? I tested a query I wrote and it was able to draw information from both tables but I am not isolating only that user's data.
2)I had thought of using frames to accomplish this, but am a little weary due to not really being a big fan of frames and have not really used them in conjunction with ASP before. Does anyone have any input on frames with ASP? I do realize the potential and drawbacks of frames with regular HTML just didn't know if there was anything additional with ASP to be concerned with?
3) I had also considered possibly assigning customers their usernames to be their CustID's. Thought it might be easier to isolate the data based on their custid's as their usernames. Any potential drawbacks to that?
Thanks.
~E
1) I need to have the customer login and then be able to view only their profile (resides in custlogins table) and also view their listings (listings being their advertised vehicles, which resides in custinventory table). I cannot seem to write one query which will accomplish both of the above. Question is, can one query accomplish the above? If not, is it possible to have more than one SQL query to accomplish this? I tested a query I wrote and it was able to draw information from both tables but I am not isolating only that user's data.
2)I had thought of using frames to accomplish this, but am a little weary due to not really being a big fan of frames and have not really used them in conjunction with ASP before. Does anyone have any input on frames with ASP? I do realize the potential and drawbacks of frames with regular HTML just didn't know if there was anything additional with ASP to be concerned with?
3) I had also considered possibly assigning customers their usernames to be their CustID's. Thought it might be easier to isolate the data based on their custid's as their usernames. Any potential drawbacks to that?
Thanks.
~E