[prev in list] [next in list] [prev in thread] [next in thread] 

List:       apache-modperl
Subject:    Re: how do I clear stale POST data?
From:       Jonathan Vanasco <jvanasco () 2xlp ! com>
Date:       2007-07-11 16:40:08
Message-ID: D882C68E-4705-4DF3-992B-891059C741C5 () 2xlp ! com
[Download RAW message or body]


On Jul 11, 2007, at 8:43 AM, Scott Kaplan wrote:

> Situation:
> => User puts in username & password into a form (uses POST to send
> data) to log in.
> => When the user is done, he/she logs out.
> => When clicking back (a couple of time) the user eventually reaches
> the page prompting for username & password
>
> Problem: When the user hits refresh or forward, their magically  
> logged in again.



What everyone else brought up is correct...

I just wanted to add -- are you sure that you're not running into a  
scoping issue, and reusing a login variable on the server side ?  a  
little mistake like that can be fixed by moving a 'my' from a package  
into a sub.

thats a common mistake that could result in that effect.  the other  
answers are much more specific to your problem.



// Jonathan Vanasco

| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|   CEO/Founder SyndiClick Networks
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|     Founder/CTO/CVO
|      FindMeOn.com - The cure for Multiple Web Personality Disorder
|      Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -
|      RoadSound.com - Tools For Bands, Stuff For Fans
|      Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  
- - - - - - - - - - - - - - - - - - -


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic