Monday, December 04, 2006

 

Quo vadis server transfer?

Nearly all professional quality Web Forms applications use Server.Transfer to switch pages rather than the easily hijacked cross-page posting approach. But when running under IIS in a virtual directory, where does Server.Transfer transfer?

With IIS 6.0, Server.Transfer stays within the same virtual directory if there is no directory component to the page path. A directory component may specify either a different virtual directory or a subdirectory. For an application contained within a single directory, only the original URL accessing the first page specifies the virtual directory.

Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]