RE: [PHP] sessions without cookies *or* URLs

2002-10-07 Thread John W. Holmes
> % The most common method is plain cookies. But if you want guaranteed > state, > > Sure, but I know that cookies won't work, so that rules them out. Won't work, or you don't want to use them? > % So, this rules out a complaint about complicated URLs, because you don't > % have to type them.

Re: [PHP] sessions without cookies *or* URLs

2002-10-07 Thread Justin French
on 07/10/02 7:18 PM, David T-G ([EMAIL PROTECTED]) wrote: > % re-write any relative URLs in your pages to include the session ID... it's > > So I can code without having to put the ID on the URLs myself? So the > "transparent"-ness is for the programmer? Well, I do like that... Yes. > % So

Re: [PHP] sessions without cookies *or* URLs

2002-10-07 Thread David T-G
Justin, et al -- ...and then Justin French said... % % on 07/10/02 11:32 AM, David T-G ([EMAIL PROTECTED]) wrote: % % > It's a start; it confirms some of what I think I understand about % > sessions. Now if only I can get the session ID out of the URL without % > using any cookies... Any idea

Re: [PHP] sessions without cookies *or* URLs

2002-10-07 Thread David T-G
John, et al -- ...and then John W. Holmes said... % % You can pass the session ID in a form, too. Just use POST, and make it a % hidden element passed to the next page. Yeah, I figured that. % % % % It's no different than passing it in the URL. I hope you're not thinking Except the URL i

Re: [PHP] sessions without cookies *or* URLs

2002-10-06 Thread Justin French
on 07/10/02 11:32 AM, David T-G ([EMAIL PROTECTED]) wrote: > It's a start; it confirms some of what I think I understand about > sessions. Now if only I can get the session ID out of the URL without > using any cookies... Any ideas, anyone? I Thought I made it clear, but I'll try again :) Yo

RE: [PHP] sessions without cookies *or* URLs

2002-10-06 Thread John W. Holmes
t; Cc: Justin French > Subject: Re: [PHP] sessions without cookies *or* URLs > > Justin, et al -- > > ...and then Justin French said... > % > % I think you're under a little misconception about how sessions are used. > > Perhaps. I'm new to them :-) >

Re: [PHP] sessions without cookies *or* URLs

2002-10-06 Thread David T-G
Justin, et al -- ...and then Justin French said... % % I think you're under a little misconception about how sessions are used. Perhaps. I'm new to them :-) % Maintaining a session is simply just having a unique identifier for each % "user", so that the server can recognise the user from pag

Re: [PHP] sessions without cookies *or* URLs

2002-10-06 Thread Justin French
I think you're under a little misconception about how sessions are used. Maintaining a session is simply just having a unique identifier for each "user", so that the server can recognise the user from page to page, maintaining state. Typically this is done by passing a session id around in he UR

[PHP] sessions without cookies *or* URLs

2002-10-06 Thread David T-G
Hi, all -- I've seen a recent flurry of discussion on sessions, and that's good; lovely how that has shown up just as I need to dig into sessions. I think I've come to understand, though, that you can't manage sessions without either URL extensions or cookies, and that's bad (for me, at least).