Questions tagged [server.transfer]

106 questions
0
votes
2 answers
0
votes
2 answers

HttpServerUtility.Transfer vs Server.Transfer?

What's the difference between HttpServerUtility.Transfer and Server.Transer?
johntrepreneur
  • 4,514
  • 6
  • 39
  • 52
0
votes
2 answers

Wordpress site is not displaying correctly in internet explorer after server transfer

I have an odd issue. A site that I'm building stopped displaying correctly in IE 8/9 after transferring it to another server. I can't figure out what is wrong with the site. I am starting to suspect that it is server related. Has anyone a clue…
0
votes
1 answer

Server.Transfer not tranfer some urls

i use server.transfer at the begining it works perfectly. but then i add another language to my site and i try to do it but it fails with the new language my code is below if (Request.RawUrl.Contains("/tr/")) { Server.Transfer("tr/" +…
ercan
  • 825
  • 3
  • 16
  • 27
0
votes
1 answer

why server.transfer process slow in vb.net?

I need your help, I have a problem with server.transfer code in vb.net, it runs so slow.. My Question: Why does it run slowly (take 5 minutes to move between web pages (.aspx))? What should i check for this trouble? Is it because operating system?…
Squash
  • 3
  • 3
0
votes
1 answer

Server.Transfer losing post data

I am having trouble with a web application that is losing post data during Server.Transfer, but only in our production environment. The form is posted by the user and in turn Server.Transfer occurs, after which the postdata is used to generate the…
Matthew Sharpe
  • 3,667
  • 2
  • 25
  • 24
0
votes
1 answer

asp .Net Server transfer, postback and Session issue

We've been developing a shop web app for the last 4 years. Now, we're adding a new feature, so the app would behave in two different ways depending on configuration: The first way is just a normal web app The second way works in the following…
Sergio Rosas
  • 545
  • 12
  • 27
0
votes
1 answer

Server.Transfer to a page

I am using Sitecore and I have to show the first page in a collection of pages. Here is my code so far: private Item currItem = Sitecore.Context.Item; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { …
RG-3
  • 6,088
  • 19
  • 69
  • 125
0
votes
1 answer

Server.Transfer + Refresh Causing multiple inserts in to Database

I'm facing a problem which is as follows. In my button_Click event, Server.Transfer("~/LeaseOffer/AdSpaceDetails.aspx?Id=" + adRepo.SubmitPost(ad).ToString()); When I'm in the AdSpaceDetails.aspx Page, if I hit refresh, then the records are getting…
hungrycoder
  • 507
  • 2
  • 9
  • 24
0
votes
1 answer

Does many "SERVER.TRANSFER"'s (in "case") in ASP classic hurt the performance of the server?

I want to build this page with ASP classic: <% Dim depart depart = 5 Select Case depart Case 1 Server.Trasnfer "/check/noam/newDesign/test1.asp" Case 2 Server.Trasnfer "/check/noam/newDesign/test2.asp" Case 3 …
Noamway
  • 155
  • 5
  • 21
0
votes
1 answer

Transferring to a new server/DNS...LOST

I must be missing something obvious here. I have a client that currently does his hosting through Yahoo. I use WHM and have a reseller account through Hostgator. I set up a new account, and I put in the URL during the account creation process. The…
fullOfQuestions
  • 453
  • 1
  • 11
  • 25
0
votes
1 answer

Moving one add on website to a new cPanel host

For several years now I have freely hosted several local organizations web pages at no cost. One of those organizations wishes to move to their own server that they manage with their own server provider (alas, not A Small Orange--a little too…
0
votes
1 answer

Server.Transfer() and http 301

Will a 301 be sent through a server.transfer? PageA.aspx: protected void Page_Load(object sender, EventArgs e) { Response.Status = "301 Moved Permanently"; Server.Transfer("/pageB.aspx"); }
user147215
0
votes
2 answers

Server.Transfer doesn't update all paths

Using Server.Transfer to show a page that informs the user that the web site is at maintenance mode. At global.asax: void Application_BeginRequest(object sender, EventArgs e) { if (Request.IsLocal) return; if…
toy4fun
  • 839
  • 2
  • 14
  • 33
0
votes
2 answers

How to catch exceptions after Server.Transfer (whitout using customErrors)?

I will simplify the example, so let's say we have Page A, Page B and Page C Page A goes with base.OnInit() on page B, Page B throws an exception and will be redirected with Server.Transfer to Page C. Page C has a try / catch, where the exception…
user1323408
  • 23
  • 1
  • 6