Questions tagged [server.transfer]
106 questions
2
votes
3 answers
ASP.NET URL remapping &redirection - Best Practice needed
This is the scenario: I have a list of about 5000 URLs which have already been published to various customers. Now, all of these URLs' location has changed on my server side. The server is still the same though. This is a ASP.NET website with…

GilliVilla
- 4,998
- 11
- 55
- 96
2
votes
1 answer
Server.transfer postback issue
I have a button that does a server.transfer to another aspx page. On the second page is a form with submit button. When clicking the submit button the page_load 'if not ispostback code' executes and wipes the form clear.
'First…

Dan
- 61
- 1
- 10
2
votes
1 answer
Server.transfer causing HttpException
I am developing a C#/SQL ASP.NET web application in VS 2008. Currently I am using the Server.Transfer method to transfer control from one ASPX.CS file to another ASPX file. The first time through, this works. But after control is transferred to…

salvationishere
- 3,461
- 29
- 104
- 143
2
votes
1 answer
Open Cart Multi Store Url Issue after transferring to another domain
Demo Domain: http://saltwater.codiixx.com/
Main Domain: http://thesaltwaterjunkies.com/
I am a front end developer i customized an opencart theme on our demo server.
but after transferring it to main domain.
its second store still showing our demo…

Raj
- 137
- 2
- 3
- 13
2
votes
2 answers
Which page gets the postback with Server.Transfer?
I have a simple form that dynamically presents a data entry form, and the user does a postback and the results are saved to a database. I have created a new version of the form, and based on some information on a database, when the user requests…

AaronLS
- 37,329
- 20
- 143
- 202
2
votes
3 answers
Why would AcquireRequestState in my HTTPModule not fire _sometimes_?
I've got an HTTPModule that does some role-based page access security (I'm having to retrofit some security into some code that we've acquired).
I've noticed that in one instance that it doesn't fire on a Server.Transfer.
Here's a snippet of the…

user129345
- 453
- 2
- 8
- 19
2
votes
3 answers
Is there any workaround for the UpdatePanel + Server.Transfer problem?
I'm trying to use an UpdatePanel in my ASP.NET application. Unfortunately, it seems that I can't do this if I am using Server.Transfer() in my application.
Modifying that component of the application is not possible - the architecture makes…

Sander
- 25,685
- 3
- 53
- 85
2
votes
2 answers
Server.Transfer to internal virtual application
My question is how to manage several virtual applications, located at the same host
firstdomain.com is redirected to firstdomain.com/1
seconddomain.com is redirected to seconddomain.com/2
and so on...
each new domain must be located at different…
user224582
1
vote
1 answer
Server.Transfer and System.Threading.ThreadAbortException
See http://support.microsoft.com/kb/312629/EN-US/
I am using reponse.direct in my app as well and I am not getting the exception. The workaround that the knowledge base article suggests (Server.Execute) does not work for me. I am getting lots of…

cdonner
- 37,019
- 22
- 105
- 153
1
vote
3 answers
Whats the difference between the following page transfer methods
What is the difference between the following:
Server.transfer?
Response.Redirect?
Postbackurl?
When should I decide to use which?

Dmitry Makovetskiyd
- 6,942
- 32
- 100
- 160
1
vote
1 answer
How can I pass textbox value from usercontrol(ascx) to another page (aspx) using Server.Transfer()
I am writing one user control (webpart) in kentico. I want to pass textboxes' value from usercontrol to aspx page using Server.Transfer().
Can it be? If so, how can I do like that?
Best Regards,
Reds

RedsDevils
- 1,413
- 9
- 26
- 47
1
vote
1 answer
Server.Transfer from Global.asax Application_Error
I have inherited some code that is not working as I think it should:
There is a form with a file upload control on it, the file limit is set to the default of asp.net 4MB.
There is no real reliable way to test for file size on the client side…

jimplode
- 3,474
- 3
- 24
- 42
1
vote
2 answers
asp.net on session timeout redirect to home page
i have web app and on session timeout and user interaction on the page, this needs to redirect to home/landing page
solutions found on the net
1) Session check in page_load of all the aspx pages of the application.
2) code in session start of…

Yogesh
- 1,206
- 4
- 22
- 50
1
vote
1 answer
Using Server.Transfer inside of a UserControl gives me a file not found exception
I've tried just about every relative path that I can think of, and none of them work.
Server.Transfer("/contact-us.aspx");
Server.Transfer("./contact-us.aspx");
Server.Transfer("~/contact-us.aspx");
Server.Transfer("contact-us.aspx");
I'm pretty…
user4903
1
vote
1 answer
Server.Transfer from WebForms ashx handler to MVC 3
I'm trying to do a Server.Transfer from an ASP.NET ashx handler to a ASP.NET MVC 3 page.
I don't want to use Server.Redirect because I do not want the URL to change.
Is this possible?

Evan
- 5,925
- 6
- 33
- 35