Click here to Skip to main content
15,895,256 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ADO.Net Pin
Vasudevan Deepak Kumar26-May-08 18:57
Vasudevan Deepak Kumar26-May-08 18:57 
QuestionConnecting to data base Pin
Saba0226-May-08 8:00
Saba0226-May-08 8:00 
AnswerRe: Connecting to data base Pin
Colin Angus Mackay26-May-08 13:02
Colin Angus Mackay26-May-08 13:02 
AnswerRe: Connecting to data base Pin
Vasudevan Deepak Kumar26-May-08 18:38
Vasudevan Deepak Kumar26-May-08 18:38 
Questionvalidating the fields in msi file during the installation Pin
chaitu.chinna26-May-08 7:43
chaitu.chinna26-May-08 7:43 
AnswerRe: validating the fields in msi file during the installation Pin
Vasudevan Deepak Kumar26-May-08 18:58
Vasudevan Deepak Kumar26-May-08 18:58 
QuestionRe: validating the fields in msi file during the installation Pin
chaitu.chinna26-May-08 20:25
chaitu.chinna26-May-08 20:25 
Questionprivate property value storage by ASP.NET Pin
Nadia Monalisa26-May-08 6:31
Nadia Monalisa26-May-08 6:31 
Hi.,
Can you tell me where the Private variables are stored in ASP.NET ? as they are not stored in ViewState then where are they stored ? Any other kind of hidden type form field in the rendered Html page ? I am having a public property in my server control which will hold the LicenseKey and the LicenseKey will be assigned only in design time, not in runtime. And as ViewState is not secured, I choosed not to store my public property value in ViewState, rather I will use a static private string like this,

private static string _licenseKey; 

public string LicenseKey
{
  get 
  {
     if (!String.IsNullOrEmpty(MyClass._licenseKey)) 
       return _licenseKey; 
     else 
       return String.Empty; 
  }
  set 
  {
    if(value == "Password") 
      MyClass._licenseKey = value; 
  }
}


Can you tell me how will it work when the page is rendered, is it a safe and efficient way to store my secured data ?
AnswerRe: private property value storage by ASP.NET Pin
Colin Angus Mackay26-May-08 13:08
Colin Angus Mackay26-May-08 13:08 
GeneralRe: private property value storage by ASP.NET Pin
Nadia Monalisa27-May-08 3:26
Nadia Monalisa27-May-08 3:26 
Questionautosize Table td Pin
greekius26-May-08 6:06
greekius26-May-08 6:06 
Questionweb.config file in asp.net 2.0 Pin
trilokharry26-May-08 5:10
trilokharry26-May-08 5:10 
AnswerRe: web.config file in asp.net 2.0 Pin
Colin Angus Mackay26-May-08 13:10
Colin Angus Mackay26-May-08 13:10 
GeneralRe: web.config file in asp.net 2.0 Pin
leckey26-May-08 15:43
leckey26-May-08 15:43 
QuestionHow to know the country name the user is visiting the website? Pin
Jagadeesh Jupalli26-May-08 4:14
Jagadeesh Jupalli26-May-08 4:14 
AnswerRe: How to know the country name the user is visiting the website? Pin
Colin Angus Mackay26-May-08 13:13
Colin Angus Mackay26-May-08 13:13 
GeneralRe: How to know the country name the user is visiting the website? Pin
Jagadeesh Jupalli26-May-08 21:39
Jagadeesh Jupalli26-May-08 21:39 
GeneralRe: How to know the country name the user is visiting the website? Pin
Nadia Monalisa27-May-08 3:36
Nadia Monalisa27-May-08 3:36 
GeneralRe: How to know the country name the user is visiting the website? Pin
Jagadeesh Jupalli27-May-08 21:54
Jagadeesh Jupalli27-May-08 21:54 
AnswerRe: How to know the country name the user is visiting the website? Pin
anee26-May-08 18:52
anee26-May-08 18:52 
QuestionUserControl shows ispostback=true always Pin
K.P.Kannan26-May-08 4:07
K.P.Kannan26-May-08 4:07 
Questionlooking for a Component which generates network graphs Pin
ndw26-May-08 4:01
ndw26-May-08 4:01 
QuestionGetting the hidden value in "Gridview .net 2005" Pin
froxy26-May-08 1:49
froxy26-May-08 1:49 
AnswerRe: Getting the hidden value in "Gridview .net 2005" Pin
Laddie26-May-08 1:57
Laddie26-May-08 1:57 
QuestionDatabinder.Eval() problem in Datalist Pin
needhi_p26-May-08 0:57
needhi_p26-May-08 0:57 

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.