how can i use "Sessions" to create pages specific to a user?

Posted by Shreesh under ASP.NET on 10/27/2011 | Points: 10 | Views : 825 | Status : [Member] | Replies : 2
how can i use "Sessions" to create pages specific to a user? i.e. to view only the files which the user has uploaded?




Responses

Posted by: SheoNarayan on: 10/27/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Shreesh,

Why to use Session for that? Why not save the username into the database table against each file user has uploaded and check for user credentials when he/she is requesting that file?

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Shreesh, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Shreesh on: 10/27/2011 [Member] Starter | Points: 25

Up
0
Down
i have saved the user name into the database,now i just need to view the files that the user has uploaded using the "FileUpload" control. i am new to this ,could you tell me how i can check the credentials of the user?

Shreesh, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response