Java Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesJava Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old September 3rd, 2002, 10:31 AM
bapolis bapolis is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Posts: 257 bapolis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 27 m 56 sec
Reputation Power: 7
Sessions problem

Hello,

I'm new to JSP and I'm currently learning about sessions. I've had no problem setting one up, but I've noticed something strange. I've noticed that if I copy the URL of the session page and paste into a completely differnet browser window, the same page loads with the variables set from the origional session. In ASP and PHP, this wouldn't happen. Does anyone know how to keep the session variables reset each time the user closes the window?

Reply With Quote
  #2  
Old September 4th, 2002, 10:53 AM
wolfespawn wolfespawn is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Posts: 68 wolfespawn User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via AIM to wolfespawn
session stays open until timed out, closed in the program or you close ALL of your browser windows...

the session cookie goes across browsers... i didnt like it doing that to me either.

Reply With Quote
  #3  
Old September 15th, 2002, 04:58 PM
dhtmlkitchen dhtmlkitchen is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Location: Boston, MA
Posts: 30 dhtmlkitchen User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
The session cookie does not go across browsers

If I open IE and Mozilla , I can have a session in IE that will not exist in mozilla and vice versa.

With the page loaded in IE, I can then open the location in Mozilla and I will have a new session created for me.

Maybe you meant browser windows instead of browsers.
__________________
http://dhtmlkitchen.com/

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesJava Help > Sessions problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway