Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8530109
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:11:05+00:00 2026-06-11T09:11:05+00:00

The Plan I need to upload a file without causing a full page refresh.

  • 0

The Plan

  1. I need to upload a file without causing a full page refresh.
  2. The uploaded files should be stored in a temporary place (session or
    cookies)
    .
  3. I will only save the files in the server, if the user
    sucessfully fills all the form fields.

Note: This is one of the slides of a jQuery slider. So a full refresh would ruin the user experience.


The Problem

If I place a Fileuploader Control inside a AJAX Update Panel, I wont be able to acess the file on the server side.

Note:From what I have found so far, this happens due to safety reasons.

Can’t be done without co-operating binaries being installed on the
client. There is no safe mechanism for an AJAX framework to read the
contents of a file and therefore be able to send it to the server. The
browser supports that only as a multipart form post from a file input
box.


The Questions

  1. When storing the files in a temporary location, should I use session or cookies? (what if the user has cookies disabled?)
  2. If preventing a postback, really is against the standarts of user safety. Will it harm my website reputation? (regarding SEO and such)
  3. Which road to take?
    • C# ASP.Net with AJAX? (is there a workarround?)
    • C# ASP.Net + AJAX Control Toolkit? Does it helps? (using the AsyncFileUpload control)
    • C# ASP.Net + jQuery Control? (won’t I have problems fetching the data from the JavaScript?)
    • C# ASP.Net + iFrame? (not the most elegant solution)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:11:07+00:00Added an answer on June 11, 2026 at 9:11 am
    1. The total amount of cookies that you can use is limited to a few kilobytes, so that’s not a viable option to store a file. So sessions would be the only remaining. Consider also to save the file in the file system and remove it if it’s not going to be used, as storing files in memory (session) will limit how many users you can handle at once.

    2. No, for functions like uploading files you don’t have to worry about that. Search engines doesn’t try to use such functions when scanning the page.

    You can use an AJAX upload in browsers that support direct file access, but there is no way around doing a post if you need to support all browsers. However, the post doesn’t have to end up loading a new page, you can put a form in an iframe, or point the target of a form to an iframe.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My plan is to let a user to upload an excel file, once uploaded
I need to be able to upload several files to a database, and associate
I need to upload directories to a FTP server on my application, and plan
In my app I need to download a bunch of files. My original plan
I need to upload some files (images but it doesn't matter) using jquery and
I need an formula for determining a debt payoff plan where the following are
Need an async I/O Processing Plan to use async I/O through aio* calls on
I plan on building a simple, yet high usage webapp and need to settle
i got some problem and need help .. my plan : 1. get ip
I have a script that lets the user upload text files (PDF or doc)

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.