SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Aug 2001
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    stop users setting queries into favourites

    How can I stop users bookmarking query results. I want them to start new session every time they get to teh site, not bypass the login.

    Natalija

  2. #2
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Use POST. Anytime you have anything in the query string, you won't be able to keep people from bookmarking that url. If this a major concern, use POST for everything.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.

  3. #3
    SitePoint Member
    Join Date
    Aug 2001
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for reply, but when I use post I have problems with page expiring when using sessions (infamous "Back button").

    It is odd as linking goes this way.
    user login and register session,
    then is prompted to do a search on some variable. This is where method-get is used.
    after that the new page displays links to the search results.

    And those results are what I want to stop them bokkmarking. If I set to post, then they can go in to reverse to search results without refreshing.



    Do you have any other ideas?

    Nata

  4. #4
    Dumb PHP codin' cat
    Join Date
    Aug 2000
    Location
    San Diego, CA
    Posts
    5,460
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Uh there are no other ideas. Once you send a page to the client with a query string on it, you cannot control whether or not they bookmark it.
    Please don't PM me with questions.
    Use the forums, that is what they are here for.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •