Re: [PHP] sessions and expirations and isolations

2012-01-19 Thread tamouse mailing lists
On Tue, Jan 17, 2012 at 5:17 PM, Haluk Karamete wrote: > This brings the question to the following; > WHEN DOES THE SERVER KNOW THAT A USER IS REALLY GONE OR HE CLOSED HIS BROWSER? Just addressing this quesiton -- you are correct that the browser does not tell the application when it closes. What

RE: [PHP] sessions and expirations and isolations

2012-01-18 Thread Ford, Mike
> -Original Message- > From: Stuart Dallas [mailto:stu...@3ft9.com] > Sent: 18 January 2012 12:02 > > On 17 Jan 2012, at 23:17, Haluk Karamete wrote: > > > I'm afraid session.cookie_lifetime = 0 keeps all session data ( > that > > is past and present ) in server memory until a server rest

Re: [PHP] sessions and expirations and isolations

2012-01-18 Thread Stuart Dallas
On 17 Jan 2012, at 23:17, Haluk Karamete wrote: > Back to this session expiration... > > that old quote said... > > The default behaviour for sessions is to keep a session open > indefinitely and only to expire a session when the browser is closed. > This behaviour can be changed in the php.ini

Re: [PHP] sessions and expirations and isolations

2012-01-17 Thread Haluk Karamete
Back to this session expiration... that old quote said... The default behaviour for sessions is to keep a session open indefinitely and only to expire a session when the browser is closed. This behaviour can be changed in the php.ini file by altering the line: session.cookie_lifetime = 0 If you

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Haluk Karamete
great exp. now I'm heading towards the http://www.php.net/manual/en/session.configuration.php#ini.session.cookie_path. you definitely deserved a good chocolate cookie! On Mon, Jan 16, 2012 at 6:38 PM, Stuart Dallas wrote: > On 17 Jan 2012, at 02:21, Haluk Karamete wrote: > >> Well Stuart, >> >>

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Stuart Dallas
On 17 Jan 2012, at 02:21, Haluk Karamete wrote: > Well Stuart, > > When I said this > >> In ASP, I create a virtual app at the IIS server - assigning a virtual >> dir path to the app, and from that point on, any page being served >> under that virtual path is treated as an isolated ASP app and t

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Haluk Karamete
Well Stuart, When I said this > In ASP, I create a virtual app at the IIS server - assigning a virtual > dir path to the app, and from that point on, any page being served > under that virtual path is treated as an isolated ASP app and thus the > sessions are kept isolated and not get mixed up by

Re: [PHP] sessions and expirations and isolations

2012-01-16 Thread Stuart Dallas
On 16 Jan 2012, at 22:51, Haluk Karamete wrote: > Hi, in ASP, sessions expire when the client does not request an asp > page for more than 20 min. (The 20 min thing is a server level setting > - which can be changed by IIS settings ) And sessions work out of the > box. > > I use sessions a lot.

[PHP] sessions and expirations and isolations

2012-01-16 Thread Haluk Karamete
Hi, in ASP, sessions expire when the client does not request an asp page for more than 20 min. (The 20 min thing is a server level setting - which can be changed by IIS settings ) And sessions work out of the box. I use sessions a lot. So, most likely, I would keep that style in my PHP apps too.

Re: [PHP] Sessions and Security Concerns

2010-03-29 Thread Nathan Rixham
Ashley Sheridan wrote: > On Mon, 2010-03-29 at 12:24 +0100, Ben Stones wrote: > >> Hi, >> >> I'm just wondering whether there are any apparent security concerns I should >> be aware of when using sessions in my PHP scripts. I understand that >> sessions are tracked with an individual user via a se

Re: [PHP] Sessions and Security Concerns

2010-03-29 Thread Ashley Sheridan
On Mon, 2010-03-29 at 12:24 +0100, Ben Stones wrote: > Hi, > > I'm just wondering whether there are any apparent security concerns I should > be aware of when using sessions in my PHP scripts. I understand that > sessions are tracked with an individual user via a session ID which is > stored in a

[PHP] Sessions and Security Concerns

