struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: [OT] How bad is to use DB ids on links??
Date Mon, 10 Mar 2003 22:28:12 GMT
It's not bad to use ids in links unless you allow the user to do something 
with that information.

David



>From: awc <awc@drytel.net>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: Struts Users Mailing List <struts-user@jakarta.apache.org>
>Subject: [OT] How bad is to use DB ids on links??
>Date: Mon, 10 Mar 2003 16:19:24 -0600
>
>Hi All,
>
>Subject says it all. How bad is to use links like
>http://.../myproject/news/view.do?id=1356
>
>where id is real id of the DB row. I have tried to get around this by
>caching result in list and show indexes.
>But that looks like it is going to be hard to maintain. If user opens
>two search windows, whole results set gets
>mixed maxed. Only way to prevent this (the way I see it) is to use
>unique id for each result list.
>
>any comments....
>
>Thank you in advance for replies.
>
>.anil
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org


_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE*  
http://join.msn.com/?page=features/virus


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message