Re: [PHP-DB] Sessions help needed !!!

2006-02-17 Thread Micah Stevens
Well, not much to go on, but I'd check variable scope, and register-globals. The latter being more likely as I can't see how the scope would change if you're just copying things over. -Micah On Friday 17 February 2006 2:18 pm, Chris Payne wrote: > Hi there everyone, > > OK this script worked

[PHP-DB] Sessions help needed !!!

2006-02-17 Thread Chris Payne
Hi there everyone, OK this script worked perfectly on my own apache webserver and I had to move it to the main live server, but for some reason it's not passing session values in the same way and i'm positive it's something damn obvious. On my server I can use: echo $credits_system; echo $cre

Re: [PHP-DB] sessions

2004-12-09 Thread Warren Mason
Thanks to everyone that replied. All working great now thanks. Warren >>> Jochem Maas <[EMAIL PROTECTED]> 10/12/2004 2:47:28 pm >>> try using the $_SESSION superglobal var (google is your friend if its new to you.) no need to register (still need to do session_start() though) just do... $

Re: [PHP-DB] sessions

2004-12-09 Thread Jochem Maas
try using the $_SESSION superglobal var (google is your friend if its new to you.) no need to register (still need to do session_start() though) just do... $_SESSION['MyValue'] = array( 'name' => $username, 'level' => $account_level ); ...or something like that. (also works for o

[PHP-DB] sessions

2004-12-09 Thread Warren Mason
I am attempting to get information from a mysql database and then use this in a session. Is there a trick to using sessions? For example, can something like below be placed anywhere in a script? (I have the session_start(); at the very top of my page.) session_register( "session_username" )

[PHP-DB] Sessions, Cookies and other

2004-03-19 Thread Craig Hoffman
Hi there, I have a script where the administrator of the site can add / edit / delete records. Here's how its works: basically the admin selects a user from a drop down menu and hits submit. This goes to a page where it queries the DB and returns some basic info - name, email address and so

RE: [PHP-DB] Sessions and input form

2003-11-24 Thread Aleks @ USA.net
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 12:30 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] Sessions and input form Dear Aleks: What I usually do for a situation like this is... 1) User fills out form and data is INSERTed into the table. If you

Re: [PHP-DB] Sessions and input form

2003-11-24 Thread jeffreyb
Dear Aleks: What I usually do for a situation like this is... 1) User fills out form and data is INSERTed into the table. If you use auto_increment for the row id, use PHP's mysql_insert_id to get the id and use this for step 2. 2) Page confirms data by SELECTing the data from the MySQL table

[PHP-DB] Sessions and input form

2003-11-23 Thread Aleks Kalynovych
Hi all, I have a form that when populated and submitted is entered into a MySQL dB. What I would like to do is be able to present the submitter with a confirmation page listing the information from the form and then ask them to confirm their submission. Also, if there is a problem or want to chang

Re: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread Tristan . Pretty
Cheers to everyone... the curly brackets was me not thinking after a boozy lunch, and trying to recreate code, on an E-mail.. anyhoo... I thought the best idea, and the simplest for me, was to remove the ' from the session recall Turning $_SESSION['salutation'] --> INTO --> $_SESSION[salutation

Re: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread George Patterson
On Thu, 16 Oct 2003 13:33:28 +0100 [EMAIL PROTECTED] wrote: > Not sure if this is a MySQL Q. or a PHP one, but here goes... > > I'm just learning sessions... > And I'm trying to add a session variable to a MySQL database. > I've done this page that takes the results from a previous form... > But

RE: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread Michael.J.Bourke
#x27;city']."\");"); This MIGHT work :-) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 13:33 To: [EMAIL PROTECTED] Subject: [PHP-DB] Sessions and MySQL? Not sure if this is a MySQL Q. or a PHP one, but here goes.

RE: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread Michael.J.Bourke
7;name']."\", \"".$_SESSION['city']."\" } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 16 October 2003 13:33 To: [EMAIL PROTECTED] Subject: [PHP-DB] Sessions and MySQL? Not sure if this is a MySQL Q. or a PH

