corsasport.co.uk
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML / ASP.NET Help Please


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author HTML / ASP.NET Help Please
Voyto
Member

Registered: 9th Feb 03
Location: Stafford
User status: Offline
9th Apr 07 at 16:39   View User's Profile U2U Member Reply With Quote

Within my root folder ive got other folders. Within them folders there are pages, all linked to the same master page.

Part of the master page includes login status and ability to login if logged out - by linking to the login page.

The login page is in the root folder.

My question is, can i link to this login page without giving the full address for the link? (ie. Is there a way of linking to ROOT/Login.aspx?)
AndyKent
Member

Registered: 3rd Sep 05
User status: Offline
9th Apr 07 at 18:37   View User's Profile U2U Member Reply With Quote

I think if you link to '/Login.aspx' it will go to the root for the file.

If you do Login.aspx it will go to Login in the same folder and ../Login.aspx will get the file from one below the current folder.

James
Member

Registered: 1st Jun 02
Location: Surrey
User status: Offline
9th Apr 07 at 18:43   View User's Profile U2U Member Reply With Quote

~/login.aspx
Voyto
Member

Registered: 9th Feb 03
Location: Stafford
User status: Offline
9th Apr 07 at 19:23   View User's Profile U2U Member Reply With Quote

quote:
Originally posted by aPk
I think if you link to '/Login.aspx' it will go to the root for the file.



This did it, thanks very much

 
New Topic

New Poll

  Related Threads Author Forum Replies Views Last Post
Designing a Website Andy_sxi Geek Day 4 945
8th Sep 06 at 23:45
by Jodi_the_g
 
making a website Dave A Geek Day 59 3743
2nd Oct 06 at 19:45
by CorsaChris12
 
ASP.NET vs. PHP - your thoughts Planty02 Geek Day 8 2003
26th Oct 06 at 15:47
by ed
 
ASP.Net developers.... M4tt_Envoy Geek Day 5 312
27th Oct 06 at 16:06
by aPk
 
Young wippersnappers - Website tutourials wanted. Daimo B Geek Day 28 2360
8th Dec 06 at 14:24
by Cybermonkey
 

Corsa Sport » Message Board » Off Day » Geek Day » HTML / ASP.NET Help Please 28 database queries in 0.0136881 seconds