Date: 10/09/00
- Next message: Philip Strnad: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Previous message: Andrew Crawford: "[phplib] PHPLIB on Linux with MS SQL"
- Next in thread: Philip Strnad: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Reply: Philip Strnad: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Maybe reply: jalerta <email protected>: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi All,
I am new to PHPLIB and I had a question on whether it is necessary to
explicitly pass a session ID to other pages on a site?
To test this I created three pages with a page_open() and a
page_close(). Each page also had a "echo $my_session" to display the
session id value if it exists.
I then created a regular link that linked one page to the other.
When I go from page to page, the session id is displayed on the page,
even though I am not passing it as part of the URL. So I assume that the
session id is being maintained by the browser itself.
My question is: are there any possible 'gottchas' if I do this for a
shopping cart? I use the Cart object to handle the actual shopping, so
that is not a problem.
I am just concerned about keeping track of my session id so that
after a purchase transaction I can save that session id with the order
information into a MySQL database table.
Are there any potential problems with not explicitly passing the
session id?
Am I correct in thinking that the session id will be retained by the
browser unless I actively delete the session OR I close the browser,
even if I do not explicitely pass the session id in the URL?
Thank you for any and all help.
jeff alerta
jalerta <email protected>
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Philip Strnad: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Previous message: Andrew Crawford: "[phplib] PHPLIB on Linux with MS SQL"
- Next in thread: Philip Strnad: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Reply: Philip Strnad: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Maybe reply: jalerta <email protected>: "Re: [phplib] Newbie - Is it necessary to pass Session ID in URL?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