RE: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread Hutchins, Richard
Thursday, October 16, 2003 9:08 AM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Sessions and MySQL? > > > From: <[EMAIL PROTECTED]> > > > And I'm trying to add a session variable to a MySQL database. > > I've done this page that

Re: [PHP-DB] Sessions and MySQL?

2003-10-16 Thread CPT John W. Holmes
From: <[EMAIL PROTECTED]> > And I'm trying to add a session variable to a MySQL database. > I've done this page that takes the results from a previous form... > But I get this error: > Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or > `T_NUM_STRING' > On line 83 > Which

[PHP-DB] Sessions and MySQL?

2003-10-16 Thread Tristan . Pretty
Not sure if this is a MySQL Q. or a PHP one, but here goes... I'm just learning sessions... And I'm trying to add a session variable to a MySQL database. I've done this page that takes the results from a previous form... But I get this error: Parse error: parse error, expecting `T_STRING' or `T_VA

[PHP-DB] Sessions help needed!

2003-07-05 Thread John Fuller
Hello all, I am new to php in general and am trying to set up a user authentification system with mysql. The registration page works well and sends all of the data to the appropriate table in mysql. However, when I try to get the registered user to log in and start a session, the system

Re: [PHP-DB] SESSIONS

2003-02-26 Thread mike karthauser
on 26/2/03 12:58 pm, MaN at [EMAIL PROTECTED] wrote: > And also use $_POST[SUBMIT] or set register_globals On Just use $_POST[SUBMIT] register_globals was turned off for security reasons. You are compromising the security of your system if you turn it back on. -- Mike Karthauser Managing Direc

Re: [PHP-DB] SESSIONS

2003-02-26 Thread MaN
And also use $_POST[SUBMIT] or set register_globals On > You need to register you varible first with the session > > -Original Message- > From: David Rice [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 25, 2003 3:10 PM > To: [EMAIL PROTECTED] > Subje

RE: [PHP-DB] SESSIONS

2003-02-25 Thread Dennis Cole
You need to register you varible first with the session -Original Message- From: David Rice [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 3:10 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] SESSIONS Here's something i can't get working it won't go to the last

[PHP-DB] SESSIONS

2003-02-25 Thread David Rice
Here's something i can't get working it won't go to the last clause of this page i don't think it can set the session variable anyone see what im doing wrong? i need more caffeine to get my brain fired up today lol.. ===

RE: [PHP-DB] Sessions and Temporary Tables

2003-02-01 Thread John W. Holmes
> I'm trying to create a temporary table through a query call in php and > have no guiding documentation to refer to. I assume it can be created > as any other query call. I would use CREATE INSERT but the insert data > is coming from a while loop. I understand that the temporary table > require

[PHP-DB] Sessions and Temporary Tables

2003-02-01 Thread Michael Conway
I'm trying to create a temporary table through a query call in php and have no guiding documentation to refer to. I assume it can be created as any other query call. I would use CREATE INSERT but the insert data is coming from a while loop. I understand that the temporary table requires registra

RE: [PHP-DB] Sessions problems

2003-01-06 Thread Ford, Mike [LSS]
> -Original Message- > From: Sabina Alejandr Schneider [mailto:[EMAIL PROTECTED]] > Sent: 05 January 2003 20:17 > > Hello everybody > I was trying to use Sessions, but I had some problems. > > I have an old version of the Apache, that comes with the > Red Hat 7.2. > > when executin

[PHP-DB] Sessions problems

2003-01-05 Thread Sabina Alejandr Schneider
Hello everybody I was trying to use Sessions, but I had some problems. I have an old version of the Apache, that comes with the Red Hat 7.2. when executing this in my page: session_start(); if(!isset($_SESSION['s_test'])){ $_SESSION['s_prueba']=1; } There appear this in the page: Warni

Re: [PHP-DB] Sessions Vs DB Access

2002-11-25 Thread Andrey Hristov
ginal Message - From: "Mika Tuupola" <[EMAIL PROTECTED]> To: "Peter Beckman" <[EMAIL PROTECTED]> Cc: "Dave Smith" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 11:30 AM Subject: Re: [PHP-DB] Sessions Vs DB Access >

Re: [PHP-DB] Sessions Vs DB Access

2002-11-25 Thread Mika Tuupola
On Sun, 24 Nov 2002, Peter Beckman wrote: > Don't forget that you can use the DB to store PHP Sessions as well, which > is faster than storing the sessions in /tmp on the file system. If you > have well written SQL, you can have 5-30 queries per page, most of which > should return the data in und

Re: [PHP-DB] Sessions Vs DB Access

2002-11-24 Thread Peter Beckman
Don't forget that you can use the DB to store PHP Sessions as well, which is faster than storing the sessions in /tmp on the file system. If you have well written SQL, you can have 5-30 queries per page, most of which should return the data in under 1/100 of a second. I was running a site doing 1

Re: [PHP-DB] Sessions Vs DB Access

2002-11-24 Thread Dave Smith
Chris, I'm assuming you're running this thing on *nix. Session variables are stored on the file system. PHP writes them out to /tmp, where it subsequently reads them upon request. The question is: How good at caching is your DB? If it can cache common select queries, then you are probably bett

[PHP-DB] Sessions Vs DB Access

2002-11-24 Thread Chris Payne
Hi there everyone, I have a system I am programming, and each page needs to get various config elements from a DB, of course this means lots of DB access for each page. What I was wondering is, after the user has logged in successfully it currently stores their email, name, address and a few other

Re: [PHP-DB] SESSIONS

2002-11-01 Thread Peter Beckman
Do this instead: $user = mysql_fetch_object($sql_result); $_SESSION['user'] = $user; Then, you can use stuff like: print "{$_SESSION[user]->name}"; // or if register_globals is on print "$user->name"; // which is nice because you don't have to {} the var or ".$var[name]." Peter On Fri, 1 Nov

[PHP-DB] SESSIONS

2002-11-01 Thread wade
How would one go about registering a session if you were to create the session based on the users ID and NAME from the database. I have the users ID and NAME already being pulled from the database and being stored in variables named $id and $name. I have latest version of PHP so I think I need to

Re: [PHP-DB] sessions tutorial

2002-10-10 Thread Ruth Zhai
To: <[EMAIL PROTECTED]> Sent: Friday, October 11, 2002 3:54 AM Subject: [PHP-DB] sessions tutorial > Sorry, Michael, I meant to send this to the list, not just to you. I > apologize. > > > > > Hello all, > > I am a php newbie and am currently developing my first ph

[PHP-DB] sessions tutorial

2002-10-10 Thread Edward Peloke
Sorry, Michael, I meant to send this to the list, not just to you. I apologize. Hello all, I am a php newbie and am currently developing my first php page. My page will allow several people to log in at the same time sharing access to the mysql db. SO, I need to use sessions. Does anyone

Re: [PHP-DB] Sessions and their function

2002-09-12 Thread nikos
amic (.php) - - Original Message - From: "LOUD, Mark" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, September 12, 2002

[PHP-DB] Sessions and their function

2002-09-12 Thread LOUD, Mark
Hi, I know this my sound stupid but here it goes.. Can sessions be used to pass variables from one page to the next to create persistent data? I have this working to a certain extent but can only pass a variable to my second page, but not from my second page onto the third. Also in my second

Re: [PHP-DB] sessions

2002-05-23 Thread Terry Romine
I just downloaded one yesterday from sourceforge http://www.oscommerce.com/ It looks real solid, and easy to config via web interface. On Thursday, May 23, 2002, at 09:56 AM, matt stewart wrote: > i'd imagine there'll be a decent one on phpbuilder, or devshed, or > webmonkey, or phpwizard > if

Re: [PHP-DB] sessions

2002-05-23 Thread César L . Aracena
ck it out in order to solve lots and lots of questions. Cesar Aracena [EMAIL PROTECTED] Neuquen, Argentina - Original Message - From: "James Kupernik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 23, 2002 11:47 AM Subject: Re: [PHP-DB] sessions &

Re: [PHP-DB] sessions

2002-05-23 Thread James Kupernik
way of solving the basket solution. > > -Original Message- > From: James Kupernik [mailto:[EMAIL PROTECTED]] > Sent: 23 May 2002 16:15 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] sessions > > > Thanks .. it is the wonders of open source. > > Are sessions required for

RE: [PHP-DB] sessions

2002-05-23 Thread matt stewart
if you don't want people to log in, then sessions are really the only sensible way of solving the basket solution. -Original Message- From: James Kupernik [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 16:15 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] sessions Thanks .. it is the wo

Re: [PHP-DB] sessions

2002-05-23 Thread James Kupernik
gt; -Original Message- > From: James Kupernik [mailto:[EMAIL PROTECTED]] > Sent: 23 May 2002 15:48 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] sessions > > > Do you know where there is any good tutorials on creating a php shopping > cart? > > I enabled the auto.

RE: [PHP-DB] sessions

2002-05-23 Thread matt stewart
riginal Message- From: James Kupernik [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 15:48 To: [EMAIL PROTECTED] Subject: Re: [PHP-DB] sessions Do you know where there is any good tutorials on creating a php shopping cart? I enabled the auto.session_start .. then took out session_start .. th

Re: [PHP-DB] sessions

2002-05-23 Thread James Kupernik
n message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > sent the session_start(); before any output, that should do it... > > -Original Message- > From: James Kupernik [mailto:[EMAIL PROTECTED]] > Sent: 23 May 2002 15:38 > To: [EMAIL PROTECTED] > Subject: [PHP-DB]

RE: [PHP-DB] sessions

2002-05-23 Thread matt stewart
sent the session_start(); before any output, that should do it... -Original Message- From: James Kupernik [mailto:[EMAIL PROTECTED]] Sent: 23 May 2002 15:38 To: [EMAIL PROTECTED] Subject: [PHP-DB] sessions I get this error when I try to start a session (I'm trying to create a sho

[PHP-DB] sessions

2002-05-23 Thread James Kupernik
I get this error when I try to start a session (I'm trying to create a shopping cart). Warning: Cannot send session cache limiter - headers already sent Thanks -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Sessions

2002-02-04 Thread Álvaro Muñoz Sánchez
Hi, all First of all, I apologize if this is a dump question but I can't find the answer. I'm trying to use sessions to keep the information about user and password in a database driven web application. I am trying with a simple web page but I can't make it work correctly. Help me, please. En

Re: [PHP-DB] Sessions and Frames

2001-10-18 Thread Raquel Rice
> > -Original Message- > > From: TJayBelt <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > Date: Thursday, October 18, 2001 8:28 AM > > Subject: [PHP-DB] Sessions and Frames > > > > > > >I hav

RE: [PHP-DB] Sessions and Frames

2001-10-18 Thread Premysl Dedic
I also suppose that something is printed before Header() function. Suppose, that you have code: I such a case NO BLANK characters are allowed after closing "?>" in included "xxx" file. Newline is enough to produce an error, you have received. Premysl Dedic, Need, a.s. (Quest Group, a.s.

RE: [PHP-DB] Sessions and Frames

2001-10-18 Thread Nally, Tyler G.
legion.org <http://www.legion.org> // // > -Original Message- > From: Dobromir Velev [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] > Sent: Thursday, October 18, 2001 3:50 AM > To: TJayBelt; [EMAIL PROTECT

Re: [PHP-DB] Sessions and Frames

2001-10-18 Thread Dobromir Velev
- From: TJayBelt <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Date: Thursday, October 18, 2001 8:28 AM Subject: [PHP-DB] Sessions and Frames >I have a site that is successfully using sessions and authentication. >However, I am working on another site, and it uses

[PHP-DB] Sessions and Frames

2001-10-17 Thread TJayBelt
I have a site that is successfully using sessions and authentication. However, I am working on another site, and it uses Frames. The first site does not use frames, so including the unit that has the session stuff first works. But on the frames site, it gives the following error : 'Cannot ad

[PHP-DB] sessions

2001-09-30 Thread nirat
how do u work with sessions in php IIS 5. -- PHP Database 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-mail: [EMAIL PROTECTED]

RE: [PHP-DB] sessions in PHP

2001-09-24 Thread Dave Watkinson
http://www.php.net/session -Original Message- From: nirat [mailto:[EMAIL PROTECTED]] Sent: 25 September 2001 06:46 To: [EMAIL PROTECTED] Subject: [PHP-DB] sessions in PHP can anyone guide me to using sessions in PHP i've tried it a lot of times but its not working. any help tuto

[PHP-DB] sessions in PHP

2001-09-24 Thread nirat
can anyone guide me to using sessions in PHP i've tried it a lot of times but its not working. any help tutorials would be helpful... -- Nirat -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

RE: [PHP-DB] sessions and page refresh?

2001-05-06 Thread Beau Lebens
al to keep the user out of an endless loop :) // -Original Message- // From: DC [mailto:[EMAIL PROTECTED]] // Sent: Monday, 7 May 2001 12:42 PM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] sessions and page refresh? // // // Hi All // // I have a call to session_destroy(); // // This

[PHP-DB] sessions and page refresh?

2001-05-06 Thread DC
Hi All I have a call to session_destroy(); This works But I also want to refresh the page as well. So onclick of button 1. session_destroy(); 2 refresh page. Any help or ideas are welcome as always Thank you in advance Dave C -- PHP Database Mailing List (http://www.php.net/) To

Re: [PHP-DB] Sessions ???

2001-05-02 Thread Joe Brown
Doh! I meant there is "NO dire need" ""Joe Brown"" <[EMAIL PROTECTED]> wrote in message 9cp3kv$3hj$[EMAIL PROTECTED]">news:9cp3kv$3hj$[EMAIL PROTECTED]... > For this operation there is dire need for session management. > > And remember the default variable order EGPCS may cause you trouble if > yo

RE: [PHP-DB] Sessions ???

2001-05-02 Thread Steve Brett
when you build the string for the ahref just insert the value of $topidID like so echo 'link name here'; Steve > -Original Message- > From: DC [mailto:[EMAIL PROTECTED]] > Sent: 02 May 2001 14:24 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-DB] Sessions ???

Re: [PHP-DB] Sessions ???

2001-05-02 Thread Joe Brown
For this operation there is dire need for session management. And remember the default variable order EGPCS may cause you trouble if you're sending a put variable across with the same name as a session variable. Session vars take presidence in the global scope. http://localhost/forums/view.php?

Re: [PHP-DB] Sessions ???

2001-05-02 Thread John Edward Molano
02, 2001 08:26:28 To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-DB] Sessions ???  Dave,What you need to do is make sure that the variable: $topidID is being set to a value first (before you register it you must get it from the table. Once it is

Re: [PHP-DB] Sessions ???

2001-05-02 Thread DC
Steve > > > > -Original Message- > > From: DC [mailto:[EMAIL PROTECTED]] > > Sent: 02 May 2001 13:54 > > To: [EMAIL PROTECTED] > > Subject: [PHP-DB] Sessions ??? > > > > > > Hi All > > I have a ? about setting a session. > > &g

Re: [PHP-DB] Sessions ???

2001-05-02 Thread Angie Tollerson
Dave, What you need to do is make sure that the variable: $topidID is being set to a value first (before you register it you must get it from the table. Once it is set you need to register it as you did BUT WITHOUT the $. So it will say: Make sure that session_start is ALWAYS before any head

RE: [PHP-DB] Sessions ???

2001-05-02 Thread Steve Brett
try session_register("topidID"); without the $ Steve > -Original Message- > From: DC [mailto:[EMAIL PROTECTED]] > Sent: 02 May 2001 13:54 > To: [EMAIL PROTECTED] > Subject: [PHP-DB] Sessions ??? > > > Hi All > I have a ? about setting a session.

[PHP-DB] Sessions ???

2001-05-02 Thread DC
Hi All I have a ? about setting a session. I have a functions.inc file and at the top have put my session statment that looks like this. $topicID comes from my mysql db. What i am trying to do is set the $topicID of my message board so that when a sucessful post has been made the visitor can

Re: [PHP-DB] Sessions w/ Communicator 4.7 Problem

2001-04-19 Thread Johannes Janson
Hi, > $test = "The session data was transferred."; > echo "Click this link: test2.php"; change this to test2.php"; you need to specify a variable name first behind the ?. It worked for me on NS 4.75 Johannes > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [E

[PHP-DB] Sessions w/ Communicator 4.7 Problem

2001-04-18 Thread Luke Muszkiewicz
Hey Folks: I am finally using PHP sessions in IE 5.5 and NN 6 successfully, but I am not able to retrieve the data from my registered variables in Communicator 4.7. I created a simplified test app at the following URL: http://puredev.com/session/test1.php If you would be so kind, open this URL

Re: [PHP-DB] sessions and page has expired warning

2001-04-16 Thread Aleksey Yarilovets
Hi! I had exactly the same problem and i found the script that does the job. At the begining of your script write this: if ( $rd == 1 ) { $tmp_str_store = "var_list_str"; session_register ( "$tmp_str_store" ); $$tmp_str_store = ""; foreach ($HTTP_POST_VARS as $k => $v) if (

Re: [PHP-DB] sessions and page has expired warning

2001-04-15 Thread Aleksey Yarilovets
Hi! I had exactly the same problem with back/forward and i found the script that does the job: ""olinux"" <> wrote in message 000a01c0c0aa$2d465050$6401a8c0@amdk7">news:000a01c0c0aa$2d465050$6401a8c0@amdk7... I am using sessions to store variables until all forms have been filled out. at

Re: [PHP-DB] sessions and page has expired warning

2001-04-12 Thread Phil Jackson
Here, I think you may be over - using session variables a bit...have not used them in php, as I have version 3, which doesn't support them. However, by day I am an ASP developer, and article after article I read warns about session variables! They are great, but can hog memory, especially if

Re: [PHP-DB] sessions and page has expired warning

2001-04-10 Thread Marc Bragg
Could you briefly outline how you store variables using sessions until the forms are completed? Or point to a tutorial? thanx. olinux wrote: > I am using sessions to store variables until all forms have been filled out. at this >point they are put into the db. > I would like to know how i can

[PHP-DB] sessions and page has expired warning

2001-04-08 Thread olinux
I am using sessions to store variables until all forms have been filled out. at this point they are put into the db. I would like to know how i can eliminate the problem that occurs when the user presses the back button. I receive a "warning, page has expired... press refresh" I know that pres

Re: [PHP-DB] Sessions and MySQL

2001-03-21 Thread Mark Robinson
Hello Rob, Tuesday, 20 March 2001, you wrote: RW> I am trying to implement session support with mysql. I am using RW> session.set_save_handler but don't really have a great set of functions does RW> anyone have some good ones? Try http://www.phpbuilder.com/columns/ying2602.php3 Mark -

[PHP-DB] Sessions and MySQL

2001-03-20 Thread Rob Wheeldon
I am trying to implement session support with mysql. I am using session.set_save_handler but don't really have a great set of functions does anyone have some good ones? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP-DB] Sessions in Functions

2001-03-16 Thread Jordan Elver
Hi, I have some code which I decided to make into a function. Some of the code updates a session var which holds the current time. It now does not work. // update session variable with new time session_register("LOGGED_IN['time']"); $LOGGED_IN['time'] = mktime();

RE: [PHP-DB] Sessions in Functions

2001-03-16 Thread Allsebrook_Richard/askr
BDY.RTF -- PHP Database 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-mail: [EMAIL PROTECTED]

[PHP-DB] sessions

2001-02-22 Thread Pankaj Ahuja
I am trying to execute the following code. It all works fine if the code is executed second time onwards. When the code is executed for the first time (a new session is created) the value of PHPSESSID is not assigned. Could this be because session.auto_start is assigned a value of 0 ? What could b

[PHP-DB] sessions vars problem ....

2001-02-06 Thread Steve Brett
hi, i need to store the date as $day, $month, $year and then build it into some selectors when a user returns to the page. so they chhose a date and it stays constant as they move around the site. i have a department id that does the same and i've duplicated the code for day, month, year etc and