resources by customer (not culture)

J

Jon Paugh

Hello!

Any leads on how to go about creating a website where
resources are based on the customer rather than the
culture? E.g. customer A gets jpg 1, customer B gets jpg2.

Thanks,

Jon Paugh
 
C

Curt_C [MVP]

ok... store the info in a db, retrieve it based on their login.
instead of coding the JPG directly, retrieve the customer specific choice
from the db.
 
J

Jon Paugh

A given installation will only support one customer, so
maybe there is a better way than going to the database.

Jon Paugh
 
C

Curt_C [MVP]

I was under the impression the customer was the logged in user, not the
server setup.
In that case few options.
1) give the files the right names....logo.jpg is ALWAYS the name it has to
be.
2) use an INC file to hold the values/names assigning them to constants.
Then always reference the constant name instead of the actual graphic.
 
J

Jon Paugh

Thanks for the response Curt.

I am wondering in this case what the difference is between
using an INC file vs using a Resource file? Don't they
both contain key to value mappings? Why use an INC file
instead of a resource file?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top