Setting Photo Uploades to User Account

N

Nick

Hello, I am making a photo uploading page on my website but I don't know how
to get the uploads to get set with the user account that uploaded them.
 
J

Jeff Johnson

Hello, I am making a photo uploading page on my website but I don't know
how to get the uploads to get set with the user account that uploaded
them.

Sounds like you have a question that's more related to ASP.NET than the C#
language, so I'd recommend reposting in an ASP.NET group.
 
A

Andy O'Neill

Nick said:
Hello, I am making a photo uploading page on my website but I don't know
how to get the uploads to get set with the user account that uploaded
them.
Depends on how you stiore data, how many users and how big the files are.
You can extend the asp.net membership system fairly easily.
You could add a property that points to a file or even add the file into a
database and expose them that way.
Or add a new structure which includes the user's GUID out the membership
system as a foreign key.
There are stored procedures the membership system uses if you have it in a
sql server database and you can modify these so when you add a user via
membership then your extra table(s) know about that user.
I've done that myself in the past.
 

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

Top