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)

    pages expiring too quickley when sessions used

    As subject says.

    I get users to login and register session.
    Then they do some search and display results.
    They can go and view separate pages link to their search.

    Problem is when they want to come back to teh page that list searches-
    it has expired an dthey have to press "refresh" button and then "submit". Page loads up no problems, still has all search results displayed.

    How can I get rid of this "refresh" nonsence?

    Natalija

    i 've been fiddling around with all sorts of things and it looks I can't see the tree from the forest

  2. #2
    Your Lord and Master, Foamy gold trophy Hierophant's Avatar
    Join Date
    Aug 1999
    Location
    Lancaster, Ca. USA
    Posts
    12,305
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    How are you storing the sessionhash? In the URL? A cookie? Database?
    Wayne Luke
    ------------


  3. #3
    SitePoint Member
    Join Date
    Aug 2001
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am storing it in URL.

    My posting was a bit misleading. What happenes is taht I am using sessions and I don't want people to bookmark search results so I am using "post " method.

    Now i wander if there is any way to allow users to flick back to their original search, without having to change to get method.

    Natalija

  4. #4
    SitePoint Enthusiast
    Join Date
    Jan 2001
    Location
    Rawalpindi, Pakistan
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    same problem

    I am facing the same problem, Nata has ur problem solved, if yes then plz let me know, my problem is when user submits a form certain message comes up (whatever), but if he hits back then page expires, i dont want that, that only happens when I am using sessions (i.e, using session_start() in top of page)

    any comments please?????????//


    Aatif Malik


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
  •