Re: Server.Transfer

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



re:
Can I user Server.Transfer between two different web sites on the same server? And pass data via
the Context object?

Andrew,

No. The source and target pages must be in the same Web application if you use Server.Transfer.
If you want to send the user to a different application, use Response.Redirect.




Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
===================================
"Andrew Robinson" <nemoby@xxxxxxxxxxxxx> wrote in message
news:%23wErYfo1GHA.2516@xxxxxxxxxxxxxxxxxxxxxxx
Quick question....

Can I user Server.Transfer between two different web sites on the same server? And pass data via
the Context object?

--

Andrew Robinson





.



Relevant Pages

  • Server.Transfer
    ... Can I user Server.Transfer between two different web sites on the same ... And pass data via the Context object? ... Andrew Robinson ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Is there a BEA Tuxedo equivalence in Java?
    ... > ContextCallback is not passed from the client to server. ... > .setContextCallback to register) with the context object. ... a Request object is passed as an argument. ...
    (comp.object)
  • Re: Hied Query String
    ... You can hide querystrings only when using frames ... But there is another way to do exactly what you want that doesn`t use session, cache or cookies, and it is the Context object ... the context is server side and only alive for the current server transfer. ... personally i combine this technique with hidden fields to store my information, when an event takes place that should bring me to anaother page and i need the values i simply get them out of the hiddenfield store them in a context object perform a transfer and get them out of the context, as soon as the current request is out of scope the context object is emptied this in contradiction to the session wich will hold a copy of the values as long as the session is alive. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: How to read data from web.xml (JSP)?
    ... What to do if i dont want to hard-code the database driver and server ... the context object is not null and its value is: ...
    (comp.lang.java.programmer)