473,385 Members | 1,474 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Response.Redirect does not work

FYI

Problem: Response.redirect redirects to the same page and the page is
blank.

Solution: set the page's smartnavitation to false before redirecting.

There seems to be a connection between how response.redirect works and
smartnavigation.
Tmez
http://www.mezanmi.com
Nov 18 '05 #1
2 1959
You are correct about the SmartNavigation. If you look in the blank page,
you will see a single tag that makes reference to SmartNavigation. What is
suppose to happen is some JavaScript parses the content and performs a
client-side redirect. When I have seen this issue happen it is because the
aspnet_client folder is missing from the root of the website. Make sure
that folder exists and that the SmartNavigation script is nested somewhere
under the folder.

"Tmez" <me****@mezanmi.com> wrote in message
news:6e**************************@posting.google.c om...
FYI

Problem: Response.redirect redirects to the same page and the page is
blank.

Solution: set the page's smartnavitation to false before redirecting.

There seems to be a connection between how response.redirect works and
smartnavigation.
Tmez
http://www.mezanmi.com

Nov 18 '05 #2
Thanks, thanks, thanks I was creazy for two days traing to find out why this work fine in my local server and not in the hosting server.

Q. What is the right way to crate a new site for asp.net under IIS, is any script or wizard. I just copy that folder from the defult site but may be some permitions or registration I wonder if I have any other folder or setting missing.

Thanks once again
"Peter Rilling" wrote:
You are correct about the SmartNavigation. If you look in the blank page,
you will see a single tag that makes reference to SmartNavigation. What is
suppose to happen is some JavaScript parses the content and performs a
client-side redirect. When I have seen this issue happen it is because the
aspnet_client folder is missing from the root of the website. Make sure
that folder exists and that the SmartNavigation script is nested somewhere
under the folder.

"Tmez" <me****@mezanmi.com> wrote in message
news:6e**************************@posting.google.c om...
FYI

Problem: Response.redirect redirects to the same page and the page is
blank.

Solution: set the page's smartnavitation to false before redirecting.

There seems to be a connection between how response.redirect works and
smartnavigation.
Tmez
http://www.mezanmi.com


Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: D. Nii | last post by:
Hi there, I have a web application that recently got redesigned and now makes use of Response.Redirect . The "new" application is hosted on Win2000 and works for all kinds of clients using IE...
4
by: JC | last post by:
Hi, I have a simple question regarding the Response.Redirect method. Does the server stop processing the ASP code as soon as it encounters the Redirect command? Or does it ever continue to...
3
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...
5
by: john | last post by:
Hello, One our thrid page for some reason the response.redirect isn't working on the live server. It works fine on the development machine but when we move the code to the live server it doesn't...
3
by: Jed | last post by:
I have written an HttpHandler which I invoke through an ashx page. The HttpHandler does various things to process the request, then it is supposed to redirect to a confirmation page. Everything...
6
by: Keith Patrick | last post by:
I have to do some programmatic redirects (in several pages) based on URLs I am given from an external source. The URLs have querystrings at the end, but one in particular is about 240 chars long,...
15
by: KBuser | last post by:
I recently developed an internal website with various queries against our SQL server. I added buttons with Response.Redirect. These buttons do not work with Internet Explorer, however when using...
5
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...
4
by: nkoier | last post by:
Hi, I've been going crazy trying to figure out what's wrong with our Asp.Net 2.0 intranet site. At the very top of our main page I provide a TextBox and a Button for submitting Google searches....
9
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)....
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.