Server side code executes on the server.
12/07/2011
What is a cookie ?
Cookie is a piece of information stored in the client computer/Browser which is limited to 4k in size.
Advatanges:-
There are 2 types of cookies
Advatanges:-
- very simple to implement
- Browser automatically arranges cookies stored for multiple sites
- It stores cookie data in simple text format,so its not secure.
- cookie size limited to 4 kb
- No. of cookies stored by browser are limited to 20.some allow 300,when a new cookie comes old one will be discarded,
There are 2 types of cookies
- Non-persistent(Temporary) cookies
- Persistent(Permanent) cookies
What is View State ?
View State is a technique used by asp.net webpage to persist changes to state of a webform between postbacks.
View state of page is by default stored in hidden form field named _viewstate.
ADVANTAGES:-
View state of page is by default stored in hidden form field named _viewstate.
ADVANTAGES:-
- Automatic retention of page and control state
- server resources not required.(View state can also be stored in server side.)
- The values in view state are compressed and hashed
- view state increases the page size since it is stored in the page itself.
- Although view state stores data in hashed format they can be tampered.
06/07/2011
What is the advantage of SET NOCOUNT ON ?
- Use Nocount at the begining of all your Stored procedures,Functions and Triggers
This intensifies when we have many operations(Insert,Update,Delete) in a stored procedure.That means each operation returns internal message within the stored procedure execution cycle.
Subscribe to:
Posts (Atom)
