Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > Classic ASP

Reply
 
LinkBack Thread Tools
Old December 3rd, 2005, 10:29 PM   #1
New Member
 

Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alexandra is on a distinguished road
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
alexandra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 3rd, 2005, 11:35 PM   #2
Reputable Member
 
Tim356's Avatar
 

Join Date: Nov 2003
Location: Australia
Age: 27
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Tim356 will become famous soon enough
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).
Tim356 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 3rd, 2005, 11:49 PM   #3
New Member
 

Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alexandra is on a distinguished road
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 ?
alexandra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 3rd, 2005, 11:50 PM   #4
New Member
 

Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alexandra is on a distinguished road
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)
alexandra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 4th, 2005, 12:50 AM   #5
Reputable Member
 
Tim356's Avatar
 

Join Date: Nov 2003
Location: Australia
Age: 27
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Tim356 will become famous soon enough
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.
Tim356 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 4th, 2005, 12:54 AM   #6
New Member
 

Join Date: Dec 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 alexandra is on a distinguished road
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)
alexandra is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 4th, 2005, 01:13 AM   #7
Reputable Member
 
Tim356's Avatar
 

Join Date: Nov 2003
Location: Australia
Age: 27
Posts: 329
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Tim356 will become famous soon enough
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.
Tim356 is offline  
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

Bookmarks

Tags
newbie , question , update , asp , server


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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 Web Hosting and Domains 6 March 5th, 2008 06:18 PM
Newbie Question kelbrit WebForumz Suggestions 4 May 9th, 2007 09:10 AM
XSL Newbie Question mr4thjuly Other Languages 0 October 19th, 2006 01:37 PM
PHP question (newbie) btfans PHP 7 December 5th, 2005 10:53 PM
Update form question David Blake Databases 0 November 26th, 2005 11:59 AM


Search Engine Optimization by vBSEO 3.2.0 RC8