• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

session maintaing By server in the time of New tab

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually am doing in a webapplication.In that application after Login as usually we are maintaining UserName as a session variable and also we are maintaing some lists are also in session scope.
so now the Problem with same session maintaing By server in the time of New tab (or) New Window opened from already Opened Browser window.due to this my application totally distrubing and also we thought to show again login
page if user presses new tab and also new window from already existing browser with some session.
[ November 08, 2007: Message edited by: Bear Bibeault ]
 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You cant do it, its browser dependent.
The browser returns the session variable on a new tab, so the user remains logged in.

Its also something I think you dont even want to try do because very often, I do it all the time, the user will right click and open in a new tab.

Trying to make a login system like a billing system is not easy.
It depends on what you trying to do but if you want to monitor pages, then something like a cookie counter or hidden fields will probably serve you better than messing around too much with the login.

Short of that you would have to write your own authentication system.
 
The world's cheapest jedi mind trick: "Aw c'mon, why not read this tiny ad?"
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic