On my WinXP machine, with both IE6 and Firefox 1.0, response.redire ct
and server.transfer take about a minute. But on my WinNT machine with
IE5.5, it works instantly. What's going on? 16 7970
wizard04 wrote: On my WinXP machine, with both IE6 and Firefox 1.0, response.redire ct and server.transfer take about a minute. But on my WinNT machine with IE5.5, it works instantly. What's going on?
I don't know if it would be a factor, but Firefox is at version 1.5.0.1
MikeR
MikeR wrote on 11 feb 2006 in microsoft.publi c.inetserver.as p.general: wizard04 wrote: On my WinXP machine, with both IE6 and Firefox 1.0, response.redire ct and server.transfer take about a minute. But on my WinNT machine with IE5.5, it works instantly. What's going on? I don't know if it would be a factor, but Firefox is at version 1.5.0.1 MikeR
server.transfer is a serverside action, this cannot introduce any
clientside browser depending problem.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
"wizard04" <wi**********@h otmail.com> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.com.. . On my WinXP machine, with both IE6 and Firefox 1.0, response.redire ct and server.transfer take about a minute. But on my WinNT machine with IE5.5, it works instantly. What's going on?
The trick Server.transfer performs, is 'passing' the session context and
casting it back. So, what are you storing in the session?
I'm just trying to redirect the page when I cancel a form. Here's the
code, basically:
<%
addMode = request.queryst ring("mode")
if addMode = "doadd" then
if request.form("s ubmit1") = "Cancel" then
response.clear( )
server.redirect ("admin_members .asp")
end if
...
end if
%>
<form action="admin_m embers_add.asp? mode=doadd" method="post"
id="form1" name="form1">
<input type="text" ...>
...
<input type="submit" value="Add Member" id="submit1"
name="submit1">
<input type="submit" value="Cancel" id="submit1" name="submit1">
</form>
wizard04 wrote on 13 feb 2006 in microsoft.publi c.inetserver.as p.general: server.redirect ("admin_members .asp")
server.redirect ???
I know only:
response.redire ct
[which sends a header to the browser
advising the browser to load another page,
possibly on another domain altogether]
and
server.transfer
[continueing the asp processing of the file
on another file on the server,
regardless of even the browser being in existence]
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
wizard04 wrote: I'm just trying to redirect the page when I cancel a form. Here's the code, basically:
<% addMode = request.queryst ring("mode") if addMode = "doadd" then if request.form("s ubmit1") = "Cancel" then response.clear( ) server.redirect ("admin_members .asp") end if ... end if %>
<form action="admin_m embers_add.asp? mode=doadd" method="post" id="form1" name="form1"> <input type="text" ...> ... <input type="submit" value="Add Member" id="submit1" name="submit1"> <input type="submit" value="Cancel" id="submit1" name="submit1"> </form>
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Sorry - I meant server.transfer (though I've tried response.redire ct
too)
Evertjan. wrote: wizard04 wrote on 13 feb 2006 in microsoft.publi c.inetserver.as p.general:
server.redirect ("admin_members .asp")
server.redirect ???
I know only:
response.redire ct
[which sends a header to the browser advising the browser to load another page, possibly on another domain altogether]
and
server.transfer
[continueing the asp processing of the file on another file on the server, regardless of even the browser being in existence]
-- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
wizard04 wrote: response.clear( )
I can only think of bad reasons to use this. If a decision may result in
redirection, then make that decision before putting anything in the buffer.
--
Dave Anderson
Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
That makes sense; I've fixed that. However, this does not solve my
problem. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bill |
last post by:
I've got an application that I want to redirect to another file while
keeping the location of the file hidden. In other words,
WEBROOT.COM/REDIT.ASP?a=14
is going to display the contents of file
WEBROOT.COM/SECURE12954
without the user knowing they are in the /SECURE12954 subdir.
|
by: \A_Michigan_User\ |
last post by:
Ok, I give up... why do 1-4 work fine... but 5-6 give "can't find" errors?
1. Client-side VBscript code: call navigate("\\209.11.22.33\MyDir")
2. Client-side VBscript code: location.href ="\\209.11.22.33\MyDir"
3. Typing "\\209.11.22.33\MyDir" into my ie6 browser.
4. Typing "\\209.11.22.33\MyDir" into my Windows Explorer.
5. Server-side ASP: server.transfer "\\209.11.22.33\MyDir"
6. Server-side ASP: response.redirect...
|
by: Justin |
last post by:
Hi,
Im confused here over the usage of Response.Redirect and
Server.Transfer. I used frameset for my work, what are the
proper usages of the two methods that seems working
similar..
The problem i faced while using Response.Redirect is that
the page that is directed to, does not looks as
desired..the textboxes are not visible anymore and so as
|
by: Harsh Thakur |
last post by:
Hi,
I'd like to know the performance related differences between
Response.Redirect and Server.Transfer.
I'd like to redirect the user to a different page.
I can either do a Response.Redirect("URL") or a Server.Transfer("URL").
So I'd like to find out which is more efficient/better.
Can anyone please tell me or give any pointers to links on the web?
Thanks & Regards
|
by: Big E |
last post by:
I'm currently using a submit button. When users click submit it goes to the
VB code and does a Response.Redirect. The Response.Redirect is very slow.
What are the other options for moving between web forms.
Thank you,
Big E
| |
by: GreggTB |
last post by:
I've got an page (LOGIN.ASPX) that receives the user's login
information. During the page load, it checks the credentials against a
database and, if validation is successful, creates an instance of an
object that stores the user's basic profile data (username, user type,
associated sales region, etc.).
I've been taking this user info and placing it in the Session object
like so...
Session = user;
|
by: Alan Silver |
last post by:
Hello,
Sorry if this is a stupid question, but I can't really see much
difference between these tow methods according to the scant info in the
SDK.
Could anyone enlighten me? TIA
--
Alan Silver
|
by: Microsoft |
last post by:
Error for Server.Transfer:
Error: Error Executing Child Request
MSDN: http://support.microsoft.com/default.aspx?scid=kb;en-us;320439
Says to use Response.Redirect but get this error here:
Error: The resource cannot be found.
I would like to use Server.Transfer as it is a better performer, and need
access to the text box controls from the original page after the page is
directed.
|
by: RN1 |
last post by:
When a server encounters the line
Response.Redirect("abcd.asp")
in a ASP script, the server tells the browser that it has to be
redirected to another page (which is abcd.asp, in this case). The
browser then makes a new request to the server to redirect itself to
abcd.asp after which the user gets redirected to abcd.asp.
But in case of Server.Execute (or Server.Transfer), when the server
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |