Suppose I have page1.aspx and page2.aspx, I am sending some data from page1 to page2 using query string and assigning to some variable.
There are some fields in page2 so user have to remain for some time before proceeding to next page (say page3).
Will variable of page2 which get value from query string change if second user also access to page2 which came from page1?
Edit:
Example: I have some folders like "txt/", "img/" and "temp/" in server and File Upload option in page1 where user can upload file and it will be saved in "temp/" folder.
In the same page there is file extension check method and corresponding to extension, info will be send to page2,
Page1:
string filePath;
if(extension == "txt")
{
filePath = "txt/";
Response.Redirect("Page2.aspx?filePath=" + filePath + "&fileName=" + fileName);
}
if(extension == "png")
{
filePath = "img/";
Response.Redirect("Page2.aspx?filePath=" + filePath + "&fileName=" + fileName);
}
Page2:
string fileName = HttpContext.Current.Request.QueryString["fileName"].ToString();
string filePath = HttpContext.Current.Request.QueryString["filePath"].ToString();
string savingPath = filePath + fileName;
and there is Save button in page2 to save the file.
user1 uploads txt file and comes to page2 and click Save button after 2 minutes, but before clicking save button by user1, a user2 uploads image file and comes to page2. So now will first file i.e txt file will be saved to "img" folder(which is my doubt) because filePath from query string becomes "img/" or everything will be done as expected means txt file will saved in "txt/"?