• Post Reply Bookmark Topic Watch Topic
  • New Topic

session maintaing By server in the time of New tab  RSS feed

 
udaykiran goldstone
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • 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 ]
 
Ryan Muster
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!