large data using sessions
-
in my project im using session to transfer data from one page(default) to other page(edit).. how i need to transfer large data using with or without session.. as data is confidential i dint use query string...
//from database
session["headline"]=dr["headline"];
session["bodytext"]=dr["bodytext"];
// i have around 20 values....
"
"
"//edit page..
TextBox1.Text=session["headline"].ToString();
TextBox1.Text=session["bodytext"].ToString();
"
"
"
........ -
in my project im using session to transfer data from one page(default) to other page(edit).. how i need to transfer large data using with or without session.. as data is confidential i dint use query string...
//from database
session["headline"]=dr["headline"];
session["bodytext"]=dr["bodytext"];
// i have around 20 values....
"
"
"//edit page..
TextBox1.Text=session["headline"].ToString();
TextBox1.Text=session["bodytext"].ToString();
"
"
"
........ -
well you can use cookie's as well but as you mentioned data is in large quantity then you might end up using session which itself isn't a good choice.
Gamzun wrote:
well you can use cookie's as well but as you mentioned data is in large quantity
As well as the data is confidencial. :)
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
in my project im using session to transfer data from one page(default) to other page(edit).. how i need to transfer large data using with or without session.. as data is confidential i dint use query string...
//from database
session["headline"]=dr["headline"];
session["bodytext"]=dr["bodytext"];
// i have around 20 values....
"
"
"//edit page..
TextBox1.Text=session["headline"].ToString();
TextBox1.Text=session["bodytext"].ToString();
"
"
"
........What is the problem with use of Session ?
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.