i got a code in my search page: whcih is displaying the names found in the search: <table align="center" border="1" width="400"> <td bgcolor="#FFFFCC"><a href ="my_page.jsp?user_login=<%=user_login%>" > <%=fname+" "+lname %></a></td> <td bgcolor="#FFFFCC"><%=Desg%></td> </table> but iam not using any forms . how do i make sure that the user_login is not displayed in the next page.
If you put the data in the query string, it is a GET method. With this method, you CANNOT hide the query string at the next page. If you really wanna hide it, I guess the best way is to use a FORM and submit it using POST method, not GET method. Nick.
tkx for the reply ..bt how can i use a form in this..iam not making the user submit anything..here..the user just clicks in the name found on search and goes to the page that shows that particular users records..
For the hyperlink part:
I forget how to invoke the JS in the onClick attribute, you need to check it. Then, when the user clicks the link, the validate will be called, and it will further call the form1 to submit, and thus, you can do the POST method. Nick.