I am working on web form … HTML form that posts data to aspx page , but before the server process post data .. the user should be logged in … so it has to redirect user to login page if not logged in . the problem is post data will be lost when redirecting ,the data is huge to be in session (up to 20 mb)
the data are files in base64 form (strings)
so how I keep post data while user login redirection ??
You should require them to log in before they fill out the form.
If you can’t do that, you can save all that data in a database table and/or physical folder for temporary information.
After they log in, you can transfer the data from the temporary location to where you want it.