struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Ying <>
Subject Re: Bookmark and session
Date Mon, 06 Dec 2010 23:55:03 GMT
Do you mean, when user click some bookmark, you want to check if this
bookmark belongs to this user?

Basically, you can not control bookmark, because it is a browser operation.

The only way i can tell is, to add a user id param to all your page url.
So, when userA saved a bookmark, and when it clicked by userB, you can
check the user id param and detect which user belongs to.
If the user param in url is different to the user who is log in, you
can redirect to the main page.

This solution is a little ugly, and I don't know why you need it.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message