preventing url modifications

Hi All,

I am developing an web application, and I am having the following problem.

1. when result page shows details of particular customer like for customer 'a'.

2 Changes can be made to url in title bar, and get the details of customer 'b'

3. Can anybody plz suggest that how can i prevent this access to url.

Thanks in Advance

[371 byte] By [anu1a] at [2007-11-27 9:23:37]
# 1

You can't prevent access to the url

The solution is not to pass a customer id via request parameter.

What is the problem you have?

Person should not be able to access customer b? Then you need to

- validate the search criteria

- maybe store the customer id as a session variable where the user never sees it and can never modify it?

evnafetsa at 2007-7-12 22:18:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Hi, Thanks for your reply. Wil try this solution.
anu1a at 2007-7-12 22:18:56 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...