Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Session in a popup window

 
Chit Ming Chong
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I create a session in a main window inside which it will create a new popup window, will the popup window have the access to the same session variable.

The reason for such application is that I am building a survey application. The session will be created once a user has logged in. Then he will press a button to start the survey. As I wanted to disable the browser's back and forward button, I have to create a new popup window for the survey form.



I know this question should have been answered many times in the ranch.
So please point me to the appropiate posting as I wasn't able to find them
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All windows created as children from a specific browser window will share the session with that browser window.

If a browser doesn't follow that, it's flawed (some versions of Netscape seem to be so bugged, but that's about it).
 
Pradeep bhatt
Ranch Hand
Posts: 8927
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If a browser doesn't follow that, it's flawed (some versions of Netscape seem to be so bugged, but that's about it).


I have seen this problem with IE 5.5. on windows 98 OS.Has anyone come across this?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've heard of people having that issue but haven't run across it myself.
MSIE has some other, pretty serious, security flaws. If you can convince your users to upgrade you would be doing them a favor.
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ben, IE has no worse security flaws than any other browser. Besides which, this is a forum about JSP development and not about anti-Microsoft religious ranting.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It wasn't a rant or a comparison of any other browser.
Note: I didn't tell the user to switch brands, but to upgrade.
Microsoft recommends upgrading to MSIE 6x.

If someone told me they were using an older version of any browser and was having trouble with it, I would recommend that they upgrade.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Ben Souther:
MSIE has some other, pretty serious, security flaws. If you can convince your users to upgrade you would be doing them a favor.


Looking back at this post...
What I meant to say was:
MSIE 5.x has some other, pretty serious, security flaws.

Without the version, I can see how this was mistaken for an anti-MS rant.

Not my intention. (I keep my religious beliefs to myself )
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Soft is Micro and Bill Gates is its prophet

I agree that anyone who can should upgrade to IE 6 (latest fixlevel). But sometimes corporate policy (which is often misguided) prohibits that.
For example: I once encountered a customer who had a policy which was set in stone to never use any software newer than the second to last patchlevel of the second to last version of any specific package.
So they for example upgraded to NT4 SP4 (from NT 3.51) when Microsoft released SP1 for Win2K. Their policy didn't allow them to do so earlier...
That company would at the moment be using IE 5.0 (second last service level of the second last version of IE).
Misguided, dangerous, but according to the people who made the policy it's secure as it prevents bugs in products and service packs from entering their network (don't ask me how they came to that conclusion).
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Showing your true colors?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic