Absolute URL: https://myaddress.com/dashboard
Relative URL: /dashboard, dashboard
Some browsers may reject the relative URL.
For mobile pages only, if your application relies on cookieless sessions, or might receive requests from mobile devices that require cookieless sessions, using a tilde (~) in a path can result in creating a new session and potentially losing session data. To set a property on a mobile control with a path such as "~/path", resolve the path using ResolveUrl "~/path" before assigning it to the property.
Generally speaking, Absolute URL is more stable. It is not affected by other factors.
When you change the name of a folder or project or other actions to change the file path, Relative URL will be affected.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.