Click here to Skip to main content
15,893,588 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Flash in HTML Pin
Sarvesvara (BVKS) Dasa18-Nov-02 23:37
Sarvesvara (BVKS) Dasa18-Nov-02 23:37 
GeneralRe: Flash in HTML Pin
benjymous21-Nov-02 3:51
benjymous21-Nov-02 3:51 
GeneralRe: Flash in HTML Pin
Sarvesvara (BVKS) Dasa22-Nov-02 0:43
Sarvesvara (BVKS) Dasa22-Nov-02 0:43 
GeneralRe: Flash in HTML Pin
BlondeGuyInNC20-Nov-02 8:27
BlondeGuyInNC20-Nov-02 8:27 
GeneralRe: Flash in HTML Pin
Sarvesvara (BVKS) Dasa22-Nov-02 0:41
Sarvesvara (BVKS) Dasa22-Nov-02 0:41 
GeneralHelp! Cannot copy Web Service to server! Pin
lnong18-Nov-02 17:25
lnong18-Nov-02 17:25 
GeneralRedirect question Pin
Tom Archer18-Nov-02 15:13
Tom Archer18-Nov-02 15:13 
GeneralRe: Redirect question Pin
AliDogDog19-Nov-02 3:26
AliDogDog19-Nov-02 3:26 
Tom,

Response.Redirect puts a code in the HTTP header that is sent back to the requesting browser that tells the browser to request the next page. That means you've made a roundtrip (to the server, which is expensive) and the URL will show up in the browser's address bar.

You might be able to use the Server.Transfer method if your site is running on IIS 5. Server.Transfer actually serves up the new file behind the scenes, it's all done server-side. The original URL will remain in the browser's address bar.

Server.Transfer, however, is not a silver bullet. For one thing, you can't append a querystring. You can't Server.Transfer outside of your site.

<From MSDN>
When you call Server.Transfer, the state information for all the built-in objects will be included in the transfer. This means that any variables or objects that have been assigned a value in session or application scope will be maintained. In addition, all of the current contents for the request collections will be available to the .asp file receiving the transfer.

If the path you specify in the input parameter is for an .asp file in another application, the .asp file will execute as if it were in the application that contains the Server.Transfer command. In other words, all variables and objects that have been given application scope either by other .asp files in the application or by the application's Global.asa file will be available to the called .asp file. However, the path parameter must not contain an query string or ASP returns an error.

Server.Transfer acts as an efficient replacement for Response.Redirect. Response.Redirect tells the browser to request a different page. Since a redirect forces a new page request, the browser has to make two round trips to the Web server, and the Web server has to handle an extra request. IIS 5.0 introduced a new function, Server.Transfer, which transfers execution to a different ASP page on the server. This avoids the extra round trip, resulting in better overall system performance, as well as a better user experience.
</From MSDN>

Finally, if you can't use Server.Transfer (not using IIS 5), check out this article:

Simulate Server.Execute and Server.Transfer in ASP 2.0

http://www.4guysfromrolla.com/ASPscripts/PrintPage.asp?REF=/webtech/042602-1.shtml

Good Luck.
GeneralRe: Redirect question Pin
Michela20-Nov-02 3:21
Michela20-Nov-02 3:21 
GeneralRe: Redirect question Pin
Tom Archer20-Nov-02 4:01
Tom Archer20-Nov-02 4:01 
GeneralIIS versus Personal Web Server Pin
Anonymous18-Nov-02 5:27
Anonymous18-Nov-02 5:27 
GeneralRe: IIS versus Personal Web Server Pin
Megan Forbes18-Nov-02 5:39
Megan Forbes18-Nov-02 5:39 
GeneralRe: IIS versus Personal Web Server Pin
joan_fl18-Nov-02 12:01
joan_fl18-Nov-02 12:01 
GeneralRe: IIS versus Personal Web Server Pin
benjymous21-Nov-02 3:53
benjymous21-Nov-02 3:53 
GeneralInclude file/virtual problem... Pin
Sarvesvara (BVKS) Dasa17-Nov-02 19:58
Sarvesvara (BVKS) Dasa17-Nov-02 19:58 
GeneralRe: Include file/virtual problem... Pin
Paul Watson17-Nov-02 21:58
sitebuilderPaul Watson17-Nov-02 21:58 
GeneralRe: Include file/virtual problem... Pin
Sarvesvara (BVKS) Dasa18-Nov-02 19:38
Sarvesvara (BVKS) Dasa18-Nov-02 19:38 
GeneralFrames in web-page Pin
Sarvesvara (BVKS) Dasa16-Nov-02 1:56
Sarvesvara (BVKS) Dasa16-Nov-02 1:56 
GeneralRe: Frames in web-page Pin
Anonymous16-Nov-02 2:24
Anonymous16-Nov-02 2:24 
GeneralRe: Frames in web-page Pin
Sarvesvara (BVKS) Dasa16-Nov-02 2:37
Sarvesvara (BVKS) Dasa16-Nov-02 2:37 
GeneralRe: Frames in web-page Pin
Anonymous16-Nov-02 2:53
Anonymous16-Nov-02 2:53 
GeneralRe: Frames in web-page Pin
Sarvesvara (BVKS) Dasa17-Nov-02 1:53
Sarvesvara (BVKS) Dasa17-Nov-02 1:53 
GeneralRe: Frames in web-page Pin
ian mariano16-Nov-02 9:56
ian mariano16-Nov-02 9:56 
GeneralRe: Frames in web-page Pin
Sarvesvara (BVKS) Dasa17-Nov-02 1:58
Sarvesvara (BVKS) Dasa17-Nov-02 1:58 
GeneralRe: Frames in web-page Pin
Paul Watson17-Nov-02 6:31
sitebuilderPaul Watson17-Nov-02 6:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.