Hello .. asp.net work like this, when user open your page he is automatically given a Session ID. there are 3 types of session, InProc=saved on memory , StateServer=Serialize with I/O file system to the related server, SQLServer=save in and from Database.
Session of asp.net has it's own expiration, and you can set the time. after that time , or user close browser , or the application pool recycle, It will be recycle or thrown away and generate new one. yes it's secured it's on the server side. Other alternative of saving value and retrieve would be cookies, html 5 storage. all is on client browser and client side. On Thu, May 26, 2011 at 8:45 AM, Davej <[email protected]> wrote: > Ah, you are right. Session State stores a cookie but only for the > session ID. Additions don't go with the cookie. View State is for > restoring the form data. Thanks. > > > On May 25, 5:13 am, Cerebrus <[email protected]> wrote: > > Session state is not sent to the client and is in fact stored in > > server memory. I think what you want to refer to is actually called > > ViewState. > > > > On May 24, 9:45 pm, Davej <[email protected]> wrote: > > > > > Ok, I'm an ASP.NET noob and I'm reviewing some basics... > > > > > What are the best guidelines for using Session State? The concept of > > > sending encoded data out to the user just so the data can be sent back > > > seems a bit crazy to me. Wouldn't it be better if session data was > > > just stored in memory with some sort of expiration scheme? If the data > > > is sent out (added to the session) is it really 100% secure? Thanks. > > -- > You received this message because you are subscribed to the Google > Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML > Web Services,.NET Remoting" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en > or visit the group website at http://megasolutions.net > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
