Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

HOW do not show in location ? ..:::

Hello.
When I go by a link to some address
in location bar I see all the parameters
that a script has
(e.g. "http://www.phpbuilder.com/forum/list.php3?num=1")
Is there any possible way do not show it?
Because I need to send password and session id and do not want to show them in the location bar
Thanks

Comments

  • iDaZeiDaZe Posts: 464Member
    : Hello.
    : When I go by a link to some address
    : in location bar I see all the parameters
    : that a script has
    : (e.g. "http://www.phpbuilder.com/forum/list.php3?num=1")
    : Is there any possible way do not show it?
    : Because I need to send password and session id and do not want to show them in the location bar
    : Thanks
    :
    when you go to the page using a form, put 'method=post' in the form tag.
    Another way to keep the password between pages is to use cookies, check out the setcookie() function in the php help (I'm asuming that's what your using)
  • iDaZeiDaZe Posts: 464Member
    : : Hello.
    : : When I go by a link to some address
    : : in location bar I see all the parameters
    : : that a script has
    : : (e.g. "http://www.phpbuilder.com/forum/list.php3?num=1")
    : : Is there any possible way do not show it?
    : : Because I need to send password and session id and do not want to show them in the location bar
    : : Thanks
    : :
    : when you go to the page using a form, put 'method=post' in the form tag.
    : Another way to keep the password between pages is to use cookies, check out the setcookie() function in the php help (I'm asuming that's what your using)
    :

    Just realized, an easier way would be to use frames (or just one frame with your page inside, that way the adress would always be the frame name) ... but then people could still see the location if they looked at the source of the frame ... so
Sign In or Register to comment.