Asp.net, vb.net, C#.net Resources

Welcome to Asp.net, vb.net, C#.net Resources Sign in | Join | Help

Re: session variable

  •  06-20-2008, 11:15 AM

    Re: session variable

    pragya_chaubisa:

    hi, can anyone tell me about session variable

    and its use with example

    You can save data in session variable for as long as the session is active. to add a value to session variable you can use Session.Add("SOMETHING","somevalue")

     or you can also add it like
    Session("Stocks") = "MSFT; VRSN; GE"

     you can access the values like

    Dim StockString StockString = Session("Stocks") 

     

     

     

View Complete Thread
Powered by Community Server, by Telligent Systems