2010-03-29 Thread Ben Stones
Hi, I'm just wondering whether there are any apparent security concerns I should be aware of when using sessions in my PHP scripts. I understand that sessions are tracked with an individual user via a session ID which is stored in a temporary location on the server, as well as a PHPSESSID cookie a

Re: [PHP] sessions and email

2009-11-12 Thread Andrew Ballard
On Thu, Nov 12, 2009 at 1:21 PM, Ashley Sheridan wrote: > On Thu, 2009-11-12 at 13:17 -0500, Dan Shirah wrote: > >> All, >> >> I am using sessions for my application to verify a user has logged in: >> >> // Verify the user is logged in. >> if (!isset($_SESSION['basic_is_logged_in']) >>     || $_SE

Re: [PHP] sessions and email

2009-11-12 Thread Ashley Sheridan
On Thu, 2009-11-12 at 13:17 -0500, Dan Shirah wrote: > All, > > I am using sessions for my application to verify a user has logged in: > > // Verify the user is logged in. > if (!isset($_SESSION['basic_is_logged_in']) > || $_SESSION['basic_is_logged_in'] !== true) { > // If not logged in

[PHP] sessions and email

2009-11-12 Thread Dan Shirah
All, I am using sessions for my application to verify a user has logged in: // Verify the user is logged in. if (!isset($_SESSION['basic_is_logged_in']) || $_SESSION['basic_is_logged_in'] !== true) { // If not logged in, redirect to the login page. header('Location: login.php'); e

Re: [PHP] php sessions and Google (Solved)

2006-06-08 Thread tedd
At 12:47 PM +1000 6/8/06, Chris wrote: >tedd wrote: >>At 10:56 AM +1000 6/8/06, Chris wrote: >>>tedd wrote: Hi gang: I've read that php sessions can create problems for Google bots. -snip- >>Chris: >> >>Thanks -- after your lead, I found that my site's session.use_trans_sid was >>tu

Re: [PHP] php sessions and Google

2006-06-07 Thread Anthony Ettinger
On 6/7/06, tedd <[EMAIL PROTECTED]> wrote: Can someone shed some light on this for me? How can one do sessions and make Google bots happy? I think what they're getting at is don't use session id's unless they're logged in. -- Anthony Ettinger Signature: http://chovy.dyndns.org/hcard.html --

Re: [PHP] php sessions and Google

2006-06-07 Thread Chris
tedd wrote: At 10:56 AM +1000 6/8/06, Chris wrote: tedd wrote: Hi gang: I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center: -- Quote -- Allow search bots to crawl your sites without session IDs or argum

Re: [PHP] php sessions and Google

2006-06-07 Thread tedd
At 10:56 AM +1000 6/8/06, Chris wrote: >tedd wrote: >>Hi gang: >> >>I've read that php sessions can create problems for Google bots. For example, >>the following was taken from a Google "Web Master Help" Center: >> >>-- Quote -- >>Allow search bots to crawl your sites without session IDs or argume

Re: [PHP] php sessions and Google

2006-06-07 Thread Chris
tedd wrote: Hi gang: I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center: -- Quote -- Allow search bots to crawl your sites without session IDs or arguments that track their path through the site. These t

[PHP] php sessions and Google

2006-06-07 Thread tedd
Hi gang: I've read that php sessions can create problems for Google bots. For example, the following was taken from a Google "Web Master Help" Center: -- Quote -- Allow search bots to crawl your sites without session IDs or arguments that track their path through the site. These techniques are

Re: [PHP] Sessions and Frames

2006-04-13 Thread Richard Lynch
On Wed, April 5, 2006 1:02 pm, Shaun wrote: > I have a site that uses frames. The frameset loads another site (both > on the > same server) in the lower frame window. Every time the page changes in > the > lower frame the session id changes, how can I stop this happening? A) Don't use frames. The

Re: [PHP] php, sessions and ie

