There are a few ways this can be achieved, the first is to simply pass the info pass the pages e.g. post.php?name=chris&password=38739843, secondly, using cookies and third using sessions.
defintly sessions... say u have this text as a form entry
" my name is bob & my friends name is bobby"
in the querystring, it would screw up because of the &
also if u have have some qoutes..stuff like that.. its probaly eassier to store them in a session
The querystring can be encoded using rawurlencode() actually, but it could get too long...and it's sort of ugly anyway. Sessions might work, but then again, they might be overkill. If the form is relatively simple, it may be easier to just use cookies, or some hidden form fields. Heck, I'd try 'em all for the sake of experience, and go with whichever works best.
I'd use hidden form fields. They'll work on any browser whether or not cookies are enabled and they were pretty much designed for the problem you are describing
Bookmarks