I think this depends on whether you are using cookies to maintain session
state or url rewriting.  If you are using url rewriting, then you should be
able to force a new session when the user fires up a new browser.  Of
course, "playful" users can undermine any scheme you come up with if  they
try hard enough.  However, I haven't tried this, so perhaps a more
knowledgable reader will reply...

The problem with using cookies (in addition to those users who turn cookies
off) is that different browsers handle the situation you describe
differently, in terms of storing cookies for different browser instances.
In our experience, anyway.
----- Original Message -----
From: Aggarwal, Pawan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 09, 2000 5:37 AM
Subject: Re: Urgent:Displaying 10 records in one page


> I got a suggestion that I should place the Hashtable containing the
records
> from the query in the session
>
> Now there is a problem
> There is a form which contains combo boxes selection upon which query is
> based..
> The results are based on the fields selected by the user..
>
> Suppose a single user comes to this form..
> Opens a NEW WINDOW simultaneously...now here no new session is created..I
> have checked this..
> In one window he provides different parameters and in the other
different...
>
> Now in the session hashtable variable name is same and also session id
> So the values will be overwritten by the other...
>
> The user wants different result in different windows however he will get
> same...
>
> How do people like altavista and google do it??
>
> Please advice as this is a major issue..
>
>
>
>
>
>
>         -----Original Message-----
>         From:   Aggarwal, Pawan [SMTP:[EMAIL PROTECTED]]
>         Sent:   09 June 2000 12:06
>         To:     [EMAIL PROTECTED]
>         Subject:        Urgent:Displaying 10 records in one page
>
>         Hi,
>
>         I am using a servlet to display 10 out of nth records got from the
>         database..
>         The servlet is using a helper class to get Hashtable..
>
>         Now the same servlet will be called to display to another 10
> records...
>
>         How do I store the Hashtable so that the next time it reads the
> servlet
>         It displays next 10 records.
>
>         I think storing hashtable in Session will not be adviceable..
>
>         If someone has a piece of code will be of great help!!
>
>
>
>         Thanks
>
>
>
===========================================================================
>         To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
>         Some relevant FAQs on JSP/Servlets can be found at:
>
>          http://java.sun.com/products/jsp/faq.html
>          http://www.esperanto.org.nz/jsp/jspfaq.html
>          http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>          http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> Some relevant FAQs on JSP/Servlets can be found at:
>
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to