Re: Avoid 'GET' method
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: Avoid 'GET' method

From: Malcolm Dew-Jones <yf110@vtn1.victoria.tc.ca>
Date: Tue Jul 19 2005 - 02:35:40 CEST

el_roachmeister@yahoo.com wrote:
: Is there a way to make a text link post to a form without passing all
: the parameters in the url? The urls tend to get very long and messy. I
: often wonder if there is a limit to how long they can get?

One possible technique

Use sessions.

Create a session for a user.

When you generate the table with all the links, save the details of each
link as part of the session, and index the details via an id, and use that
id in the link instead of the details.

    <a href="mysite.com/myscript.php?the-id=A57">click here</a>

--
This space not for rent.
Received on Mon Oct 17 21:10:21 2005