Click here to Skip to main content
15,887,676 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Invalid initializer member declarator -- error Pin
miss78621-Mar-14 7:54
miss78621-Mar-14 7:54 
Questionasp.net Pin
Member 1063591820-Mar-14 21:40
Member 1063591820-Mar-14 21:40 
AnswerRe: asp.net Pin
Peter Leow20-Mar-14 21:49
professionalPeter Leow20-Mar-14 21:49 
AnswerRe: asp.net Pin
Tom Marvolo Riddle20-Mar-14 22:02
professionalTom Marvolo Riddle20-Mar-14 22:02 
QuestionSession , ViewState , me.cache ?? I need to save class data between posts Pin
Member 1068685120-Mar-14 10:27
Member 1068685120-Mar-14 10:27 
AnswerRe: Session , ViewState , me.cache ?? I need to save class data between posts Pin
ZurdoDev20-Mar-14 15:49
professionalZurdoDev20-Mar-14 15:49 
GeneralRe: Session , ViewState , me.cache ?? I need to save class data between posts Pin
Member 1068685121-Mar-14 7:51
Member 1068685121-Mar-14 7:51 
AnswerRe: Session , ViewState , me.cache ?? I need to save class data between posts Pin
ZurdoDev21-Mar-14 7:58
professionalZurdoDev21-Mar-14 7:58 
Quote:
in this case what is better to use ?
We can't really answer that and here's why. Viewstate is going to get encrypted and sent to the client so the more you put into it the more processing time, although minimal, will be increased and the size of your page sent to the client will be greater.

On the other hand, if you put it into the Session then you are at the mercy of your server's operating system and how much RAM it has, assuming you are using the default session option InProc or are using ASP.Net state server.

It's a trade off between where you want the hit to be. On the client side in the size of the page or in memory on your server. If you do not have many users then Session probably is better. Or, if it gets cleared out of session often then session could be good.

It all depends. Personally, I lean towards session because messing with viewstate sometimes causes issues.
There are only 10 types of people in the world, those who understand binary and those who don't.

GeneralRe: Session , ViewState , me.cache ?? I need to save class data between posts Pin
Member 1068685121-Mar-14 8:19
Member 1068685121-Mar-14 8:19 
GeneralRe: Session , ViewState , me.cache ?? I need to save class data between posts Pin
ZurdoDev21-Mar-14 8:22
professionalZurdoDev21-Mar-14 8:22 
QuestionAuto how to receive data in asp page when data sent from andro Pin
Ngan Tran20-Mar-14 5:14
Ngan Tran20-Mar-14 5:14 
AnswerRe: Auto how to receive data in asp page when data sent from andro Pin
Peter Leow20-Mar-14 5:58
professionalPeter Leow20-Mar-14 5:58 
Questionhow to receive data in asp page when data sent from andro Pin
Ngan Tran20-Mar-14 5:10
Ngan Tran20-Mar-14 5:10 
QuestionBulk Copy in Asp.net Pin
harikreddy20-Mar-14 1:27
harikreddy20-Mar-14 1:27 
AnswerRe: Bulk Copy in Asp.net Pin
ZurdoDev20-Mar-14 15:51
professionalZurdoDev20-Mar-14 15:51 
QuestionUnable to plot data on Chart control for multiple series Pin
Kandepu Rajesh19-Mar-14 20:32
Kandepu Rajesh19-Mar-14 20:32 
QuestionRe: Unable to plot data on Chart control for multiple series Pin
ZurdoDev20-Mar-14 16:01
professionalZurdoDev20-Mar-14 16:01 
AnswerRe: Unable to plot data on Chart control for multiple series Pin
Kandepu Rajesh20-Mar-14 16:07
Kandepu Rajesh20-Mar-14 16:07 
QuestionRe: Unable to plot data on Chart control for multiple series Pin
ZurdoDev20-Mar-14 16:08
professionalZurdoDev20-Mar-14 16:08 
AnswerRe: Unable to plot data on Chart control for multiple series Pin
Kandepu Rajesh20-Mar-14 16:10
Kandepu Rajesh20-Mar-14 16:10 
GeneralRe: Unable to plot data on Chart control for multiple series Pin
ZurdoDev20-Mar-14 16:26
professionalZurdoDev20-Mar-14 16:26 
GeneralRe: Unable to plot data on Chart control for multiple series Pin
Kandepu Rajesh20-Mar-14 16:38
Kandepu Rajesh20-Mar-14 16:38 
QuestionStoring Gridview Data to SQL table Pin
Member 933446619-Mar-14 7:56
Member 933446619-Mar-14 7:56 
AnswerRe: Storing Gridview Data to SQL table Pin
Tom Marvolo Riddle19-Mar-14 19:13
professionalTom Marvolo Riddle19-Mar-14 19:13 
AnswerRe: Storing Gridview Data to SQL table Pin
AjayJamwal20-Mar-14 4:51
professionalAjayJamwal20-Mar-14 4:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.