Re: [PHP] sessions var

2001-12-19 Thread Jim Lucas
AIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 19, 2001 2:18 PM Subject: Re: [PHP] sessions var > One problem that I have with sessions it that if your login > page is in www.yoursite.com and the you pop a page > yoursite.com I think the Session is not recognized.

Re: [PHP] sessions var

2001-12-19 Thread Mehmet Kamil ERISEN
One problem that I have with sessions it that if your login page is in www.yoursite.com and the you pop a page yoursite.com I think the Session is not recognized. just a hint. --- William Sanchez Sanchez <[EMAIL PROTECTED]> wrote: > > > I need some help with sessions. I need to pass variables >

Re: [PHP] sessions var

2001-12-19 Thread Chris Lee
as long as your start the session on the new page everything will work. are your clients not using cookies? and you have trans-sid enabled? you'll need to pass the SID to the new page then obv. -- Chris Lee [EMAIL PROTECTED] "William Sanchez Sanchez" <[EMAIL PROTECTED]> wrote in message [

[PHP] Re: php sessions limit

2001-12-18 Thread Chris Lee
its irrelevant. now there is a file system dependancy. in linux is inodes, not enough and you'll have some problems, win2k I dont know. -- Chris Lee [EMAIL PROTECTED] "Aaustin" <[EMAIL PROTECTED]> wrote in message 002101c18293$671c5d00$0300a8c0@tomato">news:002101c18293$671c5d00$0300a8c0@t

Re: [PHP] sessions

2001-12-11 Thread Anthony
Thank you very much, I got it to work. What I didn't understand was that when registering the session var I was not registering the var's value, only the pointer. This makes all kinds of sence now. Thanks! - Anthony Steffan Packer wrote: > You need to have > > session_start(); > > at th

Re: [PHP] sessions

2001-12-11 Thread Anthony
thanks for the starter. I have session.use_trans_sid = 1 in my php.ini, I also have session_start() at the beginning of both pages. Now $HTTP_SESSION_VARS is there, but its a blank array. print_r($HTTP_SESSION_VARS); yields-> Array ( ) the code I have at one page is $z=; sess

RE: [PHP] sessions

