Re: [PHP] Re: PHP Sessions

2010-03-13 Thread Ashley Sheridan
On Sat, 2010-03-13 at 12:22 +0200, Andre Polykanine wrote: > Hello Martine, > > As you have been already told, the is not always supported. > However I'd suggest you to do the following (since I love this form of > tag): > «» > > Note: I put within the tag only the variable. > > -- > With b

Re: [PHP] Re: PHP Sessions

2010-03-13 Thread Andre Polykanine
Hello Martine, As you have been already told, the is not always supported. However I'd suggest you to do the following (since I love this form of tag): «» Note: I put within the tag only the variable. -- With best regards from Ukraine, Andre Skype: Francophile; Wlm&MSN: arthaelon @ yandex.ru

Re: [PHP] Re: PHP Sessions

2010-03-13 Thread Ashley Sheridan
On Fri, 2010-03-12 at 21:33 -0500, Martine Osias wrote: > The sessions variables are OK. They don't print when I put them on the HTML > page with this code. > > > > > > > align="right"> > > > Thank you. > > > Martine > > ""Martine Osias"" wrote in message > news:95.0c.13686.c7cd

Re: [PHP] Re: PHP sessions, AJAX, authentication and security.

2009-11-21 Thread Angus Mann
same as everywhere else in your apps.. ajax is no different in any way at all, not even slightly. as far as PHP and web server is concerned it's just a plain old request same as any other; thus.. if( !$_SESSION['is_logged_in'] ) { exit(); } // do stuff Thanks for that. Sometimes the solution

Re: [PHP] Re: PHP Sessions || Problems with AOL, Safari, etc.

2006-10-28 Thread Ed Lazor
Check php.ini session settings. There are some options in there for you to use in your scripts. Set up scripts to test whether session cookies are being saved and then route accordingly. On Oct 28, 2006, at 12:41 PM, sit1way wrote: Hey all. I run a members-only hockey report that relies

RE: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Warren Vail
, July 08, 2004 11:23 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP Sessions Question > On garbage collection, it happens sometimes within seconds and sometimes > within minutes. It tends to occur in batches with lulls of 20 to 30 > minutes. So, for example, I can login, navigate t

Re: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Curt Zirzow
* Thus wrote My Self: > > or using the default handler, and the /tmp dir is full. where /tmp being the local value for your session.save_path ini setting. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the

Re: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Curt Zirzow
* Thus wrote Jason Barnett: > >On garbage collection, it happens sometimes within seconds and sometimes > >within minutes. It tends to occur in batches with lulls of 20 to 30 > >minutes. So, for example, I can login, navigate through 11 different pages > >to generate the problem, navigate 2 pages

Re: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Jason Barnett
On garbage collection, it happens sometimes within seconds and sometimes within minutes. It tends to occur in batches with lulls of 20 to 30 minutes. So, for example, I can login, navigate through 11 different pages to generate the problem, navigate 2 pages to generate the problem, and then not s

RE: [PHP] Re: PHP Sessions Question

2004-07-08 Thread Ed Lazor
Thanks Jason, I'll keep the information handy for creating my own session handler in case other options I'm exploring right now don't work. On garbage collection, it happens sometimes within seconds and sometimes within minutes. It tends to occur in batches with lulls of 20 to 30 minutes. So, fo

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread trlists
On 22 Mar 2004 Andy B wrote: > so the theory is: if i require that the session be named after the persons > login name there is probably 1 out of 2 million chances that it will mess up > the names and get confused (specially if there are only a few users > allowed)... If the login name is unique

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread John W. Holmes
Andy B wrote: > you've already got that unique identifier. it's the username. the > username will stay unique visit to visit, therefore you don't need to go > against the design of the session id. the session id is not meant to > keep uniqueness across multiple visits, only the current visit. > >

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread John W. Holmes
Andy B wrote: [snip] If you give the session a custom name, then, yes, you'll have to use that name on every page. $name can be something that in an include file or a constant, etc, though. Again, you don't _have_ to give a name, though. There's no real advantage to using another name, though, as

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread John W. Holmes
Andy B wrote: WHy do we need to have a session name for that? because eventually i want to take the user name (session name/variables/user info) and create a preferences section of the website im doing and that would require a constant session name from visit to visit Ummm... that's why you set a

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread John W. Holmes
Andy B wrote: as long as your usernames are unique you should never have a problem. (assuming everything else works as planned.) it should... i want to use sessions for a login system and stuff too but i want it to check to see if the person is logged in before going to the login section... if th

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Andy B on Monday, March 22, 2004 3:49 PM said: > because eventually i want to take the user name (session > name/variables/user info) and create a preferences section of the > website im doing and that would require a constant session name from > visit to visit yeah

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Andy B on Monday, March 22, 2004 3:43 PM said: > as long as your usernames are unique you should never have a problem. > (assuming everything else works as planned.) > > it should... it will. a unique value is a unique value. > is this code valid?? > if(session_s

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Elliot J. Balanza on Monday, March 22, 2004 3:43 PM said: > What are the chances of two people getting the same session number in > a thousends of day operation? > When you down the size of that to a couple hundeed a day... > > WHy do we need to have a session name

Re: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Elliot J. Balanza
What are the chances of two people getting the same session number in a thousends of day operation? When you down the size of that to a couple hundeed a day... WHy do we need to have a session name for that? Vamp "Chris W. Parker" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED

RE: [PHP] RE:[PHP] sessions...how to use not clear?

2004-03-22 Thread Chris W. Parker
Andy B on Monday, March 22, 2004 3:19 PM said: > so the theory is: if i require that the session be named after the > persons login name there is probably 1 out of 2 million chances that > it will mess up the names and get confused (specially if there are > only a fe

Re: [PHP] Re: PHP Sessions - One Server, Many Terminals

2004-03-16 Thread trlists
On 16 Mar 2004 [EMAIL PROTECTED] wrote: > Sessions have to do with requests being sent by browsers to the web server. Each > time > you close all the windows of your browser on your computer and start the browser > again, a new session is started. I suspect that since all your users are essenti