Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7011251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T22:06:11+00:00 2026-05-27T22:06:11+00:00

I have a resource structure like flight > seat > reservation, so a reservation

  • 0

I have a resource structure like flight > seat > reservation, so a reservation belongs to a certain seat which belongs to a certain flight:

http://example.com/jdf_3prGPS4/1/jMBDy46PbNc
                   ----------- - -----------
                        |      |       |
                        |      |       |
                     flight  seat  reservation

Since the customer gets this (somewhat ugly) URL for later cancellation I consider to leave out the resource structure and shorten the link to the reservation:

http://example.com/reservation/jMBDy46PbNc                     

Do you see any reasons (relevant to the user) not to shorten this URL?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T22:06:13+00:00Added an answer on May 27, 2026 at 10:06 pm

    The end user doesn’t much care what the urls structure is. In fact given what they look like there they almost certainly don’t even want to look at them and instead just clicky-click. This only really leaves functional considerations.

    If the URLs lead to exactly the same resource and that resource behaves exactly the same with the different urls then almost by definition it doesn’t matter which one you use.

    I guess the only real factor might be whether there are any security implications. Would I be able to guess reservation IDs? Does that get me anywhere (ie would I still need to log in or something)? If there is a seat and flight as well they would have to be able to guess a valid combination of all three which is obviously a lot harder than just brute forcing the reservation ID.

    If this last is not a concern then I don’t see any reason to ever use the longer url…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with following tutorial: http://www.mkyong.com/jsf2/jsf-2-internationalization-example/ In faces-context file you have to
I have a recursive method that builds a tree-like structure of a resource and
Say I have a resource (e.g. a filehandle or network socket) which has to
Here is the class structure I'd like to have: public class AllocationNEW<TActivity, TResource> where
I have setup a model structure which allows different models to associate with a
I have directory structure like this src main resources text.txt scala hello world.scala test
I have a ListView which is populated from a string-array resource. I'm trying to
I have resource bundle with my country characters - how to change them into
I have resource dictionary files (MenuTemplate.xaml, ButtonTemplate.xaml, etc) that I want to use in
I have a resource handler that is Response.WriteFile(fileName) based on a parameter passed through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.