[thelist] ASP tip - server.transfer

Robert Gormley robert at pennyonthesidewalk.com
Thu Nov 3 02:14:00 CST 2005


It's not any different - but as Matt said, can also lead to usability issues if a user is moving through a site but through the magic of Server.Transfer is actu
ally making different page requests. That being said, where I've builr 'applications', I've also used it.

Not an inherently flawed method, by any means, just points that people should be aware of when using.

Rob

------- Original message -------
From: Ken Schaefer <Ken at adOpenStatic.com>
Sent: 3/11,  12:47

> -----Original Message-----
> From: thelist-bounces at lists.evolt.org
> [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Matt Warden
> Sent: Thursday, 3 November 2005 11:35 AM
> To: thelist at lists.evolt.org
> Subject: Re: [thelist] ASP tip - server.transfer
> 
> Ken Schaefer wrote:
> :> Huh?
> :> 
> :> Server.Transfer is completely transparent to a proxy server, or to anyone
> :> bookmarking the page...
> :
> :I think he is talking about how proxy caching and bookmarking is based
> :on URL, and the URL will not change with server.transfer
>  
> And how is this different to any other dynamic page, such as:
> 
> <%
> If Hour(Now()) < 12 then
> ?Response.Write("Good Morning")
> Else
> ?Response.Write("Good Afternoon")
> End if
> %>
> 
> where the content changes, but the URL doesn't?
> 
> All Server.Transfer (or Server.Execute) does is allow you to transfer page
> execution to another file. But you could just as easily put the code from
> that "other file" into the currently executing file (though that may have
> impacts from a maintainability perspective). And the end user (or proxy
> server) would have no idea whether you were doing a server.transfer or just
> executing one particular branch of a code path in a single file.
> 
> Cheers
> Ken
> -- 
> 
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
> 
> For unsubscribe and other options, including the Tip Harvester 
> and archives of thelist go to: http://lists.evolt.org 
> Workers of the Web, evolt ! 




More information about the thelist mailing list