2006-04-06 Thread Dallas Cahker
Message- > From: Dallas Cahker [mailto:[EMAIL PROTECTED] > Sent: 04 April 2006 19:41 > To: php-general@lists.php.net > Subject: Re: [PHP] php, sessions and ie > > How are you destroying the sessions if they leave the site (dont logout). > do > you check on activity or

Re: [PHP] Sessions and Frames

2006-04-05 Thread Shaun
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Wed, April 5, 2006 1:33 pm, Joe Wollard wrote: >> If you can't avoid them, keep it simple - just store the ID in one >> place, >> like a session cookie. Doing so will make sure that if the session ID >> gets >> cha

Re: [PHP] Sessions and Frames

2006-04-05 Thread Richard Lynch
On Wed, April 5, 2006 1:33 pm, Joe Wollard wrote: > If you can't avoid them, keep it simple - just store the ID in one > place, > like a session cookie. Doing so will make sure that if the session ID > gets > changed in one frame it will still be correct in all of the other > frames. No, it won't.

Re: [PHP] Sessions and Frames

2006-04-05 Thread Joe Wollard
I agree with Richard on this one. Frames should really be avoided if for no other reason than they cause headaches like the one you have right now. ;-) If you can't avoid them, keep it simple - just store the ID in one place, like a session cookie. Doing so will make sure that if the session ID ge

Re: [PHP] Sessions and Frames

2006-04-05 Thread Richard Lynch
On Wed, April 5, 2006 1:02 pm, Shaun wrote: > I have a site that uses frames. The frameset loads another site (both > on the > same server) in the lower frame window. Every time the page changes in > the > lower frame the session id changes, how can I stop this happening? You might be able to redu

[PHP] Sessions and Frames

2006-04-05 Thread Shaun
Hi, I have a site that uses frames. The frameset loads another site (both on the same server) in the lower frame window. Every time the page changes in the lower frame the session id changes, how can I stop this happening? Thanks for your help -- PHP General Mailing List (http://www.php.net/

RE: [PHP] php, sessions and ie

2006-04-04 Thread Chrome
] php, sessions and ie How are you destroying the sessions if they leave the site (dont logout). do you check on activity or something else? On 4/4/06, Dan Parry <[EMAIL PROTECTED]> wrote: > > I have had some issues with sessions and IE in the past and used the > following code to st

Re: [PHP] php, sessions and ie

2006-04-04 Thread Dallas Cahker
lways use a DB to store sessions... Much nicer > > HTH > > Dan > > - > Dan Parry > Senior Developer > Virtua Webtech Ltd > http://www.virtuawebtech.co.uk > -Original Message- > From: Dallas Cahker [mailto:[EMAIL PROTECTED] > Sent: 04 April 2006 16:19 > To:

RE: [PHP] php, sessions and ie

2006-04-04 Thread Dan Parry
://www.virtuawebtech.co.uk -Original Message- From: Dallas Cahker [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 16:19 To: php-general@lists.php.net Subject: [PHP] php, sessions and ie I've been hearing some of my friends saying there is an issue with Session in PHP and IE having problems with

Re: [PHP] php, sessions and ie

