Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Store results by search term, not session ID

by ask (Pilgrim)
on May 10, 2002 at 03:11 UTC ( #165584=note: print w/ replies, xml ) Need Help??


in reply to Store results by search term, not session ID
in thread Database searches with persistent results via CGI

I am amazed that noone else suggested that. Sites using session ids to make searches faster sucks. Blah!

 - ask

-- 
ask bjoern hansen, http://ask.netcetera.dk/   !try; do();


Comment on Re: Store results by search term, not session ID
Re: Re: Store results by search term, not session ID
by perrin (Chancellor) on May 09, 2002 at 21:47 UTC
    Yeah, when these Java consultants did that in a search they built for the company I work for, I was amazed. I called them on their mistake and they first claimed it wasn't a problem and then claimed that it was our fault for not specifying in the contract that they had to support multiple browser windows! (The old "spec was bad" defense.)

    I think the problem in their case came from how much the Java servlet session interface looks like a cache. It's very tempting to just cache things in it rather than build your own proper cache. This is something to be wary of with Apache::Session too.

    (Incidentally, some of the other posters did mention the idea of using the search terms instead of the session. They just weren't as clear about why.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://165584]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2014-09-19 02:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls