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

  • SEARCH
  • Home
  • 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 7505555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:57:25+00:00 2026-05-29T21:57:25+00:00

I have had a read over the routing page on the codeigniter site and

  • 0

I have had a read over the routing page on the codeigniter site and im still a bit unsure about how to go about this.

For example, in my application to view private messages, the url is http://www.example.com/messages/view/1 … 1 being the message id.

I would really like to change this just to be http://www.example.com/messages/view as i feel having the message id in the url will allow users to manipulate the url to view any private message one the site.

Any help would be much appreciated.

Cheers

  • 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-29T21:57:26+00:00Added an answer on May 29, 2026 at 9:57 pm

    If you don’t want the ID in the URL then the only way would be to POST it via a form.

    This is pretty pointless however as the ID will be visible one way or another.

    Instead you should focus on validation on the page that loads the message from the ID. Check on that page that the message ID exists and that the user has access to that message, if not then show an error.

    This is a better approach.

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

Sidebar

Related Questions

I have recently read the safe bool idiom article. I had seen this technique
I have read this jsp page encoding problem and this Save Chinese characters with
I have had to do this several times, usually when trying to find in
We have/had a phantom delay in our app. This was traced to the initialisation
I am a little over my head with this but I guess you have
I have developed an Android application and had it tested on emulator as well
I'm trying to load an image from an external site over which I have
I have already created a form authentication application. I had User table and created
I've had this intermittent issue when using asp.net. My site is dynamically compiled. Sometimes
Have had to write my first proper multithreaded coded recently, and realised just how

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.