Newbie question - update ASP on server

This is a discussion on "Newbie question - update ASP on server" within the Classic ASP section. This forum, and the thread "Newbie question - update ASP on server are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > Classic ASP

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Dec 4th, 2005, 02:29
New Member
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Newbie question - update ASP on server

Hello all,

I'm new to ASP, so this question might sound silly to most of you.
I have an ASP site which I need to update, I'm using MS FrontPage.
I don't want to change it directly, so I created a new directory (called "updated") where I copied all files. I have for example a file "left_nav.asp", containing links to other pages. I changed this file, in "updated" directory, and I see OK my changed file if I write in browser the name www.mysite.com/updated/, but when I click on a link, it goes to the original file, not to the file from "updated" directory.
What should I do ?
Or maybe other suggestion to work with the site directly on server, but without affecting yet the website seen by visitors, because the owner must review it before I update it for good.

thank you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Dec 4th, 2005, 03:35
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie question - update ASP on server

Sounds like your links will work fine when the site is back in the root folder (ie www.mysite.com). You've most likely set up the links to point directly to the file (ie http://www.mysite.com/index.asp or http://www.mysite.com/folder/index.asp instead of index.asp or /folder/index.asp).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Dec 4th, 2005, 03:49
New Member
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie question - update ASP on server

the links are like this: <a href="../cat_select.asp?showtype=byitemgroup&itemgroup=Book s&job10=new">Books</a>

Could it be because of global.asa ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Dec 4th, 2005, 03:50
New Member
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie question - update ASP on server

just now I realized that the link <a href="../cat_select.asp?showtype=byitemgroup&itemgroup=Book s&job10=new">Books</a>
should be
<a href="cat_select.asp?showtype=byitemgroup&itemgrou p=Books&job10=new">Books</a>

and this is how it is in the original file.
When copying the files the links are automatically updated ? (because I didn't change this file)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Dec 4th, 2005, 04:50
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie question - update ASP on server

Links won't be automatically updated, so you'll need to do that yourself. You were correct in the link fix.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Dec 4th, 2005, 04:54
New Member
Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie question - update ASP on server

What I ment is: I had the orginial file, with the link like this "href=cat_select.asp?...."
I selected this file, then click COPY, and then PASTE into my work directory.
When viewing this pasted file, in order to change it, the link was already changed, and it looks this way: "../cat_select.asp?...", that was why I was asking if somehow MS FrontPage is updating the link (although I didn't want that)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Dec 4th, 2005, 05:13
Tim356's Avatar
Reputable Member
Join Date: Nov 2003
Location: Australia
Age: 26
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Newbie question - update ASP on server

Sorry, I misunderstood. Yes, I think frontpage will update the links automatically for you. An easy way to avoid this is just to use a normal ftp client to transfer the files without updating anything, or...

Doing all the development on your local machine and uploading the files once you have tested everything.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
newbie, question, update, asp, server

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
My first server question shammy2007 Hosting & Domains 6 Mar 5th, 2008 22:18
Newbie Question kelbrit Webforumz Suggestions and Feedback 4 May 9th, 2007 13:10
XSL Newbie Question mr4thjuly Other Programming Languages 0 Oct 19th, 2006 17:37
PHP question (newbie) btfans PHP Forum 7 Dec 6th, 2005 02:53
Update form question David Blake Databases 0 Nov 26th, 2005 15:59


All times are GMT. The time now is 16:07.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42