Sessions and cookies are not interchangable.

Ideally, if you need to store something between sessions, store its key in
session/viewstate and retrieve it from your data store as necessary.

On Thu, Jan 6, 2011 at 4:31 PM, nnksoft <[email protected]> wrote:

> Be careful when using Session Object to store data. It will occupy a lot of
> internal memory if your website have many users. It is better to work with
> Cookie as you can.
>
>
>
> On Wed, Jan 5, 2011 at 6:32 PM, chaminda satanarachchi <
> [email protected]> wrote:
>
>> As you know, web is “stateless “, which means new instance of requested
>> page is created each time the page is posted to the server. HTTP is
>> stateless protocol , so it can’t hold the client browser information , and
>> move to next requested web page. If user insert some data and move to next
>> page that data will lost and user would not retrieve that information. So
>> what up? Session provides facility to store information on server memory.
>> ……….Good luck
>>
>>
>

Reply via email to