Solved

Destroy parameter?

Posted on 2004-03-26
8
278 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
  • 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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
rebasing and merging used in SCM 1 72
sortaSum challenge java 17 171
JSONSerializer.toJSON in JSP generating error 8 76
spring JDBC Template example error 26 244
As a business owner, there are many things that keep you up at night. Profit margins, employee retention, human resource protocols, whether your product or service will remain competitive. When you own or manage a technology company that operates la…
February 24, 2017 — On February 23, Travis Ormandy, a vulnerability researcher at Google, reported on Twitter (https://twitter.com/taviso/status/834900838837411840) that massive stores of data have been leaked by CloudFlare, a company that provide…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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