What is the difference between Server.Transfer and response.redirect ?
Server.Transfer is used when redirecting the webpage with in the same application whereas Response. Redirect is applicable towards the redirection of webpage between 2 applications.
Response.Redirect will instruct browser to call a particular webpage. This will increase one request and one response between the client and server.
Response.Redirect = Redirects the user to a different URL
Server.Transfer= Sends (transfers) all the information created in one ASP file to a second ASP file.
How many types of cookies are available in asp?
There are 2 types of cookies
Persistent and Non-persistent
There is two type of cookies in asp temperory(User Define) and permanent (Like Session )
Persistent cookies are stored on your computer hard disk. They stay on your hard disk and can be accessed by web servers until they are deleted or have expired. Persistent cookies are not affected by your browser setting that deletes temporary files when you close your browser.
Non-persistent cookies are saved only while your web browser is running. They can be used by a web server only until you close your browser. They are not saved on your disk. Microsoft Internet Explorer 5.5 can be configured to accept non-persistent cookies but reject persistent cookies.