Hello,
I am using the following code line in my VB code to redirect to another
page inside my web site:
Response.Redire ct("Message.asp x")
I am getting the error:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for
this address in a way that will never complete.
Any idea of what is going on?
In IE the page doesn't load.
Thanks,
Miguel 4 8772
You have an endless loop..the page keeps redirecting to itself...
Karl
"shapper" <md*****@gmail. comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
Hello,
I am using the following code line in my VB code to redirect to another
page inside my web site:
Response.Redire ct("Message.asp x")
I am getting the error:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for
this address in a way that will never complete.
Any idea of what is going on?
In IE the page doesn't load.
Thanks,
Miguel
But why?
The file Message.aspx exists and it is working fine. It's not calling
any page. Just displaying a message.
I am using it in a Control.Init event:
Private Sub MyControl_Init( ByVal sender As Object, ByVal e As
EventArgs) Handles MyControl.Init
If MyControl.IsLic ensed Then
Response.Redire ct("Message.asp x")
End If
End Sub
Everything is working fine.
The only problem is I get the error I described when
MyControl.IsLic ensed is false.
The page Message.aspx gives the error when is called.
Thanks,
Miguel
Karl Seguin [MVP] wrote:
You have an endless loop..the page keeps redirecting to itself...
Karl
"shapper" <md*****@gmail. comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
Hello,
I am using the following code line in my VB code to redirect to another
page inside my web site:
Response.Redire ct("Message.asp x")
I am getting the error:
The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for
this address in a way that will never complete.
Any idea of what is going on?
In IE the page doesn't load.
Thanks,
Miguel
Does that Message.aspx contain that "MyControl" ?
If MyControl.IsLic enced is false, can you call Message.aspx directly?
Hans Kesting
But why?
The file Message.aspx exists and it is working fine. It's not calling
any page. Just displaying a message.
I am using it in a Control.Init event:
Private Sub MyControl_Init( ByVal sender As Object, ByVal e As
EventArgs) Handles MyControl.Init
If MyControl.IsLic ensed Then
Response.Redire ct("Message.asp x")
End If
End Sub
Everything is working fine.
The only problem is I get the error I described when
MyControl.IsLic ensed is false.
The page Message.aspx gives the error when is called.
Thanks,
Miguel
Karl Seguin [MVP] wrote:
>You have an endless loop..the page keeps redirecting to itself...
Karl
"shapper" <md*****@gmail. comwrote in message news:11******* **************@ b28g2000cwb.goo glegroups.com.. .
>>Hello,
I am using the following code line in my VB code to redirect to another page inside my web site: Response.Redi rect("Message.a spx")
I am getting the error:
The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Any idea of what is going on?
In IE the page doesn't load.
Thanks, Miguel
Download fiddler (Free) from fiddlertool.com and you'll see it sending back
302 (redirects) over and over again. I'm like 99.99998% sure that's the
problem. it's easy to debug, ...step through the code and watch it go
insane...
Karl
-- http://www.openmymind.net/ http://www.codebetter.com/
"Hans Kesting" <ne***********@ spamgourmet.com wrote in message
news:mn******** *************** @spamgourmet.co m...
Does that Message.aspx contain that "MyControl" ?
If MyControl.IsLic enced is false, can you call Message.aspx directly?
Hans Kesting
>But why?
The file Message.aspx exists and it is working fine. It's not calling any page. Just displaying a message.
I am using it in a Control.Init event:
Private Sub MyControl_Init( ByVal sender As Object, ByVal e As EventArgs) Handles MyControl.Init
If MyControl.IsLic ensed Then Response.Redire ct("Message.asp x") End If
End Sub
Everything is working fine.
The only problem is I get the error I described when MyControl.IsLi censed is false.
The page Message.aspx gives the error when is called.
Thanks,
Miguel
Karl Seguin [MVP] wrote:
>>You have an endless loop..the page keeps redirecting to itself...
Karl
"shapper" <md*****@gmail. comwrote in message news:11****** *************** @b28g2000cwb.go oglegroups.com. .. Hello,
I am using the following code line in my VB code to redirect to another page inside my web site: Response.Red irect("Message. aspx")
I am getting the error:
The page isn't redirecting properly Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Any idea of what is going on?
In IE the page doesn't load.
Thanks, Miguel
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Bob Garbados |
last post by:
forgive my ignorance, as I'm new to php coming from a ms background...
If I create a page named redirect.php and it's only content is:
<?php
header("Location: http://www.google.com");
?>
Should it not redirect to www.google.com? I can't get the header()
function to redirect.
I'm trying to take an online reservation... the customer fills out
|
by: Donna Hawkins |
last post by:
I want to use javascript to redirect to a URL which has been passed
as a variable (in php).
I have searched but cannot find any solution.
I think this code is a basic redirect:
<script type="text/javascript">
window.location = "http://www.someserver.com/somePage.html";
</script>
|
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: Sam |
last post by:
I have some issues with HTTP Headers and I was hoping for
some pointers or references to good articles.
Here is the problem.
I have 6 .aspx pages, each page contains a common .ascx.
This ascx serves two purposes, 1. it contains a tab strip
with response.redirects to navigate to the other pages;
2. I authenticate the user by check to see if a cookie
exists, if it doesn't I redirect to a login screen.
|
by: Tim |
last post by:
Hello,
Is there a way to "cancel" a response.Redirect? For example, in the code
below, could I insert anything in the Catch statement that would cancel the
redirect and resume flow after the try-catch?
Try
Response.Redirect(strPage)
Catch ex1 As Threading.ThreadAbortException
ex1 = ex1
'Cancel Respone here
| |
by: bnob |
last post by:
In a Button clik event I have this code at the end of the event
Response.Redirect("Page.aspx")
But in this event I must show a message before redirect to the
Page.aspx. I use to show Message this
System.Web.HttpContext.Current.Response.Write("<SCRIPT
LANGUAGE=""JavaScript"">" & vbCrLf)
System.Web.HttpContext.Current.Response.Write("alert('A message')" &
|
by: Alan Silver |
last post by:
Hello,
I have a page that is supposed to do some checking, and if OK, set a
session variable before redirecting to another page. The following code
is a simplified version, I have hard-coded the basket ID and removed a
load of extra checking...
public partial class GoToCheckout : Page {
public void Page_Load(Object o, EventArgs e) {
try {
|
by: venner |
last post by:
I'm having an issue with an ASP.NET website after upgrading to ASP.NET
2.0. The website makes use of a central authentication service (CAS)
provided at the university I work for. Each page checks a session
variable, and if it is not present, does a Response.Redirect to a
webpage for the CAS passing a url parameter for the url to post back
to. The CAS provides a page for the user to log into, validates the
username and password, and then...
|
by: Darrel |
last post by:
I'm helping convert a 300+ page .html site into an ASP.net site.
The client wants to set up 301 redirects for all of the old html pages. I've
used ISAPI for this type of thing in the past, as it works great and is easy
to set up, but at this point, the client (which is my client, who's working
with the actual client) doesn't know what the new web host supports.
In the interim, I want to do a bit of research myself on this to see if it's...
|
by: gnawz |
last post by:
Hi guys,
I have a couple of php files that perform various tasks.
I will use fields in my system and provide code as well
I need help as follows:
My database contains the fields Category and Brand
I need to make some changes on a a number of brands in a Category
|
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: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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: 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: 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
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |