473,320 Members | 2,202 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,320 software developers and data experts.

Response.Redirect problem in HttpModule

Hi,

I have developed a custom HttpModule in my application. When ever user
requests some specific pages i am transering redirecting them to some
other pages. It is not possible to add redirection to those specific
pages because of some problem.

I am using Httpcontext.Response.Redirect and also tried with
Server.Transfer. Problem is user is redirected to the correct page but
there is no content in that page. Only white screen appears. Actually
there is lot of content in that page.

Can any body help me in this regard.

Thanks in advance,
Varma

Jan 11 '07 #1
2 4875
Some code might be useful.

Without it, the only thing I can think of is that you are in an endless
redirect loop.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
<ra*************@gmail.comwrote in message
news:11**********************@i56g2000hsf.googlegr oups.com...
Hi,

I have developed a custom HttpModule in my application. When ever user
requests some specific pages i am transering redirecting them to some
other pages. It is not possible to add redirection to those specific
pages because of some problem.

I am using Httpcontext.Response.Redirect and also tried with
Server.Transfer. Problem is user is redirected to the correct page but
there is no content in that page. Only white screen appears. Actually
there is lot of content in that page.

Can any body help me in this regard.

Thanks in advance,
Varma
Jan 11 '07 #2
Thanks Karl...endless loop might be the issue. i will look into it.
Thanks for ur help.
Karl Seguin [MVP] wrote:
Some code might be useful.

Without it, the only thing I can think of is that you are in an endless
redirect loop.

Karl

--
http://www.openmymind.net/
http://www.fuelindustries.com/
<ra*************@gmail.comwrote in message
news:11**********************@i56g2000hsf.googlegr oups.com...
Hi,

I have developed a custom HttpModule in my application. When ever user
requests some specific pages i am transering redirecting them to some
other pages. It is not possible to add redirection to those specific
pages because of some problem.

I am using Httpcontext.Response.Redirect and also tried with
Server.Transfer. Problem is user is redirected to the correct page but
there is no content in that page. Only white screen appears. Actually
there is lot of content in that page.

Can any body help me in this regard.

Thanks in advance,
Varma
Jan 17 '07 #3

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

Similar topics

6
by: _jpg_ | last post by:
Hi, I need to read (& store) all the custom response headers in an HttpResponse. I am writing an HttpModule and hence do not know what headers could have been added (but need to cache them for...
0
by: Patrick | last post by:
hi several general webpages (more or less static, e.g. errorpage, timeoutpage etc.) i need in all kind of asp.net-applications. instead of copy this pages (the *.aspx or *.html) into every...
6
by: Kentamanos | last post by:
Please don't ask me why I'm doing this (trust me, it makes sense in my system), but I'd like to basically redirect requests for a certain extension (thus a handler) to an ASPX page behind the scenes....
7
by: Shapiro | last post by:
I have a scenario where I log a resquest to a database table and update the request with a corresponding response including the response time. I am using an HttpModule to do this. My challenge...
1
by: BK | last post by:
This is probably a fairly simple question, but I can't seem to get it to work. I have a situation where I have written an HttpModule to do some post processing. Everything works beautifully except...
1
by: Brian Norman | last post by:
Hello Can anyone suggest a way to read the response (I want to write it to a file) in an HttpModule but without using a response filter? I can't see any other way to get at the response...
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...
5
by: David | last post by:
Hi all, Using C#.NET 1.1 I am progressing on my URL ReWriting quite well, but have a slight problem. My server will not have real paths, just virtual, which is generated from a database....
3
by: =?Utf-8?B?UGF0UA==?= | last post by:
We have a site that gets many requests for nonexistent pages, files and folders. We want those requests redirected to the index page. However, for static files (i.e. images and some other...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
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...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.