Re: [PHP] Sessions in Frames...confused

2004-12-06 Thread Richard Lynch
Ryan A wrote: Hey, Do I have to start a session in index.php which is calling the sideFrame and mainFrame or just in mainFrame or just in sideFrame or in all?? AGH! going nuts! /* As far as I know there is no harm in calling session_start() in all your Iframes and Frames. According to

[PHP] Sessions in Frames...confused

2004-12-05 Thread Ryan A
Hi, Reading the different articles on phpbuilder/devshed/phpfreaks etc has left me a bit confused.. will start from the beginning so you guys(and girls) can give me some advise and show me the right path again ;-) I have a normal user/pass login screen, after which I start a session for the

Re: [PHP] Sessions in Frames...confused

2004-12-05 Thread Raditha Dissanayake
Ryan A wrote: Hi, Reading the different articles on phpbuilder/devshed/phpfreaks etc has left me a bit confused.. will start from the beginning so you guys(and girls) can give me some advise and show me the right path again ;-) I have a normal user/pass login screen, after which I start a session

RE: [PHP] Sessions and Shopping Cart

2004-12-03 Thread Chris W. Parker
R. Van Tassel mailto:[EMAIL PROTECTED] 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: Basic Information

2004-12-02 Thread Lordo
I have not yet worked with sessions and I don't know why I DO NOT WANT to understand it!! :)) I am a traditional ASPer and I am addicted to cookies. But I want to use sessions if they will make life easier for me. Can someone please direct me to an easy to understand resource with working

[PHP] Sessions

2004-12-01 Thread Gary Reimer
Hello everyone; Could someone tell me how to control the life span of a session? I understand that a session can last for the time a browser is running or something less. It seems like the sessions on my website have a finite life span and I would like to be able to control it. Thanks in

Re: [PHP] Sessions

2004-12-01 Thread Greg Donald
On Wed, 1 Dec 2004 16:01:07 -0600, Gary Reimer [EMAIL PROTECTED] wrote: Could someone tell me how to control the life span of a session? I understand that a session can last for the time a browser is running or something less. It seems like the sessions on my website have a finite life span

[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

RE: [PHP] Sessions: I don't get it!!

2004-11-15 Thread Ford, Mike
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm On 15 November 2004 06:13, [EMAIL PROTECTED] wrote: Looks like you're making it way more complicated than it needs to be. PHP will automatically tack on the Session ID tag to

[PHP] Sessions: I don't get it!!

2004-11-14 Thread Don
I'd like to do something with sessions that should be easy. But I'm new to this, and obviously I'm missing something somewhere... I want to use cookies if the visitor allows, but tack the session info (SID) get style on the URL of a linked page *only if* the visitor blocks cookies. I've tried

RE: [PHP] Sessions: I don't get it!!

2004-11-14 Thread nate
: Sunday, November 14, 2004 9:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Sessions: I don't get it!! I'd like to do something with sessions that should be easy. But I'm new to this, and obviously I'm missing something somewhere... I want to use cookies if the visitor allows, but tack the session info

[PHP] Sessions with session.use_only_cookies

2004-11-07 Thread Don
I'd like to use sessions, but implement a bit of security. As of v4.3, I have the ability to ini_set an option called session.use_only_cookies that will limit sessions to those situations where cookies are enabled, so SID won't automatically be placed in a URL. What I'm wondering is, is there

Re: [PHP] Sessions with session.use_only_cookies

2004-11-07 Thread Chris Shiflett
--- Don [EMAIL PROTECTED] wrote: What I'm wondering is, is there a test that will tell me a visitor has blocked cookies, so I can suppress any actions specific to a session? I have some example code here: http://shiflett.org/books/http-developers-handbook/code It mostly demonstrates HTTP

[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 threading

2004-11-04 Thread Greg Donald
become very inefficient, how true is that? If you store huge variable names then it will be slower than if you store small ones. Same with the session variable values. PHP sessions variables are stored as a semi-colon delimited string of text, with other appropriate seperation characters

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

[PHP] Sessions problem bug

2004-10-25 Thread Reinhart Viane
Some days ago I asked some questions concerning php and sessions Apparently it seems to be a bug: 'When you use a session name that has only numbers, each call to session_start seems to regenerate a new session id, so the session does not persist.'

RE: [PHP] Sessions question

2004-10-22 Thread Reinhart Viane
I do not think this causes the problem. It's just redundant. Thx anyway -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: donderdag 21 oktober 2004 22:11 To: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions question * Thus wrote Reinhart Viane: PHP Code // Register

RE: [PHP] Sessions question

2004-10-22 Thread Reinhart Viane
Owkee here goes: * Removing the foreach loop only supplied me with not being able to log in. But again I dunnot think this is the problem. The variables are stored correctly. At certain times the user_id sessions were just swapped... * Now I've seen that

[PHP] php sessions question

2004-10-21 Thread Reinhart Viane
in a page checkuser i do this after the user is logged in: PHP Code // Register some session variables! session_register('userid'); $_SESSION['userid'] = $userid; session_register('first_name'); $_SESSION['first_name'] =

[PHP] Sessions question

2004-10-21 Thread Reinhart Viane
Hey all, i'm new to this list so forgive me if i make any huge mistakes. I'm in a beginning stage of learning php and i hope you guys can help me out with this question: in a file named checkuser i do this when a users logs in: PHP Code // Register some session variables!

Re: [PHP] Sessions question

2004-10-21 Thread Mike Smith
On Thu, 21 Oct 2004 11:39:23 +0200, Reinhart Viane [EMAIL PROTECTED] wrote: Hey all, i'm new to this list so forgive me if i make any huge mistakes. I'm in a beginning stage of learning php and i hope you guys can help me out with this question: in a file named checkuser i do this when a

RE: [PHP] Sessions question

2004-10-21 Thread Reinhart Viane
] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions question On Thu, 21 Oct 2004 11:39:23 +0200, Reinhart Viane [EMAIL PROTECTED] wrote: Hey all, i'm new to this list so forgive me if i make any huge mistakes. I'm in a beginning stage of learning php and i hope you guys can help me out

Re: [PHP] Sessions question

2004-10-21 Thread Greg Donald
On Thu, 21 Oct 2004 14:43:45 +0200, Reinhart Viane [EMAIL PROTECTED] wrote: Hey Mike, After some intensive testing it seemed that $user_id did not solve the isue I hereby give the script to get the $user_id: // check if the user info validates the db ($username and $password are the

RE: [PHP] Sessions question

2004-10-21 Thread Reinhart Viane
to be 'on' on the server (btw PHP Version 4.2.3) Thx for the advice, I hope I can sort it out soon Greetz Reinhart -Original Message- From: Greg Donald [mailto:[EMAIL PROTECTED] Sent: donderdag 21 oktober 2004 15:47 To: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions question On Thu, 21 Oct 2004

Re: [PHP] Sessions question

2004-10-21 Thread Greg Donald
On Thu, 21 Oct 2004 16:06:37 +0200, Reinhart Viane [EMAIL PROTECTED] wrote: I don't know if this can be caused by the fact register_globals seem to be 'on' on the server (btw PHP Version 4.2.3) You can override that setting if the web server is running apache and AllowOverrides is set for your

Re: [PHP] php sessions question

2004-10-21 Thread raditha dissanayake
Reinhart Viane wrote: in a page checkuser i do this after the user is logged in: PHP Code // Register some session variables! session_register('userid'); $_SESSION['userid'] = $userid; session_register('first_name');

Re: [PHP] Sessions question

2004-10-21 Thread Mike Smith
-Original Message- From: Mike Smith [mailto:[EMAIL PROTECTED] Sent: donderdag 21 oktober 2004 13:28 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Sessions question On Thu, 21 Oct 2004 11:39:23 +0200, Reinhart Viane [EMAIL PROTECTED] wrote: Hey all, i'm new

Re: [PHP] Sessions question

2004-10-21 Thread raditha dissanayake
hi, Please don't send multiple posts, I just replied to your previous message thinking that it had not been answered, a little further down I come across this. It's very confusing to everyone. thanks -- Raditha Dissanayake.

Re: [PHP] Sessions question

2004-10-21 Thread Greg Donald
On Thu, 21 Oct 2004 10:14:47 -0400, Mike Smith [EMAIL PROTECTED] wrote: How about changing How about learning to trim your posts? Thanks. :) -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Sessions question

2004-10-21 Thread Curt Zirzow
* Thus wrote Reinhart Viane: PHP Code // Register some session variables! session_register('userid'); $_SESSION['userid'] = $userid; Do not use session_register with $_SESSION. http://php.net/session-register Curt -- Quoth the Raven, Nevermore. -- PHP General Mailing List

Re: [PHP] php sessions question

2004-10-21 Thread Pete
In message [EMAIL PROTECTED], raditha dissanayake [EMAIL PROTECTED] writes Reinhart Viane wrote: in a page checkuser i do this after the user is logged in: PHP Code // Register some session variables! session_register('userid'); $_SESSION['userid'] =

Re: [PHP] php sessions question

2004-10-21 Thread raditha dissanayake
Pete wrote: You should only save the userId in the session, everything else should be retrieved from your database using that id. I normally do as you have suggested here - but why do you suggest that this method is better? One reason is for security. You cannot ever rule out the

RE: [PHP] php sessions question

2004-10-21 Thread Reinhart Viane
I normally do as you have suggested here - but why do you suggest that this method is better? One reason is for security. You cannot ever rule out the possibility of a user injecting someone else's data into the session to get access to information that he should not have. Of course he

[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

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 other

Re: [PHP] Sessions not destroyed

2004-10-09 Thread Chris Dowell
As Marek has stated a number of times, the session options in php.ini are meant to be set to reasonable values for the usage pattern for your server, in order that you can achieve a balance between a /tmp or /var/tmp of several zillion kilobytes, and a constant 100% cpu usage as the gc routine

[PHP] Sessions not destroyed

2004-10-08 Thread Hendrik Schmieder
Hello, we have a severe problem with seesions. We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000 In our php.ini we have session.gc_probability = 100 session.gc_dividend= 100 session.gc_maxlifetime = 120 But even after 20 minutes the session file is still there. And the

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Marek Kilimajer
Hendrik Schmieder wrote: Hello, we have a severe problem with seesions. We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000 In our php.ini we have session.gc_probability = 100 session.gc_dividend= 100 Should be session.gc_divisor. And you need to start at least one other

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Hendrik Schmieder
Marek Kilimajer schrieb: Hendrik Schmieder wrote: Hello, we have a severe problem with seesions. We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000 In our php.ini we have session.gc_probability = 100 session.gc_dividend= 100 Should be session.gc_divisor OK , changed in

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Marek Kilimajer
Hendrik Schmieder wrote: Marek Kilimajer schrieb: Hendrik Schmieder wrote: Hello, we have a severe problem with seesions. We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000 In our php.ini we have session.gc_probability = 100 session.gc_dividend= 100 Should be

RE: [PHP] Sessions not destroyed

2004-10-08 Thread Graham Cossey
[snip] If you are right, then this is a severe design bug. Depends on your point of view. It is a sideeffect of loading current session (and thus accessing it) before the session gc is called. So the question is, should the session module give up on current session just because it should

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Marek Kilimajer
Graham Cossey wrote: [snip] If you are right, then this is a severe design bug. Depends on your point of view. It is a sideeffect of loading current session (and thus accessing it) before the session gc is called. So the question is, should the session module give up on current session just

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Hendrik Schmieder
Marek Kilimajer schrieb: Hendrik Schmieder wrote: Marek Kilimajer schrieb: Hendrik Schmieder wrote: Hello, we have a severe problem with seesions. We use Apache 1.3.31 with PHP 4.3.9 as Apache module in Windows 2000 In our php.ini we have session.gc_probability = 100 session.gc_dividend= 100

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Hendrik Schmieder
Graham Cossey schrieb: [snip] If you are right, then this is a severe design bug. Depends on your point of view. It is a sideeffect of loading current session (and thus accessing it) before the session gc is called. So the question is, should the session module give up on current session

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Marek Kilimajer
Hendrik Schmieder wrote: Anyway , if the apache service is stopped (I am not speaking about a crash) all session files must be deleted. Why? Why should users loose their sessions just because I need to restart web server? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Hendrik Schmieder
Marek Kilimajer schrieb: Hendrik Schmieder wrote: Anyway , if the apache service is stopped (I am not speaking about a crash) all session files must be deleted. Why? Why should users loose their sessions just because I need to restart web server? OK, good point. So I redrew the request for

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Marek Kilimajer
Hendrik Schmieder wrote: Marek Kilimajer schrieb: Hendrik Schmieder wrote: Anyway , if the apache service is stopped (I am not speaking about a crash) all session files must be deleted. Why? Why should users loose their sessions just because I need to restart web server? OK, good point. So I

Re: [PHP] Sessions not destroyed

2004-10-08 Thread M. Sokolewicz
Hendrik Schmieder wrote: Graham Cossey schrieb: [snip] If you are right, then this is a severe design bug. Depends on your point of view. It is a sideeffect of loading current session (and thus accessing it) before the session gc is called. So the question is, should the session module

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Marek Kilimajer
M. Sokolewicz wrote: Hendrik Schmieder wrote: Ok, I think you're all missing a few points here... First of all, every time a session is started/accessed/written to/whatever, PHP makes a check, it calculates , using gc_probability/gc_divisor, if it should run the gc (Garbage Collector) on this

Re: [PHP] Sessions not destroyed

2004-10-08 Thread Dennis Gearon
There is a difference between the session file existing, and the user still having a valid session. If the timeout has occurred, and the file has not been deleted, when the user accesses it, the session will not show up in $_SESS[]. Which for all intents an purposes, means the session has been

[PHP] HTML Frames and PHP Sessions

2004-09-21 Thread Nick Patsaros
Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the problem. Is there a target function somehow or some way

Re: [PHP] HTML Frames and PHP Sessions

2004-09-21 Thread Marek Kilimajer
Nick Patsaros wrote: Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the problem. Is there a target function

[PHP] Re: HTML Frames and PHP Sessions

2004-09-21 Thread Thomas Seifert
On Tue, 21 Sep 2004 04:02:47 -0400, Nick Patsaros wrote: Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP

Re: [PHP] Re: HTML Frames and PHP Sessions

2004-09-21 Thread Nick Patsaros
wrote: Are PHP sessions compatible with frames in HTML? I'm trying to pass a user name through a session and my individual frames aren't receiving the variable. It worked prior to migrating to frames so I don't think it's my PHP that is the problem. Is there a target function somehow

Re: [PHP] Sessions Problems

2004-09-04 Thread Octavio Herrera
Hi guys well I've been trying with named sessions, and nothing, then I did a pop up window to show me the $_SESSION content and when I reload that window a ramdom number of times, then the session expires and the $_SESSION array disappears!!! what can be this due to?? Im using PHP 4.3.3 and if

Re: [PHP] Sessions Problems

2004-09-03 Thread raditha dissanayake
Octavio Herrera wrote: Hello, im working in a website and I have this problem with sessions I have an admin page where I use session_start() and I have the user interface page where I also use session start, the problem is that when I open the user page, it overwrites my session I previously

Re: [PHP] Sessions Problems

2004-09-03 Thread Octavio Herrera
No, I do not store two items with the same key, I just open another session in other page and it just overwrite session data of a previous session -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sessions Problems

2004-09-03 Thread raditha dissanayake
Octavio Herrera wrote: No, I do not store two items with the same key, I just open another session in other page and it just overwrite session data of a previous session hi, again this does not provide enough information,you will need to more clearly state the problem please are you using

Re: [PHP] Sessions Problems

2004-09-03 Thread Mark
--- Octavio Herrera [EMAIL PROTECTED] wrote: No, I do not store two items with the same key, I just open another session in other page and it just overwrite session data of a previous session This is because (I believe) you can't open two cookie-based sessions with two browser windows and

Re: [PHP] Sessions Problems

2004-09-03 Thread Jason Davidson
Read up on 'named sessions' I think that may be your solution jason Mark [EMAIL PROTECTED] wrote: --- Octavio Herrera [EMAIL PROTECTED] wrote: No, I do not store two items with the same key, I just open another session in other page and it just overwrite session data of a previous

Re: [PHP] Sessions Problems

2004-09-03 Thread Mark
--- Jason Davidson [EMAIL PROTECTED] wrote: Read up on 'named sessions' I think that may be your solution Interesting... here's a link to php.net. I assume this is what you're talking about... Looks promising. http://us4.php.net/manual/en/function.session-name.php jason Mark [EMAIL

[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 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 site,

[PHP] Sessions Problems

2004-09-02 Thread Octavio Herrera
Hello, im working in a website and I have this problem with sessions I have an admin page where I use session_start() and I have the user interface page where I also use session start, the problem is that when I open the user page, it overwrites my session I previously opened in the admin page,

[PHP] Sessions NOT working - somebody please help me!

2004-08-28 Thread gregosh
Sorry for posting this problem again but it's been really driving me crazy. I've reinstalled Apache and PHP for the 5th time and the result is still the same - sessions work only when using a href=b.phpclick/a link. When using header(location: b.php); the session information is lost and a new

Re: [PHP] Sessions NOT working - somebody please help me!

2004-08-28 Thread Jason Wong
On Saturday 28 August 2004 18:52, gregosh wrote: Sorry for posting this problem again but it's been really driving me crazy. I've reinstalled Apache and PHP for the 5th time and the result is still the same - sessions work only when using a href=b.phpclick/a link. When using header(location:

Re: [PHP] Sessions NOT working - somebody please help me!

2004-08-28 Thread gregosh
U¿ytkownik Jason Wong [EMAIL PROTECTED] napisa³ w wiadomo¶ci news:[EMAIL PROTECTED] On Saturday 28 August 2004 18:52, gregosh wrote: Sorry for posting this problem again but it's been really driving me crazy. I've reinstalled Apache and PHP for the 5th time and the result is still the same

[PHP] Sessions session_start() my problem

2004-08-27 Thread Pahlevanzadeh Mohsen
Dears,I have 3 files. k.php : ? session_start(); $S_userk=$HTTP_POST_VARS['u']; $S_pass=$HTTP_POST_VARS['p']; //echo $S_pass; session_register('S_userk'); session_register('S_passk'); include 'http://1.1.1.1/membership/login.php?g=0'; ? login.php: define(HOST,localhost);

Re: [PHP] Sessions vs. IE security

2004-08-25 Thread Stanislav Kuhn
Thanks guys for helps.. I've tried many that things and I found solution. Solution for me was set up Privacy Policy for our site... First time it didn't work because i haven't done Compact privacy policy witch is optional but IE requires it ;o) While compact policies are entirely optional for

[PHP] Sessions vs. IE security

2004-08-24 Thread Stanislav Kuhn
Hi there, I have a problem and i can't find solution. Poblem is with security level of IE and using session. Normaly IE sending session id to server automatically, when you lift security level in IE to HIGH (i'm talking about version 6.x now) IE doesn't send session id atomatically to server. I

Re: [PHP] Sessions vs. IE security

2004-08-24 Thread John Holmes
Stanislav Kuhn wrote: I have a problem and i can't find solution. Poblem is with security level of IE and using session. Normaly IE sending session id to server automatically, when you lift security level in IE to HIGH (i'm talking about version 6.x now) IE doesn't send session id atomatically to

Re: [PHP] Sessions vs. IE security

2004-08-24 Thread Chris Shiflett
--- Stanislav Kuhn [EMAIL PROTECTED] wrote: But problem is when I want to include my sctipt to a client web site. Technically my script is included in frame of html page on another server. I know, using frames is . but clients are using them very offten and I can do nothing with that.

[PHP] RE: [SPAM] Re: [PHP] Sessions vs. IE security

2004-08-24 Thread Stanislav Kuhn
. -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: 24 August 2004 16:46 To: Stanislav Kuhn; [EMAIL PROTECTED] Subject: [SPAM] Re: [PHP] Sessions vs. IE security --- Stanislav Kuhn [EMAIL PROTECTED] wrote: But problem is when I want to include my sctipt to a client web site

RE: [PHP] RE: [SPAM] Re: [PHP] Sessions vs. IE security

2004-08-24 Thread Michael Sims
Stanislav Kuhn wrote: Thanks for help. I have set up p3p policy to my site.. I passed it trouth validator and IE can find privacy policy but it still doesn't allow me cookies... I can't find information what exactly to specify in privacy policy IE allows me third party cookies... Does

RE: [PHP] RE: [SPAM] Re: [PHP] Sessions vs. IE security

2004-08-24 Thread Ed Lazor
-Original Message- Thanks for help. I have set up p3p policy to my site.. I passed it trouth validator and IE can find privacy policy but it still doesn't allow me cookies... I can't find information what exactly to specify in privacy policy IE allows me third party cookies... Does

Re: [PHP] RE: [SPAM] Re: [PHP] Sessions vs. IE security

2004-08-24 Thread Chris Shiflett
--- Stanislav Kuhn [EMAIL PROTECTED] wrote: Thanks for help. I have set up p3p policy to my site.. I passed it trouth validator and IE can find privacy policy but it still doesn't allow me cookies... I can't find information what exactly to specify in privacy policy IE allows me third party

[PHP] Sessions nightmare continue...

2004-08-17 Thread Angelo Zanetti
Hi all, Still no luck with sessions. I have installed an older version: 4.3.1 and have register_globals=Off I have 2 test pages a1.php and a2.php All I want to do is register a session variable, set a value for it and then in a2.php check that it is still registered and view the session's

Re: [PHP] Sessions nightmare continue...

2004-08-17 Thread Jason Wong
On Tuesday 17 August 2004 17:46, Angelo Zanetti wrote: Still no luck with sessions. I have installed an older version: 4.3.1 and have register_globals=Off I have 2 test pages a1.php and a2.php All I want to do is register a session variable, set a value for it and then in a2.php check that

Re: [PHP] Sessions nightmare continue...

2004-08-17 Thread Chris Shiflett
Hi Angelo, --- Angelo Zanetti [EMAIL PROTECTED] wrote: Still no luck with sessions. [snip] a1.php: ? session_start(); header(Cache-control: private); // IE 6 Fix. if(isset($_POST['Submit'])) { $_SESSION[login]=inside; session_write_close();

[PHP] sessions not working when page redirects

2004-08-10 Thread Angelo Zanetti
Hi all, Im having a slightly weird problem with my session variables. when on a certain page call it A, I register a session variable and assign it a value. I then test if it is registered successfully and has the correct value on the same page, that works no problem. After that page A redirects

Re: [PHP] sessions not working when page redirects

2004-08-10 Thread Jason Wong
On Tuesday 10 August 2004 19:50, Angelo Zanetti wrote: Im having a slightly weird problem with my session variables. when on a certain page call it A, I register a session variable and assign it a value. I then test if it is registered successfully and has the correct value on the same page,

AW: [PHP] sessions not working when page redirects

2004-08-10 Thread Ron Stiemer
An: [EMAIL PROTECTED] Betreff: [PHP] sessions not working when page redirects Hi all, Im having a slightly weird problem with my session variables. when on a certain page call it A, I register a session variable and assign it a value. I then test if it is registered successfully and has

Re: [PHP] sessions not working when page redirects

2004-08-10 Thread John W. Holmes
From: Angelo Zanetti [EMAIL PROTECTED] Im having a slightly weird problem with my session variables. when on a certain page call it A, I register a session variable and assign it a value. I then test if it is registered successfully and has the correct value on the same page, that works no

RE: [PHP] sessions not working when page redirects

2004-08-10 Thread Ford, Mike [LSS]
On 10 August 2004 13:19, Ron Stiemer wrote: Hi there, Try to add the session_id(); into the redirection: header(Location: ../admin/include/B.php?PHPSESSID= . session_id() ); No, no, no! Use the SID constant -- that's what it's for. It only has a value if you need one, so:

[PHP] Sessions Problem !!

2004-08-06 Thread Dre
Hi, I'm kinda new at PHP and I was trying to install one of the mailing lists and newsletter systems and during the installation process I got errors evertime the session_start() function called .. I had this before when I tried to work with OSCommerce. Is there something wrong in my

RE: [PHP] Sessions Problem !!

2004-08-06 Thread Ed Lazor
You need to give us the error in order to help troubleshoot it. -Original Message- I'm kinda new at PHP and I was trying to install one of the mailing lists and newsletter systems and during the installation process I got errors evertime the session_start() function called .. I had

Re: [PHP] Sessions Problem !!

2004-08-06 Thread Dre
the exact error messages are == Warning: session_start(): open(/tmp\sess_000c30790862f64268e755546b6fcbb2, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache

Re: [PHP] Sessions Problem !!

2004-08-06 Thread Miles Thompson
Hard to help when we don't know what the error is. You have to call session_start() before any output to the page, even a single space. Try it with a simple example you create to get a feel on how it works, then break it so it doesn't work, and you'll be in better shape to diagnose your

Re: [PHP] Sessions Problem !!

2004-08-06 Thread Kevin Waterson
This one time, at band camp, Dre [EMAIL PROTECTED] wrote: Warning: session_start(): open(/tmp\sess_000c30790862f64268e755546b6fcbb2, O_RDWR) failed: No such file or directory (2) in C:\Program Files\Apache Group\Apache2\htdocs\maillist\maillist\admin.php on line 1 You need to set the correct

[PHP] Sessions Timeout

2004-07-27 Thread Enda Nagle - Lists
Hi Guys, I have a problem with a site where I¹m using sessions. Basically, I have it so that someone enters the site and their session (shopping cart ref) is created on entry (unless it already exists) and all variables are stored in the session. Problem is that when someone goes so far in the

Re: [PHP] Sessions Timeout

2004-07-27 Thread Jason Davidson
I would put a timelimit on the session, create a session var called time, or loginTime or something, and compare it to time() with php, give a leyway of an hour or something. This is a standard securty measure to prevent people from leaving the pc with a session running all day, and someone else

Re: [PHP] Sessions Timeout

2004-07-27 Thread Matt M.
Problem is that when someone goes so far in the ordering process, and then (for whatever reason) leaves the site, and comes back hours, seconds or whatever later, and goes again to place an order, the details are different (time), and the session stays the same so the order entry is entered

RE: [PHP] Opinion: PHP Sessions or Cookies

2004-07-14 Thread Dennis Seavers
Just as folks can turn off JavaScript, they can reject cookies. Sessions have some advantages over cookies. [Original Message] From: Ed Lazor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 07/13/2004 2:47:31 PM Subject: [PHP] Opinion: PHP Sessions or Cookies I'm using PHP sessions

[PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Torsten Roehr
Ed Lazor [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm using PHP sessions for user tracking. My host provider's server is dropping session data. He swears it's my scripts and says I should be using cookies for better security. That goes completely opposite to my

Re: [PHP] Opinion: PHP Sessions or Cookies

2004-07-14 Thread Justin Patrin
: Just as folks can turn off JavaScript, they can reject cookies. Sessions have some advantages over cookies. [Original Message] From: Ed Lazor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: 07/13/2004 2:47:31 PM Subject: [PHP] Opinion: PHP Sessions or Cookies I'm using PHP

[PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Harlequin
I am using PHP sessions for my site. Have done the numbers and have to agree that although cookies make life easier for the developer the whole reason for cookies is to make life easier for the browser. We have to accept that not all users can interrogate a cookie download and verify if the site

Re: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Justin Patrin
..sessions are easier IMHO On Wed, 14 Jul 2004 16:40:33 +0100, Harlequin [EMAIL PROTECTED] wrote: I am using PHP sessions for my site. Have done the numbers and have to agree that although cookies make life easier for the developer the whole reason for cookies is to make life easier

RE: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Ed Lazor
-Original Message- have you tried storing your session data in a database? Storing session data in a database has some advances over the standard file based solution, mainly data security und comfort. For example, if you want to get the number of the active sessions just do a

Re: [PHP] Re: Opinion: PHP Sessions or Cookies

2004-07-14 Thread Torsten Roehr
-Original Message- have you tried storing your session data in a database? Storing session data in a database has some advances over the standard file based solution, mainly data security und comfort. For example, if you want to get the number of the active sessions just do a

<    1   2   3   4   5   6   7   8   9   10   >