simple one. what does the tilda backslash mean in urls?

Hi there,
I ve been working with menu controls and I ve noticed when you make hyperlinks to pages on the site it uses the tilda backslash in links. e.g. ~/FolderName/FileName.aspx
Is it something to do with the project root?

I have the following structure.  
+ ShowUsers
|_ +  Online
    |_ default1.aspx
    |
   +  Denied
    |_ +  Example
        |_  default2.aspx

Normally, to make a link to default1.aspx from default2.aspx I would have used /ShowUsers/Online/default1.aspx
but thats assuming that the project is deployed to a virtual directory with the same name as the project.
It would be much better to use ~/Online/default1.aspx.
Is this right?
Cheers,
O
osionAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BinuthCommented:
yes you are right ,~ menas root directory

if  you deployed to a virtual directory with the same name as the project( that here is "ShowUsers") then root directory will be ShowUsers

i.e : "~" = "ShowUsers\"

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
osionAuthor Commented:
Thats great! thanks for the rapid reply!
If the virtual directory was ShowUsersNew it would still work then?
Thanks!
o
BinuthCommented:
yes... but you should use "~/folderName/pageName.aspx" like format
osionAuthor Commented:
brilliant. thanks so much. been playing about with it and couldnt get any meaningful search results in google :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.