2006-04-04 Thread Wolf
I used to use a database table which housed their information, and their cookie housed their sessionID that the server assigned them when they logged in. Grabbing the sessionID only from the cookie (and their IP) I was able to log most people in (even "dynamic" IPs don't change THAT often). For t

[PHP] php, sessions and ie

2006-04-04 Thread Dallas Cahker
I've been hearing some of my friends saying there is an issue with Session in PHP and IE having problems with them. Is that true? If it is how do people get around this? Session information saved to db? Session id in cookie?

Re: [PHP] Sessions and register_long_arrays

2005-11-05 Thread Marcus Bointon
On 5 Nov 2005, at 00:25, Unknown Unknown wrote: how do you reference the sessions? do you refrence them *with* the old arrays? because that would obviously be a problem No, obviously that would be dumb! There is no mention of the old style HTTP_*_VARS arrays anywhere in my code. Smarty does

Re: [PHP] Sessions and register_long_arrays

2005-11-04 Thread Unknown Unknown
how do you reference the sessions? do you refrence them *with* the old arrays? because that would obviously be a problem

RE: [PHP] Sessions and register_long_arrays

2005-11-02 Thread Ford, Mike
-Original Message- From: Marcus Bointon [mailto:[EMAIL PROTECTED] Sent: 29 October 2005 14:48 Strange behaviour that's taken me ages to track down. I have the situation where I can create a session, but any changes to it are not saved. session_write_close() didn't help. Eventually I t

Re: [PHP] Sessions and register_long_arrays

2005-10-29 Thread Marcus Bointon
On 29 Oct 2005, at 14:48, Marcus Bointon wrote: changing an item in $_SESSION simply does not get saved back to the session file if register_long_arrays is enabled. I meant disabled. I've also tried using it with the mm session save handler and I get the same symptoms. I also get identical

[PHP] Sessions and register_long_arrays

2005-10-29 Thread Marcus Bointon
Strange behaviour that's taken me ages to track down. I have the situation where I can create a session, but any changes to it are not saved. session_write_close() didn't help. Eventually I tracked it down: if you have register_long_arrays disabled (as is the default in PHP5), this can happ

Re: [PHP] Sessions and frames

2005-04-16 Thread Gustav Wiberg
Hi there! Thanx a lot, i thought it was like that, but I wasn't sure /G @varupiraten.se - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General" Sent: Friday, April 15, 2005

RE: [PHP] Sessions and frames

2005-04-14 Thread Chris W. Parker
Gustav Wiberg on Thursday, April 14, 2005 4:00 PM said: > I have built my site into frames. > > I want to transfer a session-variable from my left frame to my right > frame... How do I do this best? Thoughts? You do this best by setting some session data on one pag

[PHP] Sessions and frames

2005-04-14 Thread Gustav Wiberg
Hi there! I have built my site into frames. I want to transfer a session-variable from my left frame to my right frame... How do I do this best? Thoughts? /G @varupiraten.se -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions and cookies

2005-02-22 Thread Chris Shiflett
> When a session object is created - where is it store? Assuming you mean session data, it is stored on the server, in /tmp by default. > To destroy the session object (widht all session vairables inside the > particluar session object) can I use session_destroy(); http://www.php.net/session_des

Re: [PHP] Sessions and cookies

2005-02-22 Thread Jochem Maas
Brett Patterson wrote: Well, if you look in your phpinfo() file, you will see a SESSION_TIMEOUT or SESSION_LENGTH value that is something like 18... different for each server. If you hold all your session values in the array, then you can use session_destory(); as long as session_start() is pre

RE: [PHP] Sessions and cookies

2005-02-21 Thread Brett Patterson
under the impressions that both Sessions and Cookies are stored on the user end, but I may be wrong. ~Brett -Original Message- From: Jacques [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 22, 2005 1:20 AM To: php-general@lists.php.net Subject: [PHP] Sessions and cookies When a session

[PHP] Sessions and cookies

2005-02-21 Thread Jacques
When a session object is created - where is it store? (Perhaps on the application server - IIS or Appatche?) Or on a cookking on a user's computer? To destroy the session object (widht all session vairables inside the particluar session object) can I use session_destroy(); What is also the def

Re: [PHP] Sessions and Objects using PHP4

2005-01-15 Thread Jochem Maas
David OBrien wrote: I have RTFM and TTFE and still am having a heck of a time getting my objects to play well between pages The only real examples are in the notes for classes & objects http://us2.php.net/manual/en/language.oop.php (are you on php4 or php5 btw?) Basic usage indeed, you must includ

[PHP] Sessions and Objects using PHP4

2005-01-15 Thread David OBrien
I have RTFM and TTFE and still am having a heck of a time getting my objects to play well between pages The only real examples are in the notes for classes & objects http://us2.php.net/manual/en/language.oop.php Basic usage get_stats(); $songbook->populate_manu(); $songbook->populate_series(); if

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Jason Wong
On Tuesday 07 December 2004 21:48, Rory McKinley wrote: > So if I understand you correctly if the first page takes a half hour to > complete its queries, then the second page is going to sit for a half an > hour before it can access the session variables? In theory yes. But most likely your brows

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Rory McKinley
Richard Lynch wrote: Now, the question is, what will PHP do when it starts with page_9? Will it unserialize $_SESSION['policeman'] again, even though it already has an unserialized instance of $_SESSION['policeman']? If it does unserialize, does that mean that it creates a second instance of $_SES

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Richard Lynch
> Now, the question is, what will PHP do when it starts with page_9? Will > it unserialize $_SESSION['policeman'] again, even though it already has > an unserialized instance of $_SESSION['policeman']? If it does > unserialize, does that mean that it creates a second instance of > $_SESSION['police

RE: [PHP] Sessions and multiple windows

2004-12-07 Thread Richard Lynch
> external medium: POST or GET variables, a SESSION, a database, or COOKIES. > Of these, only the database is purely server-side; the session very nearly > is, maintaining only the session id client-side; whilst GET, POST and > COOKIES all involve a full round-trip to the client. (On the client si

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Richard Lynch
> So if I understand you correctly if the first page takes a half hour to > complete its queries, then the second page is going to sit for a half an > hour before it can access the session variables? > > So the only way for the user to be able to do anything while the first > page is at work is to

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Rory McKinley
Jason Wong wrote: On Tuesday 07 December 2004 20:50, Rory McKinley wrote: As Page_3.php is still doing its business the session data file is locked and when page_9.php tries to session_start() and finds it has no access to it will suspend execution until the lock is relinquished by Page_3.php.

RE: [PHP] Sessions and multiple windows

2004-12-07 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 07 December 2004 12:50, Rory McKinley wrote: [] > Page_3.php starts, unserializes $_SESSION['policeman'], and begins a > lengthy SQL query that will take a few minutes to co

Re: [PHP] Sessions and multiple windows

2004-12-07 Thread Jason Wong
On Tuesday 07 December 2004 20:50, Rory McKinley wrote: > User clicks through to page_3.php from page_2.php. > > Page_3.php starts, unserializes $_SESSION['policeman'], and begins a > lengthy SQL query that will take a few minutes to complete. When Page_3.php does its business it will have locke

[PHP] Sessions and multiple windows

2004-12-07 Thread Rory McKinley
Hi List I am afraid that this is going to be a long complicated question. And to start off with I have RTFM, STFA, STFW - and have yet to find the answer I am looking for - unless, perhaps I am asking the wrong question? But back to the subject - I have an app that allows users to open multiple

[PHP] Sessions and subdomains issues

2004-12-06 Thread Nick Wilson
Goodmorning all, My application (a third party customized cms) shares sessions across the main site and the two subdomains - or at least it should I have 'php_value session.cookie_domain ".mysite.com" and'php_value session.cookie_path "/" all set in htaccess The sesions are stored in a

RE: [PHP] Sessions and Shopping Cart

2004-12-03 Thread Chris W. Parker
R. Van Tassel on Wednesday, December 01, 2004 10:54 PM said: > I am programming a site using sessions and a shopping cart and was > wondering if someone could point me to some good tutorials online > about using sessions and a shopping cart. I have books and can read

[PHP] Sessions and Shopping Cart

2004-12-01 Thread R. Van Tassel
I am programming a site using sessions and a shopping cart and was wondering if someone could point me to some good tutorials online about using sessions and a shopping cart. I have books and can read through both (and am) but want some good *practical* and *functional* examples. Thanks in adva

Re: [PHP] Sessions and threading

2004-11-04 Thread Klaus Reimer
Devraj Mukherjee wrote: The first part of the problem is that I need to be able to at all times maintain a readable set of objects in memory, I am planning to achieve that using session variables, but I hear that session variables can become very inefficient, how true is that? Very true. In Java

Re: [PHP] Sessions and threading

2004-11-04 Thread Greg Donald
On Fri, 05 Nov 2004 00:26:24 +1100, Devraj Mukherjee <[EMAIL PROTECTED]> wrote: > The first part of the problem is that I need to be able to at all times > maintain a readable set of objects in memory, I am planning to achieve > that using session variables, but I hear that session variables can >

[PHP] Sessions and threading

2004-11-04 Thread Devraj Mukherjee
Hi everyone, I am attempting to write an implementation of Prevayler (http://sourceforge,net/projects/prevayler), which has originally been written for Java and provides a prevalance layer for storing objects using incremental log files and taking snapshots of in fixed time intervals. It seems

Re: [PHP] Sessions and Mozilla (Firefox)

2004-10-12 Thread Chris Shiflett
--- Pablo Gosse <[EMAIL PROTECTED]> wrote: > I just noticed that if I open up a Mozilla window, log into my > CMS, then open another Mozilla window (not by ctrl-n, but by > selecting it from my programs menu) and bring up the login page > in that new window, then it detects the session from the oth

[PHP] Sessions and Mozilla (Firefox)

2004-10-12 Thread Pablo Gosse
Hi folks. I've got a quick question about sessions and Mozilla. I just noticed that if I open up a Mozilla window, log into my CMS, then open another Mozilla window (not by ctrl-n, but by selecting it from my programs menu) and bring up the login page in that new window, then it detects the sessi

Re: [PHP] Sessions and Logins

2004-09-03 Thread Greg Donald
On Fri, 2004-09-03 at 15:27, Dennis Gearon wrote: > I am designing my own 'usr' class that takes care of logins. I need > to know the following to finish it. > --- > A/ Does anybody use sessions for users who are not logged into the si

[PHP] Sessions and Logins

2004-09-03 Thread Dennis Gearon
Please CC me - I am designing my own 'usr' class that takes care of logins. I need to know the following to finish it. --- A/ Does anybody use sessions for users who are not logged into the site, and why? B/ If a user goes

Re: [PHP] Sessions and PHP

2004-03-26 Thread Patrik Fomin
how do i determine if a session has been destroyed/created ? patrick "John W. Holmes" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Patrik Fomin wrote: > > Let me rephrase it, > > > > i got a login page, once logged in you you got the session > > $_SESSION['in'] = "true"; > > >

Re: [PHP] Sessions and PHP

2004-03-26 Thread John W. Holmes
Patrik Fomin wrote: Let me rephrase it, i got a login page, once logged in you you got the session $_SESSION['in'] = "true"; i want to be able to count the number of people that are logged in atm, so when they logout with either logout button or close the window, i want to then decrese the number.

[PHP] Sessions and PHP

2004-03-26 Thread Patrik Fomin
Let me rephrase it, i got a login page, once logged in you you got the session $_SESSION['in'] = "true"; i want to be able to count the number of people that are logged in atm, so when they logout with either logout button or close the window, i want to then decrese the number. In asp, you just

Re: [PHP] Sessions and PHP

2004-03-24 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > is there anyway to get the number of people connected to the site? > in asp you just use Application and session_terminate to accomplish > this is there anyway to do this in PHP? Taken literally, you are asking about the number of active connections, m

Re: [PHP] Sessions and PHP

2004-03-24 Thread Filip de Waard
On Mar 25, 2004, at 2:05 AM, Patrik Fomin wrote: is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP Hi Patrick, As far as I know this is not possible with default PHP session

[PHP] Sessions and PHP

2004-03-24 Thread Patrik Fomin
Hi,, is there anyway to get the number of people connected to the site? in asp you just use Application and session_terminate to accomplish this is there anyway to do this in PHP ? regards patrick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

[PHP] PHP Sessions and Cookies

2004-03-03 Thread Paul Higgins
I have a couple of questions regarding sessions and cookies: 1) Is there a way to append information to a cookie? I have read that it is, but I have also read many problems. Is there any particular way to do this? I ask this because cookies are being generated by two different types of scri

[PHP] sessions and virtual sites

2004-01-05 Thread Matthew Weier O'Phinney
I've got a problem with sessions and Apache virtual sites. My specs: PHP 4.3.2 on Apache 1.3.27, operating on a Red Hat 8 server with kernel 2.4.20 with SMP. I've developed a simple event calendar that uses sessions in two different instances. The first is when paging through search results; I sto

Re: [PHP] Sessions and AOL?

2003-11-16 Thread Andre Dubuc
On Sunday 16 November 2003 01:54 pm, R. Van Tassel wrote: > Hi everyone. I have a problem with a website that I don't understand. It > seems that people using AOL can't see certain sections of this website. > > It is a directory section where a drop-down menu exists, you select the > section you wa

[PHP] Sessions and AOL?

2003-11-16 Thread R. Van Tassel
Hi everyone. I have a problem with a website that I don't understand. It seems that people using AOL can't see certain sections of this website. It is a directory section where a drop-down menu exists, you select the section you want to see and the page reloads with the information. The only probl

Re: [PHP] sessions and php

2003-09-18 Thread Justin French
Assuming PHP >= 4.1 page1.php // set some session vars $_SESSION['color'] = 'red'; $_SESSION['name'] = 'Justin'; ?> page2.php // echo some session vars echo "Hello {$_SESSION['name']}, your favourite color is {$_SESSION['color']}"; // clear some session vars unset($_SESSION['name']); // modi

Re: [PHP] sessions and php

2003-09-18 Thread Chris Shiflett
--- Patrik Fomin <[EMAIL PROTECTED]> wrote: > start_session["test"] > register_session["test2"] Please read this: http://www.php.net/session Hope that helps. Chris = Become a better Web developer with the HTTP Developer's Handbook http://httphandbook.org/ -- PHP General Mailing List (htt

[PHP] sessions and php

2003-09-18 Thread Patrik Fomin
Hi, can anyone help my list the ways to create/view a session, i need to find out if my host supports any of em (kinda strange host), eg: page1.php start_session["test"] register_session["test2"] etc page2.php retrive session 1, 2 etc and display their contents regards patrick -- PHP Genera

[PHP] Sessions and frames

2003-08-27 Thread Jean-Christian IMbeault
I'm having problems getting a session to start when my script is loaded in a frame. I provide some content that another web site loads up in a frame. I have set session.autostart to true in my php.ini file so that sessions are always started automatically and use cookies. The problem is that wh

[PHP] PHP SESSIONS and FRAMES

2003-08-03 Thread Ralph Guzman
I have a shopping cart with affiliate sales support. What's happening is that some affiliates are using frames to use their domain while using our shopping cart. So they are using a frameset like this: http://www.domain.com/?store_id=15008";> The problem I'm having is that sessions ar

[PHP] Sessions and objects

2003-07-14 Thread Matt Silva
I create a new object and then assign it to a session var $customer = new Customer($_GET['facilityID'], $_GET['customerID']); $_SESSION['acceptPayment']['customer'] = $customer; but later when I access that session var [in the the same file but in a different function and different instance], php

[PHP] PHP Sessions and Cookies

2003-06-30 Thread Matt MacLeod
Guys/Gals, I've built a registration page on a site that stores a unique id for a user when they register. That id is then stored in a database and set as a session variable and as a cookie and is used to register personal user preferences. The reason I use both is that I don't really want to m

Re: [PHP] sessions and browser back[Scanned]

2003-06-26 Thread SLanger
As a suggestion can you simply redisplay your form on the error page and such avoid having to use the back button? This would also allow you to actually display the error at the place the error occurs. Another thing you might want to try is using a cache header that allows the browser to cache t

Re: [PHP] sessions and browser back[Scanned]

2003-06-25 Thread Bibhas Kumar Samanta
] > Sent: 25 June 2003 14:26 > To: [EMAIL PROTECTED] > Subject: [PHP] sessions and browser back[Scanned] > > Hi, > > I am trying to create restricted pages for my php/mysql/apache > server with sessions and passing session varibales to other pages for > validation. >

RE: [PHP] sessions and browser back[Scanned]

2003-06-25 Thread Michael Egan
before the form is submitted? Regards, Michael Egan -Original Message- From: Bibhas Kumar Samanta [mailto:[EMAIL PROTECTED] Sent: 25 June 2003 14:26 To: [EMAIL PROTECTED] Subject: [PHP] sessions and browser back[Scanned] Hi, I am trying to create restricted pages for my php/mysq

[PHP] sessions and browser back

2003-06-25 Thread Bibhas Kumar Samanta
Hi, I am trying to create restricted pages for my php/mysql/apache server with sessions and passing session varibales to other pages for validation. Eventually I am doinng session_start() at the begining and checking whether logged in user is authorised to use this page by a routine. Now proble

RE: [PHP] Sessions and login

2003-06-12 Thread Ford, Mike [LSS]
> -Original Message- > From: Angelo Zanetti [mailto:[EMAIL PROTECTED] > Sent: 11 June 2003 14:09 > session_register('user'); >$_SESSION['user'] = "ebusUser"; Just one other quick point here: if you use the $_SESSION array, you don't need to -- and, in fact, should not -- use session_

RE: [PHP] Sessions and login

2003-06-11 Thread Ford, Mike [LSS]
> -Original Message- > From: Wim Paulussen [mailto:[EMAIL PROTECTED] > Sent: 11 June 2003 14:28 > > page 1 : login.php > > input user name -> Post veriable > input password-> post variable > > page 2 : verify.php > session_start() > > // supposing name is entered > if (!$_POST['password

Re: [PHP] Sessions and login

2003-06-11 Thread Mario Oberrauch
... [shortened] > Then I want the session to call authPage (because the pw is correct) together with > the session variable. The way I am doing this (doesnt seem to be working) is to call > authPage with as a header call eg: > header("Location: authPage.php"); > > The problem I think I am havi

RE: [PHP] Sessions and login

2003-06-11 Thread Wim Paulussen
PROTECTED] Verzonden: Wednesday, June 11, 2003 3:09 PM Aan: [EMAIL PROTECTED] Onderwerp: [PHP] Sessions and login Hi guys kinda new to php. Ok I have a php page that a user has to enter a pw to gain access to another page (lets call it authPage).However before I i can grant access to authPage I want

[PHP] Sessions and login

2003-06-11 Thread Angelo Zanetti
Hi guys kinda new to php. Ok I have a php page that a user has to enter a pw to gain access to another page (lets call it authPage).However before I i can grant access to authPage I want to verify 1. that a pw was entered and 2. that it is correct. So I thought it would be better NOT to do the

Re: [PHP] Sessions and headers

2003-06-05 Thread Chris Boget
> Try including "session_cache_limiter('public');" before your > session_start(); call at the top of the page. This is *exactly* what I needed!! It worked perfectly. Thank you Ed, John very much for your feedback with this issue! Chris -- PHP General Mailing List (http://www.php.net/) To uns

RE: [PHP] Sessions and headers

2003-06-05 Thread Ed Gorski
#x27;PHP General' Subject: Re: [PHP] Sessions and headers > Are you downloading these files over HTTPS://? Yes. But I just tried to force HTTP:// and that didn't change anything. thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

Re: [PHP] Sessions and headers

2003-06-05 Thread Chris Boget
> Are you downloading these files over HTTPS://? Yes. But I just tried to force HTTP:// and that didn't change anything. thnx, Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Sessions and headers

2003-06-05 Thread Ed Gorski
Are you downloading these files over HTTPS://? Ed -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 10:24 AM To: CPT John W. Holmes; PHP General Subject: Re: [PHP] Sessions and headers > What errors, exactly? Can you show some examples?

Re: [PHP] Sessions and headers

2003-06-05 Thread Chris Boget
> What errors, exactly? Can you show some examples? The errors are not PHP. They are from the browser trying to open the data being sent from the server (the HTML or binary data) in the appropriate program. eg, Acrobat for PDF, Word for DOC, Excel for XL. For this particular case, I'm using the

Re: [PHP] Sessions and headers

2003-06-05 Thread CPT John W. Holmes
> When using PHP sessions, if the user's browser supports > cookies, PHP sets the session id as a cookie (so far as I > understand it). So when trying to use the session ID in a > script, a cookie request is sent to the browser to get the ID > and assigns it to the internal variable $PHPSESSID (ag

RE: [PHP] Sessions and headers

2003-06-05 Thread Ed Gorski
de so that we can see the problem more clearly? ed -Original Message- From: Chris Boget [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 9:52 AM To: PHP General Subject: [PHP] Sessions and headers When using PHP sessions, if the user's browser supports cookies, PHP sets the

[PHP] Sessions and headers

2003-06-04 Thread Chris Boget
When using PHP sessions, if the user's browser supports cookies, PHP sets the session id as a cookie (so far as I understand it). So when trying to use the session ID in a script, a cookie request is sent to the browser to get the ID and assigns it to the internal variable $PHPSESSID (again, so f

  1   2   3   >