2001-12-11 Thread PACKER, Steffan
You need to have session_start(); at the top of each page that needs to use the session vars, also check that session.use_trans_sid is set to 1 in your ini file hope this helps! -Original Message- From: Anthony [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 3:54 PM To: [EM

Re: [PHP] Sessions & Header PROBLEM again!

2001-11-03 Thread Alessandro BOSSI
Hi, thank you for your attention This is only a sample to understand how the session work, in order to use them in a more complex web applications The goal is verify how to pass the var $count through each of the three pages by the php session function Particularly, when as usually, a client has

Re: [PHP] Sessions & Header PROBLEM again!

2001-11-02 Thread Steve Cayford
Don't know offhand what the problem is, but a couple thoughts: 1. Why are you using session_name(mysession) instead of session_name('mysession')? 2. Assuming you have register_globals on, you're trying to pass $count both as a session variable and a post variable. One of these is going to get

Re: [PHP] Sessions Variables and refresh pages

2001-10-04 Thread Derek Mailer
particular application. Cheers the noo, Derek - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Karina" <[EMAIL PROTECTED]> Cc: "Derek Mailer" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 03, 2001

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Karina
Yes, the result is returned... the problem is that i have to refresh the page to see it or use it in a query. Karina -- 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,

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Rasmus Lerdorf
Both of SID and session_id() should return the current session id after session_start() has been called. -Rasmus On Wed, 3 Oct 2001, Karina wrote: > Yes, it is. > > This is exactly the problem. Do you know a way to solution this ? > > Thks, Karina > > --- > > > I'm not sure I fully

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Karina
Yes, it is. This is exactly the problem. Do you know a way to solution this ? Thks, Karina --- I'm not sure I fully understand the problem, but I think I can have a guess at it based on my past experiences... if you have a php page that starts a session with session_start() and,

Re: [PHP] Sessions Variables and refresh pages

2001-10-03 Thread Derek Mailer
ROTECTED]> Sent: Tuesday, October 02, 2001 8:18 PM Subject: Re: [PHP] Sessions Variables and refresh pages > again with the problem i discovered that the problem is that the reload is > needed when i use the session variables in the queries, otherwise there are > not problem. Even if i onl

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina Gómez Salgado
again with the problem i discovered that the problem is that the reload is needed when i use the session variables in the queries, otherwise there are not problem. Even if i only want to display the session variable in the result page, i need to do a reload. Karina wrote: > Well, I don't un

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf
I have no idea what is wrong. Like I suggested before, if you reduce this problem down to a simple reproducable simple script someone can probably pick out what you did wrong. -Rasmus On Tue, 2 Oct 2001, Karina wrote: > Ok. > > First i have a result-select-page displaying > the id's of my item

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina
Ok. First i have a result-select-page displaying the id's of my items and other values. id1(link) -- item 1 bla bla bla id2(link) -- item 2 bla bla bla when the user selects an id link appears the accesscontrol page: ... .. session_register("uid2"); session_register(

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf
You are going to have to explain your problem in more detail. Write a simple little 5-line example program that illustrates the problem and post it here. As it is right now, I don't think anybody understands what the heck you are talking about. -Rasmus On Tue, 2 Oct 2001, Karina wrote: > Well

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Karina
Well, I don't understand it too, i don't know why with normal variables there are not problem and with session variables i need to refresh the page to see the results after the submit form. The mechanism is this: query 1 with parameter >ACCESS FORM --- > results only

Re: [PHP] Sessions Variables and refresh pages

2001-10-02 Thread Rasmus Lerdorf
And I have read your question 4 times. I still don't understand it. I don't see how you can get a "post data missing" on a form post. -Rasmus On Tue, 2 Oct 2001, Karina [iso-8859-1] Gómez Salgado wrote: > Hello, this is the fourth time i wrote expecting some answer from > somebody with more e

Re: [PHP] Sessions, sessions, sessions...

2001-10-02 Thread Papp Gyozo
session_register() registers the _global_ variable named by it with the current session. So if these globals are not set, you 're out of luck, I think. - Original Message - From: "Bradley Goldsmith" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 02, 2001 3:13 AM Subjec

Re: [PHP] sessions in php4

2001-10-01 Thread Alex Shi
I always using session together with header() and never got a problem. Here's something might be a hint to you: http://..."; // in the "new location" ?> Alex - Original Message - From: "sagar N Chand" <[EMAIL PROTECTED]> To: "php" <[EMAIL PROTECTED]> Sent: Monday, October 01, 2001 9:5

Re: [PHP] sessions in php4

2001-10-01 Thread Mukul Sabharwal
Hi, Well probably because you've got that automatic PHPSESSID thing carryover in your php.ini which through your situation indicates that it doesn't work in a header() so either you'll put cookies on, or use PHPSESSID. = * Know more about me: http://www.geocit

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-25 Thread Tamas Arpad
On Monday 24 September 2001 21:23, Thomas Deliduka wrote: > I just tried this here below. Before trying this I changed any > called to $PHPSESSID to session_id(). > > I turned off cookies > Loaded the page... Created session id and file: > sess_44074d3a54862b480c3407c9eb373f77 > Contents: var1|s:8

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I just tried this here below. Before trying this I changed any called to $PHPSESSID to session_id(). I turned off cookies Loaded the page... Created session id and file: sess_44074d3a54862b480c3407c9eb373f77 Contents: var1|s:8:"My var 1";var2|s:8:"My var 2"; I submitted the form: PHPsessionid sh

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
Yeah, I think it's my server setup, or something I have going on on my server because others have said that it works fine for them but not on my machine. I'm running red hat linux 6.1 apache+mod_ssl 1.3.20 On 9/24/2001 2:08 PM this was written: >> >> Then I will reload the first page again by

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:39, Thomas Deliduka wrote: > On 9/24/2001 12:32 PM this was written: > >> After reloading IE on the PC now the SID constant doesn't > >> echo anything at > >> all. > > > > SID is always defined on the first page request. It is only > > defined on later page requests

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Arpad Tamas
> > Then I will reload the first page again by erasing index2.php and > hitting enter and it will display a new sess id number and show the > first page, as normal but that sessid number is equal t the new > session created on the server and the value of it is: > > var3; var1; var2 > > This is str

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
Thank you everyone for your continued help with this. It's still not fixed but I have to leave to a dr. appt. I hope that most--If not all--of you are on when I get back. I just wanted to alert you as to why I wouldn't be responding to your questions/messages. Here is the last information I sent

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
) . "\n"; Kirk > -Original Message- > From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 11:19 AM > To: PHP List > Subject: Re: [PHP] Sessions just don't work on my machine. > (Trying this > ag ain) > > > On 9/24/2

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:18 PM this was written: >> OK, now the session ID is getting passed like it should. Now for the two >> missing variables. Try moving the two assignment statements ahead of the two >> session_register() calls - "assign, then register". I have never seen this >> make a difference, bu

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:15 PM this was written: > OK, now the session ID is getting passed like it should. Now for the two > missing variables. Try moving the two assignment statements ahead of the two > session_register() calls - "assign, then register". I have never seen this > make a difference, but th

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
the way it needs to be done. Kirk > -Original Message- > From: Thomas Deliduka [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 24, 2001 11:01 AM > To: PHP List > Subject: Re: [PHP] Sessions just don't work on my machine. > (Trying this > ag ain) > >

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 1:05 PM this was written: > On Monday 24 September 2001 18:51, Thomas Deliduka wrote: >> I'm finding my script on www.fromtheduke.com/session/ still doesn't >> work even with the in the link or passing it along in the >> form. > Please send us your latest code again, then we can hel

Re: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:51, Thomas Deliduka wrote: > I'm finding my script on www.fromtheduke.com/session/ still doesn't > work even with the in the link or passing it along in the > form. Please send us your latest code again, then we can help you, not just guessing what you've might don

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
I'm finding my script on www.fromtheduke.com/session/ still doesn't work even with the in the link or passing it along in the form. On 9/24/2001 12:49 PM this was written: > On Monday 24 September 2001 18:39, Thomas Deliduka wrote: >> On 9/24/2001 12:32 PM this was written: After reloading

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:39 PM this was written: > Try these changes: > > session.cookie_lifetime = 0 > session.use_trans_sid = 1 > I see no changes to my problems. -- Thomas Deliduka IT Manager - New Eve Media The Solution To Your Internet Angst http://www.neweve.c

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:39 PM this was written: > Try these changes: > > session.cookie_lifetime = 0 > session.use_trans_sid = 1 > > Also, what version of PHP are you using? PHP: 4.0.6 In the past I had problems with trans_sid with urls that already had querystrings being passed. They would mes

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:32 PM this was written: >> After reloading IE on the PC now the SID constant doesn't >> echo anything at >> all. > > SID is always defined on the first page request. It is only defined on later > page requests if cookies are disabled in the browser. So, I shouldn't use that if I

RE: [PHP] Sessions just don't work on my machine. (Trying this ag ain)

2001-09-24 Thread Johnson, Kirk
Try these changes: session.cookie_lifetime = 0 session.use_trans_sid = 1 Also, what version of PHP are you using? > My php.ini: > > [Session] > session.save_handler = files > session.save_path = /tmp > > session.use_cookies = 1 > session.name = PHPSESSID

RE: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Johnson, Kirk
> After reloading IE on the PC now the SID constant doesn't > echo anything at > all. SID is always defined on the first page request. It is only defined on later page requests if cookies are disabled in the browser. Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:28 PM this was written: > Perhaps you could post the [Session] section of your php.ini file. It > appears that session.cookie_lifetime is not set to 0, which is what you want > for a session cookie. Perhaps we can find another setting that needs a > change. My php.ini: [Session]

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
After reloading IE on the PC now the SID constant doesn't echo anything at all. On 9/24/2001 12:28 PM this was written: > On 9/24/2001 12:28 PM this was written: > >> On Monday 24 September 2001 18:20, Thomas Deliduka wrote: >>> On 9/24/2001 12:22 PM this was written: Try to use constant S

RE: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Johnson, Kirk
Perhaps you could post the [Session] section of your php.ini file. It appears that session.cookie_lifetime is not set to 0, which is what you want for a session cookie. Perhaps we can find another setting that needs a change. Kirk > Sessions just don't work on my machine... -- PHP General Mail

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:28 PM this was written: > On Monday 24 September 2001 18:20, Thomas Deliduka wrote: >> On 9/24/2001 12:22 PM this was written: >>> Try to use constant SID, maybe that will work, and it is more >>> likely that it will work on other intallations with other session >>> variable names

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Tamas Arpad
On Monday 24 September 2001 18:20, Thomas Deliduka wrote: > On 9/24/2001 12:22 PM this was written: > > Try to use constant SID, maybe that will work, and it is more > > likely that it will work on other intallations with other session > > variable names. > > I just tried using SID in my index.php

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:22 PM this was written: > Try to use constant SID, maybe that will work, and it is more likely > that it will work on other intallations with other session variable > names. I just tried using SID in my index.php and there is nothing that displays. Hmmm. -- Thomas Deliduka IT M

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Arpad Tamas
On Monday 24 September 2001 17:56, Thomas Deliduka wrote: Hi, > PHPSESSID: Try to use constant SID, maybe that will work, and it is more likely that it will work on other intallations with other session variable names. > > VAR 3: TYPE=SUBMIT VALUE="go"> > You should add the session id (SI

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
I see I'm relying on cookies in my code. Lemme see if I can pass it. Thanks. On 9/24/2001 12:11 PM this was written: > I dont see where the SID is being passed to the next page. I recently > struggled through getting sessions to work, and for me I had to send SID > myself manually, the server wo

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
I see I'm relying on cookies in my code. Lemme see if I can pass it. On 9/24/2001 12:04 PM this was written: > I had the exact same problem.. don't know if you had this advice yet or not > but what I did is when I started a session I would grab the session id for > that session and put it in a v

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Thomas Deliduka
On 9/24/2001 12:02 PM this was written: > Dont use sessions, they are a little flaky anyway. Use a mixture of holding > data in database and passing sid/userid/hash around on the URL. You wont > regret > it. That's what I do. Except I want to install: http://www.phplinks.org/ Which requires

Re: [PHP] Sessions just don't work on my machine. (Trying thisagain)

2001-09-24 Thread Matt Greer
on 9/24/01 10:56 AM, Thomas Deliduka at [EMAIL PROTECTED] wrote: > > VAR 3: VALUE="go"> > > I dont see where the SID is being passed to the next page. I recently struggled through getting sessions to work, and for me I had to send SID myself manually, the server wouldn't send it via a cookie

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Jay Paulson
I had the exact same problem.. don't know if you had this advice yet or not but what I did is when I started a session I would grab the session id for that session and put it in a variable and then just pass that session id everywhere I went.. turn on the trans_id or add the session id to the end

Re: [PHP] Sessions just don't work on my machine. (Trying this again)

2001-09-24 Thread Ben Edwards
Dont use sessions, they are a little flaky anyway. Use a mixture of holding data in database and passing sid/userid/hash around on the URL. You wont regret it. >I have written here several times on this subject and in the end those who >have gratiously helped me have ended up just telling me t

Re: [PHP] Sessions in classes dosn't work!?

2001-08-30 Thread Thomas Watson
> Hmmm, it seems that "obj" is not saved to the session file. > > > I don't thik that & before new is needed. This is weird :) It worked when I removed the & (thought that I tried that ;). Now I just can't remember why I put it there in the first place. I hope it wasn't importent ... well I w

Re: [PHP] Sessions in classes dosn't work!?

2001-08-30 Thread Andrey Hristov
estoring to be as before saving. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Thomas Watson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 30, 2001 2:18 PM Subject: Re: [PHP] Sessions in classes dosn't work!?

Re: [PHP] Sessions in classes dosn't work!?

2001-08-30 Thread Thomas Watson
> This is because $foo is local to the member functions of the class. > declare global $foo at the start of every function. Ok thnx... it worked... but how do you then explain this?: *** foo = $bar; } function getFoo() {

Re: [PHP] Sessions in classes dosn't work!?

2001-08-30 Thread Andrey Hristov
This is because $foo is local to the member functions of the class. declare global $foo at the start of every function. Andrey Hristov IcyGEN Corporation http://www.icygen.com 99% - Original Message - From: "Thomas Watson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Aug

Re: [PHP] Sessions and Cookies on Macs

2001-08-28 Thread Richard Baskett
I just used the url to pass it since no matter what I did I couldn¹t seem to get it to work when cookies were turned off on my mac. I've read the session url on the php site from top to bottom and the transparent sessions are even enabled on the server, but yet to no avail on the mac :( > on 8/2

Re: [PHP] Sessions and Cookies on Macs

2001-08-28 Thread mike cullerton
on 8/27/01 10:31 AM, Richard Baskett at [EMAIL PROTECTED] wrote: > Ok on a pc when I have cookies turned off I am still able to access my > session variables, but on a mac I can not. Is there a difference between > the way session variables are stored on each platform? And if a session is > ind

Re: [PHP] sessions and sessionfiles

2001-08-22 Thread Jay Paulson
in the php.ini you can set the garbbage collection higher than 1 but that puts a bigger load on your computer... what garbage collection does is that it goes through and deletes all the session files that have expired due to the setting of the session.gc_maxlifetime.. so right now with the way you

Re: [PHP] Sessions, Is this behavior by design?

2001-08-21 Thread Alexander Skwar
So sprach »Johnny Nguyen« am 2001-08-21 um 12:29:53 -0700 : > false. I was expecting boolean true and false return values, but no matter > i can work with it this way, just wondering if this is by design.? There isn't such a thing as boolean true or false in PHP. In PHP, everything other than N

RE: [PHP] Sessions, Is this behavior by design?

2001-08-21 Thread Johnson, Kirk
> apparently, session_is_registered and isset return null if > they evaluate to > false. I was expecting boolean true and false return values, What you were expecting is correct, boolean true/false. However, it appears that PHP converts these values to strings during the echo. true converts to

RE: [PHP] sessions

2001-08-21 Thread Johnson, Kirk
> session_start(); > session_unregister(val_1); > session_register(val_1); > > I am doing this to clear the contents of val_1 before I use it again. > Needless to say its not working. val_1 always contains the > same value until session_registering()'ing a variable just puts it in a list of nam

RE: [PHP] Sessions in pop-up windows

2001-08-19 Thread Quentin Gillet
be sure session.auto_start=1 and session.use_trans_sid=1 and that session.gc_maxlifetime has a reasonable value -Message d'origine- De : Chris Cameron [mailto:[EMAIL PROTECTED]] Envoye : dimanche 19 aout 2001 20:28 A : [EMAIL PROTECTED] Objet : [PHP] Sessions in pop-up windows I'm havin

Re: [PHP] sessions

2001-08-17 Thread Rob Hardowa
Hi Jeremy, session_destroy() should not destroy all your sessions. As per the manual: session_destroy() destroys all of the data associated with the current session. If you are having trouble with all your sessions being deleted in each run, it may be a problem with these php.ini file setti

Re: [PHP] Sessions Question

2001-07-28 Thread Rasmus Lerdorf
> session_register("$refresh"); > session_register("$seconds"); > session_register("$title"); You probably want to remove the $ signs in the above. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] Sessions and linking

2001-07-19 Thread Michael Hall
Try using theinbox.php? Adding to all your URLs will maintain session data if cookies are turned off. The session ID (a random 32 character string) is available in $PHPSESSID, so if you really wanted to you could do: theinbox.php?PHPSESSID=$PHPSESSID but is easier. Mick On Fri, 20

Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread ReDucTor
Username : Password : Profile Moo - Original Message - From: dosenbrei <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 10:01 PM Subject: [PHP] Sessions + Variables + includes > > > Hi > > Sorry for my bad english ;-) > > I'm wri

