Response redirect causes client-side redirect. Visitor browser receives response from server. This response force browser to load page requested by server.
Server.Transfer terminates execution of current handler a executes other page (specified as param). From the visitor point of view this looks like no redirect takes place. The limitation of this redirect is that you can only redirect to page of your Web Application. Response.Redirect allows you redirect to any valid Url.
What is the difference between Server.Transfer and Response.Redirect?
Подписаться на:
Комментарии к сообщению (Atom)
Обо мне
Теги
- .NET (1)
- Anti-Patterns (16)
- ASP.NET (3)
- Bug fixes (1)
- C# (5)
- Code Review (4)
- Fun (1)
- Naming (1)
- Refactoring (20)
- Team rules (2)
- Web (2)
- Лицензии (1)
Архив
-
►
2009
(22)
-
►
Май
(18)
- Зачем нужен enum из двух объектов, если есть булев...
- Привязка к производителю
- Грибное управление
- Моральный риск
- Прячьте приведение типов внутрь метода!
- Бог-громовержец
- Эскалация обязательств
- Коллективное проектирование
- Дойная корова
- Паралич от анализа
- Методологические aнти-паттерны
- Анти-паттерны программирования
- Объектно-ориентированные анти-паттерны
- Анти-паттерны проектирования программного обеспече...
- Анти-паттерны анализа
- Анти-паттерны управления
- Организационные анти-паттерны
- Введение в анти-паттерны
-
►
Май
(18)
-
▼
2008
(10)
-
▼
Июль
(9)
- Custom configuration section
- Dont' use RAR archives for files
- What is the difference between Server.Transfer and...
- Notify your team when yor are going to leave the o...
- Use "Is" prefix for methods with boolean return va...
- Use Path class instead of string manipulations
- Remove old unused code
- What should you do to become good prorammer?
- IE 7.0 cookie problem
-
▼
Июль
(9)


0 коммент.:
Отправить комментарий