Newbie - 2 questions
-
Hey I wanted to pose a couple of newbie questions. Sorry in advanced if they have already been asked in this forum, and thanks in advanced for those who volunteer or otherwise answer these types of questions. I know how the answer people can sometimes feel like their answers and efforts aren't appreciated by dummies, and can get jaded as a result. Anyway, here are my questions: 1. I have a design or achitecture question. I want users to upload files to a shared mapped file drive, call it the "z:" drive where they can upload images or videos. I already have the code that will upload the images and such. But now I want serve those images or videos without physically moving/copying them to my server directory...I can't figure out how to do that as the absolute or relative path. Can anyone help me by providing a download url that has sample code that can do this? or point me in the right direction with some tutorial urls of what I'm looking for? 2. Last question (do I need to post this in a separate post? - that's not the question :)). I would like have one .aspx affect a different .aspx page for seo reasons. Is there any way to do it programmatically? So I don't have to keep changing the page and then republishing to the web server? If so, any tutorials with sample code to do so? Thanks!
-
Hey I wanted to pose a couple of newbie questions. Sorry in advanced if they have already been asked in this forum, and thanks in advanced for those who volunteer or otherwise answer these types of questions. I know how the answer people can sometimes feel like their answers and efforts aren't appreciated by dummies, and can get jaded as a result. Anyway, here are my questions: 1. I have a design or achitecture question. I want users to upload files to a shared mapped file drive, call it the "z:" drive where they can upload images or videos. I already have the code that will upload the images and such. But now I want serve those images or videos without physically moving/copying them to my server directory...I can't figure out how to do that as the absolute or relative path. Can anyone help me by providing a download url that has sample code that can do this? or point me in the right direction with some tutorial urls of what I'm looking for? 2. Last question (do I need to post this in a separate post? - that's not the question :)). I would like have one .aspx affect a different .aspx page for seo reasons. Is there any way to do it programmatically? So I don't have to keep changing the page and then republishing to the web server? If so, any tutorials with sample code to do so? Thanks!
- You should be able to access your uploaded images (etc), by referencing them like "\\myimageserver\images\Photo1.jpg". You would just need to setup the necessary file sharing security for the IIS process to be able to read the file share and NTFS permissions. If anyone knows differently, please correct me ... I'm just thinking out loud. 2) So are you telling us that you have a page1.aspx actually modifying the contents of page2.aspx ? Wow, I've never done that ... I guess it's possible. Can you describe the actual situation with a bit more detail ? Maybe I could get a better understanding. Always good to ask questions, how else are you going to learn ? I ask plenty of them. :)
-
- You should be able to access your uploaded images (etc), by referencing them like "\\myimageserver\images\Photo1.jpg". You would just need to setup the necessary file sharing security for the IIS process to be able to read the file share and NTFS permissions. If anyone knows differently, please correct me ... I'm just thinking out loud. 2) So are you telling us that you have a page1.aspx actually modifying the contents of page2.aspx ? Wow, I've never done that ... I guess it's possible. Can you describe the actual situation with a bit more detail ? Maybe I could get a better understanding. Always good to ask questions, how else are you going to learn ? I ask plenty of them. :)
clarification for #2: yes that's exactly what I want to do. I don't think it's possible though, just not sure. on point #1, I don't think that works as I have tried that already, but if you get it to work, I'd love to see some code examples. Thanks!
-
Hey I wanted to pose a couple of newbie questions. Sorry in advanced if they have already been asked in this forum, and thanks in advanced for those who volunteer or otherwise answer these types of questions. I know how the answer people can sometimes feel like their answers and efforts aren't appreciated by dummies, and can get jaded as a result. Anyway, here are my questions: 1. I have a design or achitecture question. I want users to upload files to a shared mapped file drive, call it the "z:" drive where they can upload images or videos. I already have the code that will upload the images and such. But now I want serve those images or videos without physically moving/copying them to my server directory...I can't figure out how to do that as the absolute or relative path. Can anyone help me by providing a download url that has sample code that can do this? or point me in the right direction with some tutorial urls of what I'm looking for? 2. Last question (do I need to post this in a separate post? - that's not the question :)). I would like have one .aspx affect a different .aspx page for seo reasons. Is there any way to do it programmatically? So I don't have to keep changing the page and then republishing to the web server? If so, any tutorials with sample code to do so? Thanks!
-
As long as the proper permissions have been applied to the folder I don't see why it shouldn't work 2) You could use some inline script within the head element
<%= InsertMeta() %>
protected string InsertMeta()
{
return @"";
}
I know the language. I've read a book. - _Madmatt
-