Click to See Complete Forum and Search --> : asp page calling .net page
thechasboi
09-07-2007, 11:48 AM
Is there a way to call a .net page on form submission of an asp page? I know set the action to the page but what I mean is there a way to get the form data of the files selected for upload from the asp page? Thanks for the reply.
Cstick
09-10-2007, 09:42 PM
You've probably figured it out by now, but did you try Request.Files collection?
lotuzwine
09-24-2007, 11:03 AM
try Response.Redirect
thechasboi
09-24-2007, 11:36 AM
Cstick and lotuzwine
Thanks for the reply. I had to use an old asp script to upload the image selected by the user. I also had to revert to using cookies to do the rest of the needed tasks in the same window. It works great now. The script I start with is a page that has been in use for a year now and too late to change it. This page contains sever different options for the user's account. one option is to upload an image for the body background of their site but if I submit the form in the same window it gets away from the design of the rest of the site. This may not make any sense but I hope this additional info will help. There are 6 different options for the site setting and once the user changes an option they can either click the appropriate apply button or just close the window which they will get an alert hey you changed something you wanna save or not. This would be the same for the upload image. I would love to use a .net page to upload the image and eliminate the cookie but at this moment I am satisfied with the usability of the app. If there is a suggestion on how to submit the form to a pop up .net page thanks for the reply.