El Jue 15 Feb 2001 12:32, escribiste:
> I was reading through the documentation on sessions at
> http://www.php.net/manual/en/html/ref.session.html
>
> I have a few questions..
>
> 1) How do I explicitly close a session, so that any subsequent attempts to
> use pages would require a new session started? Will session_destroy() do
> this?
Yes.
> 2) I don't want to rely on cookies being set for the client's browser.
> What are the security ramifications for passing the SID through the URL?
As secure as your server is.
But if you compiled php --with-trans-id, then you will have no problems at
all.
> Most important to me is to understand the overall concept. Can I start and
> stop sessions whever I want? Can I start and use one session, then destroy
> it, then start a whole new session on the client?
Yes, but remember that the data es stored on the server side, not the client
side.
> I'm just starting to hate the looks of all these encoded urls being thrown
> around as i'm developing the site. It is getting more and more complex,
> and some of the stuff i'm passing in the urls is ugly, and some of it is
> not good to be showing.
Try hidding variables in inputs (if you use forms) or store the values in a
session.
Saludos... :-)
--
System Administration: It's a dirty job,
but someone told I had to do it.
-----------------------------------------------------------------
Martín Marqués email: [EMAIL PROTECTED]
Santa Fe - Argentina http://math.unl.edu.ar/~martin/
Administrador de sistemas en math.unl.edu.ar
-----------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]