Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing value of variable in another script

Status
Not open for further replies.

skottieb

Programmer
Jun 26, 2002
118
AU
Hi,
How is it possible to edit the value of a php variable in
script from another. The main problem is the variable is
a user's browser after he/she logs in, so far the only way
destroy it is to close the browser, refreshing dosent work.
this also means the script has run and the variable probably
exists in php?? the variable I am talking about is
$PHP_AUTH_USER.

As you can see this can become a security concern if a user
forgets to close a browser but has left the site. the site
would still be accessible thru: back/forward buttons,
History, Favourites and the location dialog. This is not
accectble behavoiur. simply calling
"header("HTTP/1.0 401 Unauthorized");" does not clear the
browser, stored so now I am trying unfruitfully to clear
in php.

All help will be greatly appreciated


skottieb:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top