Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Destroy parameter?

Posted on 2004-03-26
8
Medium Priority
?
285 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 2000 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
Independent Software Vendors: 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

A while back, I ran into a situation where I was trying to use the calculated columns feature in SharePoint 2013 to do some simple math using values in two lists. Between certain data types not being accessible, and also with trying to make a one to…
A new hacking trick has emerged leveraging your own helpdesk or support ticketing tools as an easy way to distribute malware.
This course is ideal for IT System Administrators working with VMware vSphere and its associated products in their company infrastructure. This course teaches you how to install and maintain this virtualization technology to store data, prevent vuln…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

664 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