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

Re: [PHP] Sessions without cookies : forms

2002-07-21 Thread Richard Baskett
You need to start the session before any html. So: Cheers! Rick "Too much caution is bad for you. By avoiding things you fear, you may let yourself in for unhappy consequences. It is usually wiser to stand up to a scary-seeming experience and walk right into it, risking the bruises as hard

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-15 Thread Garth Dahlstrom
> maintain state accross requests. This is done in 3 different ways. > 1. Cookies > 2. URL Mangling > 3. HTTP Authentication #4 Passing a SID/Session info in hidden fields, but it means you must push every page move through a submit (which can be done with Javascript, image buttons, etc), dep

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread David Freeman
> You're missing one method - using the user's IP address > It's not a guaranteed fool-proof method, but if you don't > want to use cookies or the URL, then this sorta works. Unless there's a firewall using NAT or a proxy cache involved. I know for a fact that our internal network only ever

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
Senior Software Engineer ePliant Marketing -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 6:26 PM To: Matthew Walker Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions Without Cookies or SID Passing... > Could you explain how this could be acc

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Vail, Warren
to:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 5:30 PM Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions Without Cookies or SID Passing... If it ain't foolproof then only a fool would use it ... IP addresses are just about the worst way to identify anyone. -Original Message- From:

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Mark Charette
TECTED] Subject: RE: [PHP] Sessions Without Cookies or SID Passing... You're missing one method - using the user's IP address It's not a guaranteed fool-proof method, but if you don't want to use cookies or the URL, then this sorta works. -- PHP General Mailing List (http://

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Rasmus Lerdorf
> Could you explain how this could be accomplished, because I'm not > understanding how to do it. > > As I understand HTTP Authentication (correct me if I'm wrong), the > user's computer still has to send a 'username/password' pair to perform > the authentication. I can't see how this could be use

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Rasmus Lerdorf
-Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 15, 2002 10:04 AM > To: Matthew Walker > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] Sessions Without Cookies or SID Passing... > > > I am understanding the problem perfectly. HTTP i

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
ew Walker Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions Without Cookies or SID Passing... I am understanding the problem perfectly. HTTP is stateless. You want to maintain state accross requests. This is done in 3 different ways. 1. Cookies 2. URL Mangling 3. HTTP Authentication You said

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Martin Towell
10:04 AM To: Matthew Walker Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Sessions Without Cookies or SID Passing... I am understanding the problem perfectly. HTTP is stateless. You want to maintain state accross requests. This is done in 3 different ways. 1. Cookies 2. URL Mangling 3. HTTP Authenti

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Miguel Cruz
On Tue, 14 May 2002, Matthew Walker wrote: > The sites are not dynamic, but the shopping cart /is/. The problem is, > if people don't have cookies on, when they return to the site to order > more products, they loose the SID that has been appended to the links > inside the cart, and thus loose the

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Rasmus Lerdorf
customer's OrderID is, and other related information. > > Matthew Walker > Senior Software Engineer > ePliant Marketing > > > -Original Message- > From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 14, 2002 5:42 PM > To: Matthew Walker

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
om: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 5:42 PM To: Matthew Walker Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions Without Cookies or SID Passing... Use standard HTTP authentication over SSL - that's the only other way. On Tue, 14 May 2002, Matthew Walker wrot

RE: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Matthew Walker
alker Senior Software Engineer ePliant Marketing -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 14, 2002 5:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions Without Cookies or SID Passing... On Tue, 14 May 2002, Matthew Walker wrote: > Man

Re: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Miguel Cruz
On Tue, 14 May 2002, Matthew Walker wrote: > Many of the people who will be shopping on our sites have cookies > disabled, which presents a problem when using sessions. Now, I am aware > of the fact that we could append the SID constant to every URL, but this > will not work for us. None of our si

Re: [PHP] Sessions Without Cookies or SID Passing...

2002-05-14 Thread Rasmus Lerdorf
Use standard HTTP authentication over SSL - that's the only other way. On Tue, 14 May 2002, Matthew Walker wrote: > We have a shopping cart product we're developing in PHP, and I've > recently come across I dilemma that I need to find a reliable solution > to. > > Many of the people who will be

Re: [PHP] sessions without cookies?

2001-03-27 Thread Yasuo Ohgaki
You can use URL mode for PHP4 session if you want session w/o cookie. How about read this link? http://www.zend.com/zend/tut/session.php -- Yasuo Ohgaki "duirfire" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, can someone point me toward a tutorial tha

Re: [PHP] sessions without cookies

2001-02-03 Thread Richard Lynch
> How can you get something like: > > header ("Location: $PHP_SELF?"); > > to redirect with the sessid in the url? In my tests, it redirects, but > does not append the sessid. > > I have compiled with --enable-trans-sid. Transparent sid is working, I > can use it on links like: > > "> > > and it w

Re: [PHP] sessions without cookies?

2001-01-26 Thread Richard Lynch
> Would there be any point in using php sessions if you aren't using cookies? > You have to store login info anyway, why not just use a temp table to store > transaction info and write to the database at the end of a session? From > what I've read on sessions, you have to use cookies > thanks You

Re: [PHP] sessions without cookies?

2001-01-26 Thread Chris Lee
if yours only storeing one or two variables in a db, dont mind writing either functions to store all this in the db, or having 5-10 lines of code per page to this then fine. But sessions are so simple... three lines of code, I can store text, arrays, class's all in three lines of code, four if