I think these are two separate issues (Expires and separate browser
windows).
As I understand it, a new browser window does not have the same session ID
as the originating browser window. a few weeks ago there was a flurry of
activity on this listserv talking about how to enable multiple windows in
the same session. You may want to look at the JSP-INTEREST archive.
Steve
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Jean-Michel Leon
Sent: Tuesday, August 17, 1999 12:53 PM
To: [EMAIL PROTECTED]
Subject: Re: Sessions in new windows ?
Manomohan K Kalathil wrote:
>
> Hello
>
> I am having a problem which seems to be threatening the density of
> hair on my head .
> I have an application in which the user logs in and all details of
> the user is stored in an object , say , "UserData". This is stored into
> the session . Whenever a page is called , ie jsp , servlet ; I check for
> the existance of this "UserData" object to see whether the user has logged
> in & also to use the data available in the object
> I have a link on my main page which pops up in a new window using
> Javascript ; a page that is a jsp , lets say SendFeedBack.jsp . The
> problem is that I don't want this to be cached on the browser,because
> each page has data unique to that instance.
> The simplest solution was to set the response header ie
> response.setHeader("Expires","-1");
> This brings up something crazy ; The "UserData" that I set in the
> session is not visible in this page . ANy ideas why this happens
could be a client issue: are you by any chance using IE4 ?
jm.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html