• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with copy pasting the URL

 
thiruselvan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me out with the following issue.

If I paste the url from my current browser window to new browser window I am able to view the related page in the new window. Instead i should redirect the user to the Login Page.

Thanks in advance.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there and welcome to Javaranch,

It helps a great deal if you TellTheDetails. What technology are you using? JSF? JSP? Struts?
 
thiruselvan
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We use java and xsl.
 
Martijn Verburg
author
Bartender
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like you need to introduce some Session Management and/or page expiry (e.g. When should a session expire), here is a link to an introduction on sessions in Java, hopefully that helps get you started!
 
Jason Pirkey
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could use ACEGI/Spring Security. It can perform URL based security.
 
Ulf Dittmer
Rancher
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a client side issue, so I don't think any server software will solve it. If I interpret it correctly, then the question is about why a new window transmits cookies that were set in a different window. Different browsers handle this in different ways, so there may not be much that the web app can do about it.

Why is the behavior you describe a problem? Why should a user need to log in twice just to run an application in two windows?
[ September 30, 2008: Message edited by: Ulf Dittmer ]
 
Jason Pirkey
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ulf,

You could be correct. I took the problem to be if they copied the URL. Manually opened a new browser before or after closing any browsers currently open and then pasted the URL.

I know IE will copy some stuff from the open browser to any browser the browser opens. I hope you understand what I mean here.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic