How do I add a photo to my comment or blog entry?
Upgrading to ASP.Net
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > ASP web-programming > Upgrading to ASP.Net 25 August 2008 01:08:21

  Recent blog posts: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

Upgrading to ASP.Net

Dave1031 25 August 2008 01:08:21
 I know I am quite behind the times but I need to finally upgrade our website
from classic ASP 3.0 to ASP.Net.

I plan on creating apsx pages with the same names as the old asp pages.
Then remove all of the code from the old asp page with the exception of a
Response.redirect to the comparably named apsx page.

Is this pretty much standard practice when upgrading?

Any insights from someone who has done this?
Add comment
Adrienne Boswell 23 August 2008 16:33:37 permanent link ]
 Gazing into my crystal ball I observed =?Utf-8?B?RGF2ZTEwM­zE=?=
<Dave1031@discussio­ns.microsoft.com> writing in
news:66E437FB-0534-­4F57-9058-915CE9117A­B0@microsoft.com:

I know I am quite behind the times but I need to finally upgrade our
website from classic ASP 3.0 to ASP.Net.
I plan on creating apsx pages with the same names as the old asp
pages. Then remove all of the code from the old asp page with the
exception of a Response.redirect to the comparably named apsx page.
Is this pretty much standard practice when upgrading?
Any insights from someone who has done this?

If you have an include that all the pages use, that might be at the top
before anything is written out to the client, you could put the
information there. I would suggest, however, using a 301 response code,
that will tell search engines that this is a _permanent_ redirect.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcad­e-of-coding.info
Please respond to the group so others can share

Add comment
Dave 25 August 2008 01:08:21 permanent link ]
 Thanks guys.

I found the following example on http://www.somacon.­com/p145.php

<%@ Language=VBScript %>
<%
' Permanent redirection
Response.Status = "301 Moved Permanently"
Response.AddHeader "Location", "http://www.somacon­.com/"
Response.End
%>

...but it never seemed to effect the redirect so I ended up using this...

<%@ Language=VBScript %>
<%
Response.Redirect "default.aspx"
%>

<html>
<body>
<p>Page moved</p>
</body>
</html>

..which seems to work fine unless there is something I 'm not aware of?

The session variables are not an issue (although I did notice that the
session id is no longer an int but a varchar and it seemd to change with
every page request. What's up with that?).

Thanks
Dave.



Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > ASP web-programming > Upgrading to ASP.Net 25 August 2008 01:08:21

see also:
make a set of variables available to…
Search Results, Per Page, Total…
Copy image from a website to another?
пройди тесты:
see also:
Aaaaaaaaaaaaa!!!!!!!!!!!! Where my ...
:'( :'( :'( :'( :'(
I think, I mustn't change my blog.....

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .