Solved

Destroy parameter?

Posted on 2004-03-26
8
283 Views
Last Modified: 2010-04-01
Hi,

I have a logon form that passes two parameters (name and pass). I wan't to know if it's possible

once I get the pass parameter with request.getParameter("pass") to destroy it after.

Any suggestion is welcome. Thanks
0
Comment
Question by:mazwato99
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
8 Comments
 
LVL 19

Accepted Solution

by:
Kuldeepchaturvedi earned 500 total points
ID: 10689028
what do you mean by destroy?? One that request is processed... it will be gone from the system anyway!!!
0
 

Author Comment

by:mazwato99
ID: 10689539
The is that, if I go back In the history with the navigator back button, it keeps the request in memory. I force the navigator not to keep cache with:

<%
    response.setHeader ("pragma", "no-cache");
    response.setHeader ("Cache-Control", "no-cache");
    response.setHeader ("Expires", "-1");
%>

in my JSP but the request seems to stay? Any suggestion?
0
 
LVL 14

Expert Comment

by:kennethxu
ID: 10689605
that's the IE's history, there is nothing your server side can do with it. is this causing you any problem?

if you don't want user to see then, you should use post instead of get.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mazwato99
ID: 10689705
I use the post methoid in my form.

IE show the IE expiration page which says you can refresh the page to resend the information and it

resends the name and the pass which I don't wan't.
0
 
LVL 19

Expert Comment

by:Kuldeepchaturvedi
ID: 10689752
well thats the common behaviour in most of the cases....... may be putting a timestamp somewhere will help in this case...

like when the first hit comes to the server you put a timestamp in the session.... which signifies the first login....

now when the request hits the server again, you check the session to see if the time stamp is there... if it is there then it means that the request is not hitting the server for the first time...

0
 

Author Comment

by:mazwato99
ID: 10689855
I solve my problem!!! I put a javascript in the page which showed "Page expiration.....Refresh page"

when I hited the IE back button. The javascript is simple as:

<script language = "Javascript">
history.forward(-1)
</script>

Thanks anaway
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why do some people recommend buying business VoIP from an ISP? What are the benefits to my company? What are the costs?
Part One of the two-part Q&A series with MalwareTech.
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

615 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question