Re: [PHP] Sessions + Variables + includes

2001-07-19 Thread Slavomir Slizik
On the title page: session_register("loggedin"); then: session_start(); on every page better to test session availability on every page: if (!session_is_registered("loggedin")) { // redirect user to title page where the session is registered } But your method of handling sessions

Re: [PHP] sessions . . . .

2001-07-16 Thread Jon Yaggie
code . . .' And it continued until they reached 0 - Original Message - From: "Luiz Vitor" <[EMAIL PROTECTED]> To: "Jon Yaggie" <[EMAIL PROTECTED]> Sent: Monday, July 16, 2001 9:22 PM Subject: Re: [PHP] sessions . . . . > Probably the $directory va

RE: [PHP] sessions . . . .

2001-07-16 Thread scott [gts]
any number of things could happen to the $directory variable... it could be out of scope, gotten overwritten or unset by another function, or it might just never have been saved to the database... but the real problem with that code is that there are no error checks on the file functions. that

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Sascha Schumann
> Our own experience is that the PHP method to define custom session > handlers is broken - > 'write' doesn't work. At least in earlier versions (4.0.0, 4.0.1, for > sure). It is more likely that your method of testing it is broken. "echo 'The write handler was called'" does not produce

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Michael Kimsal
Daniel Baldoni wrote: >G'day folks, > >Here's a theoretical question for those of you using PHP's inbuilt session >facilities... > > How do you "keep" your variables across redundant servers? Or, > isn't anybody out there hosting PHP-based services on grouped > servers? > >My q

RE: [PHP] Sessions and redundant servers

2001-07-05 Thread Johnson, Kirk
> Unfortunately, I don't think there's a *good* solution to the > "distributed > server vs. session" problem which doesn't use a replicated database. > Because there's no guarantee of NFS writes being successful (or reads > either, depending on where a problem may arise) and rsync must be > perio

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Sascha Schumann
> Thoughts from anybody else out there? NFSv3 maintains state and also has file locking built-in, something which was not handled quite gracefully by NFSv2 (debugging interaction between various system's rpc.lockds is not much fun). You might want to look into that. - Sascha

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Daniel Baldoni
G'day, >> Considering NFS is stateless, why do you consider it to be a more acceptable >> solution to, say, rsync (which I personally don't like - but that's another >> matter)? > > Ok, sorry, I should have explained my reasoning. > > Afaik rsync executes periodically to synchronize files betwe

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread lists
On Fri, 6 Jul 2001, Daniel Baldoni wrote: > Considering NFS is stateless, why do you consider it to be a more acceptable > solution to, say, rsync (which I personally don't like - but that's another > matter)? Ok, sorry, I should have explained my reasoning. Afaik rsync executes periodically to

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread Daniel Baldoni
G'day again everybody, >> Here's a theoretical question for those of you using PHP's inbuilt session >> facilities... >> >> How do you "keep" your variables across redundant servers? Or, >> isn't anybody out there hosting PHP-based services on grouped >> servers? > > You are r

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread lists
On Fri, 6 Jul 2001, Daniel Baldoni wrote: > G'day folks, > > Here's a theoretical question for those of you using PHP's inbuilt session > facilities... > > How do you "keep" your variables across redundant servers? Or, > isn't anybody out there hosting PHP-based services on grouped >

Re: [PHP] Sessions and redundant servers

2001-07-05 Thread infoz
The load-balanced cluster implementations I've worked with define a PHP session handler that uses a database to store session data, and so it doesn't matter which web server a particular session comes from, the data is stored in a centralized place. - Tim http://www.phptemplates.org > How do y

RE: [PHP] sessions and cache

2001-07-02 Thread Adrian Ciutureanu
Thanks a lot! It works. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 2 iulie 2001 16:43 > To: [EMAIL PROTECTED] > Subject: Re: [PHP] sessions and cache > > > Hi Adrian! > On Mon, 02 Jul 2001, Adrian Ciutureanu wrote: &

Re: [PHP] sessions and cache

2001-07-02 Thread teo
Hi Adrian! On Mon, 02 Jul 2001, Adrian Ciutureanu wrote: > Hi, > > I have a problem: if I use session_start(), the page will not cache. Is > that normal? > yes, check "session.cache_limiter session.cache_expire" in your php.ini -- teodor -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
Jason Murray pressed the little lettered thingies in this order... > > I am about to write a new admin system for a website I do and > > it will have many different logins. I was wondering overall which > > most of you thought would be better for such a thing? Wants really > > a pro about sess

Re: [PHP] Sessions vs Cookies?

2001-06-22 Thread Michael Hall
As I understand it, PHP's session management uses cookies anyway unless they are turned off by the browser, in which case session info is attached to the URL. So I'd use sessions rather than cookies alone. Mick On Thu, 21 Jun 2001, Chris Anderson wrote: > I am about to write a new admin syst

Re: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
Chris Anderson pressed the little lettered thingies in this order... > I am about to write a new admin system for a website I do and it will have > many different logins. I was wondering overall which most of you thought > would be better for such a thing? Wants really a pro about sessions over >

RE: [PHP] Sessions vs Cookies?

2001-06-21 Thread Jason Murray
> I am about to write a new admin system for a website I do and > it will have many different logins. I was wondering overall which > most of you thought would be better for such a thing? Wants really > a pro about sessions over cookies? If it's for an admin section, then you may as well use c

RE: [PHP] Sessions: auto appending session id to URLs

2001-06-20 Thread Johnson, Kirk
There is a setting in the php.ini file named "session.use_trans_sid", which enables appending the session ID if PHP was compiled with enable-trans-sid. You could try setting this to 0 if you are allowed to set up an .htaccess file on the server. Create the .htaccess file with the following line i

RE: [PHP] Sessions: auto appending session id to URLs

2001-06-20 Thread PHPBeginner.com
try to look into ini_set() (was I right naming it so?) The function, if available for you, will allow you to override the php.ini configurations. Sincerely, Maxim Maletsky Founder, Chief Developer PHPBeginner.com (Where PHP Begins) [EMAIL PROTECTED] www.phpbeginner.com -Original

RE: [PHP] sessions without trans_id

2001-05-23 Thread Johnson, Kirk
If the server has trans-sid enabled, you can disable it for your application using an .htaccess file, as given below. > -Original Message- > From: Dalyyla [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 23, 2001 2:14 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] s

Re: [PHP] sessions without trans_id

2001-05-23 Thread Dalyyla
hi, > You could use an .htaccess file to disable the session.use_trans_sid flag in > the php.ini file, like this: > > php_flag session.use_trans_sid off > > Kirk > *** what I meant if i publish it on another server and which is used by lots of clients I suppose that some of them made their appli

Re: [PHP] Sessions and Classes

2001-05-22 Thread Chris Lee
I think your mising the point. I use classes to create more modular code, I find it keeps my code structured and easy to modify for other sites. I can have a class for one site, I can then copy that class and easily modify it to suit for another site. I do not use my classes for storeing data (ie.

RE: [PHP] sessions without trans_id

2001-05-22 Thread Johnson, Kirk
You could use an .htaccess file to disable the session.use_trans_sid flag in the php.ini file, like this: php_flag session.use_trans_sid off Kirk > -Original Message- > From: Dalyyla [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, May 22, 2001 6:30 AM > To: [EMAIL PROTECTED] > Subject: [PHP

Re: [PHP] Sessions - new window

2001-05-18 Thread Chris Lee
I dont think there are ways of doing that. can you give some code snippits ? what data are you storing in the session ? sessions are great for storeing unique id's etc, you can use them to store your entire db, but you shouldnt IMHO... -- Chris Lee [EMAIL PROTECTED] "jarek" <[EMAIL PROT

Re: [PHP] sessions / cookies / header("Location...

2001-05-17 Thread Christian Dechery
it does not have anything to do with my browser... that's for sure... I'm using MSIE 5.5, and never had any trouble... and as I said on the email... it used to work fine... it just stopped working... and now yet some fresh info... it's working again now... I've tried... one thing I noticed, that

Re: [PHP] sessions / cookies / header("Location...

2001-05-17 Thread Chris Lee
yup, your browser is not accepting cookies. thats a good guess. when a browser does not accept cookies, trans-sid will kick in, trans-sid will not work on full urls, just reletive urls. no trans-sid http://www.mediawaveonline.com/index.php trans-sid /index.php header redirectect require (supp

Re: [PHP] Sessions question.

2001-05-16 Thread Rasmus Lerdorf
> Is there a way to get the name of each variable in a session? Just walk through $HTTP_SESSION_VARS -Rasmus -- 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-mai

Re: [PHP] SESSIONS: Why does PHP not erase session files in /TMP

2001-05-10 Thread Jakob Kruse
This has to do with session garbage collection. Check the "session.gc_probability" option in your php.ini. I suspect the default value of 1 means 1% chance of a collection on each session start. Changing it to 100 did the trick for me. But do consider whether you really *want* to do garbage colle

Re: [PHP] SESSIONS: What does this error mean

2001-05-10 Thread Davor Pleskina
Thanks, Stewart, I will check for that! ""Taylor, Stewart"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > This error occurrs when you start a session that recreates an object > variable but does not know the class definition for it. > You need to make sure yo

RE: [PHP] SESSIONS: What does this error mean

2001-05-10 Thread Taylor, Stewart
This error occurrs when you start a session that recreates an object variable but does not know the class definition for it. You need to make sure you include the class source before you start the session. -Stewart -Original Message- From: Davor Pleskina [mailto:[EMAIL PROTECTED]] Sent:

<    5   6   7   8   9   10   11   >