1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2000
    Rep Power

    How do I prevent a username and password from displaying when I do this:


    The line above will cause the username and password to be exposed in my url after logging in. And of course, I don't want that.

    Oh, and I can not do it through a form post action, because I use an extra file, called
    cathlogin.php3, which does two things:
    1) set two cookies
    2) redirect to the opening page of my site through an external server (which generates a passport).

    So what I need is some kind of encoding-stuff for variables appended to a url.

    I hope someone can help me with this problem. There should be some encoding or security stuff which I can use also.

    Thanks in advance,
    Yomo Guiamo
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Rep Power

    You can do this..

    first option is that as you mention earlier,encrypt your informations....

    2nd option is that,
    create session varibles with username and password.

    3rd one is set username and password cookies.i think you have already set that.if so then try to track the users with that..

    SR -

    "The fear of the LORD is the beginning of knowledge..."
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Rep Power
    If you would like only hide the values of this two wvariable you can also make a framesite. So in the browser you see only the frameseites-name and not your content-sites-name (witch includes the two variables with there content)!

    Attention! The user can also call the site manually by typing the url into the browser so he can see the values content!!


Similar Threads

  1. (hopefully) simple SQL in java servlet question
    By djstyli in forum Java Help
    Replies: 3
    Last Post: February 5th, 2004, 07:58 PM
  2. Just a simple question!
    By Il Capitano in forum Perl Programming
    Replies: 1
    Last Post: January 23rd, 2004, 05:00 PM
  3. Replies: 3
    Last Post: January 7th, 2004, 04:23 PM
  4. Replies: 1
    Last Post: January 7th, 2004, 01:39 AM
  5. simple "mod_rewrite" question
    By ilikeitraw in forum Apache Development
    Replies: 6
    Last Post: January 3rd, 2004, 11:35 AM

IMN logo majestic logo threadwatch logo seochat tools logo