Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: How can I prevent login information from appearing in the URL?

by turnstep (Parson)
on Apr 15, 2000 at 21:01 UTC ( [id://7723]=note: print w/replies, xml ) Need Help??


in reply to How can I prevent login information from appearing in the URL?

Try using a POST and a cookie: once they log in through a POST request (which has no information in the URL), set a cookie with the login information. Then, on subsequent pages, you can still use simple HREF's to go to other scripts, and the login information will be sent via the browser, but not show in the URL. If you are not using cookies, just continue to use POST and throw the login information into a hidden form. A smart script would even figure out if you are using cookies and write the page with either normal HREF's or POST-HIDDEN-SUBMIT combos.
  • Comment on Re: How can I prevent login information from appearing in the URL?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://7723]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2024-04-25 21:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found