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 6016403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:58:39+00:00 2026-05-23T02:58:39+00:00

Curious about user notification techniques. Referring to simple stuff. For example, a user submit’s

  • 0

Curious about user notification techniques. Referring to simple stuff. For example, a user submit’s a contact form. Once submitted, the user sees a message which says the form submission was successful.

Here is the question. How do you accomplish this (with PHP), without appending a string to the url? I ask this because I see more and more sites notifying users without using a GET query var in the url.

Are they just storing something in a global var somewhere and reading that/unsetting on read? What techniques are currently used to accomplish this?

To add further, when the form is posted and saved:

//The form has been processed, emailed, etc. Now redirect the user back to the page
//We redirect the user so that if they click refresh, the form doesn't re-submit.
//So without a query var in the url, who does the page no that a form was saved?
//Sessions are one solution, what if sessions are not being used?
header("Location:the_original_page.php");
  • 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-23T02:58:39+00:00Added an answer on May 23, 2026 at 2:58 am

    Simple: cookies (or sessions). Cookies are actually easier because their values are only populated in the subsequent request and they don’t eat up your server space and you don’t have to rely on sessions.

    This kind of postponed messages are usually described as flash messages.

    One particular implementation that I like is the Note library of Dingo Framework.

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

Sidebar

Related Questions

Hi Im curious about how DDD is really implemented using Fluent Nhibernate. for example
I am curious about how many of you folks incorporate mocking of objects (frameworks
I was curious about how other people use the this keyword. I tend to
I'm curious about people's approaches to using stored procedures in a database that is
I'm curious about OpenID. While I agree that the idea of unified credentials is
I am curious about how do you protect your software against cracking, hacking etc.
I am a little curious about the cute little kaleidoscopic images associated with each
I'm curious about keeping source code around reliably and securely for several years. From
I'm quite curious about this. In a broad way, how does one go about
I'm curious about what it takes to program for mobile devices (Windows Mobile 6.1)

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.