× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ron,

I think it depends.  If you use URLs for session tracking, i.e. after
logging in your URLs look like:
http://yoursite/somepage?sessionid=MNBS7CXMNXB

then I believe what you describe is true (I can't say for 100% certain
since I've never personally used session IDs in URLs like this).  But far
more common is using cookies for session tracking.  Typically a browser
keeps a record of cookies across all windows - you can't have a cookie with
one value for one browser window, and another value for another browser
window.  That means you only have a single session ID, no matter how many
or in what order you opened up the windows, so all session objects will
always be shared by all windows.

e.g. I open up IE, and immediately hit Ctrl-N before logging into our
website.  So I have two blank browser windows.
In the 2nd one, I enter the URL of a page that can only be accessed once
you're successfully logged into the site.  It of course doesn't let me
access the page because I'm not logged in/have no session ID.
I then log into the 1st window.
Then hit refresh in the 2nd window, and because this window now has the
session ID cookie from the 1st window, I now get the page up fine.

HTH,

Nigel Gay,
Computer Patent Annuities Limited.

java400-l-bounces@xxxxxxxxxxxx wrote on 11/09/2006 08:16:02 AM:

If I have a session logged into a Java application, and I press CTRL-N to

create a new browser window, will that cause the two windows to be based
on the same session  and cause each one to affect the other (in other
words, they are sharing objects) whereas if I open two new windows, log
in
to the application twice, once from each window, I have two different
sessions and the browser windows don't affect each others data (they each

have their own objects)?   This is from the same machine/computer.
Thanks,

Ron Power
Programmer
Information Services
City Of St. John's, NL
P.O. Box 908
St. John's, NL
A1C 5M2
709-576-8132
rpower@xxxxxxxxxx
http://www.stjohns.ca/

___________________________________________________________________________
Success is going from failure to failure without a loss of enthusiasm. -
Sir Winston Churchill





This email communication and accompanying documents is intended only
for the individual or entity to which it is addressed and may
contain information that is confidential, privileged or exempt from
disclosure under applicable law. Any use of this information by
individuals or entities other than the intended recipient is
strictly prohibited. If you have received this in error, please
notify the sender and delete all the copies (electronic or
otherwise) immediately.
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




********************************************************************************
The information in this message is confidential and may be legally
privileged. It is intended solely for the addressee; access to this
email by anyone else is unauthorised.

If you are not the intended recipient: (1) you are kindly requested
to return a copy of this message to the sender indicating that you
have received it in error, and to destroy the received copy; and (2)
any disclosure or distribution of this message, as well as any action
taken or omitted to be taken in reliance on its content, is prohibited
and may be unlawful.
********************************************************************************


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.