RE: [PHP-DB] How to send a SID in a security way - SOLVED!!!

2004-10-25 Thread dpgirago
Just wanted to clarify. The devil is always in the details. dave *** --- Bart Baaten

[PHP-DB] How to send a SID in a security way

2004-10-22 Thread Andre Matos
Hi List, How can I send a SID (SessionID) in a security way from one page to another? Is it security to do this? Thanks for any help in advance. Andre -- Andre Matos [EMAIL PROTECTED] -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP-DB] How to send a SID in a security way

2004-10-22 Thread Bart Baaten
The session ID will always remain inside the session as long as you're in the session. http://www.php.net/manual/en/function.session-id.php You don't have to 'send' it, it's already there. Hope this helps... -Original Message- From: Matt M. [mailto:[EMAIL PROTECTED] Sent: vrijdag 22

Re: [PHP-DB] How to send a SID in a security way

2004-10-22 Thread Jason Wong
On Saturday 23 October 2004 01:00, Bart Baaten wrote: The session ID will always remain inside the session as long as you're in the session. http://www.php.net/manual/en/function.session-id.php You don't have to 'send' it, it's already there. And to 'stay in the session', the session id has

RE: [PHP-DB] How to send a SID in a security way

2004-10-22 Thread Bastien Koert
What about writing a function that will store some of those required variables into a db. Then on the second site, open a link to the first db and query for those values that you need? bastien From: Andre Matos [EMAIL PROTECTED] To: 'Matt M.' [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject:

RE: [PHP-DB] How to send a SID in a security way

2004-10-22 Thread Norland, Martin
I'm sorry - but performing a slight bastardization of Achems Razor is the best way to solve this dilemma. You have two web-based php applications that you have written yourself, and you have a single user (and browser) who wants to access those applications. The applications reside on the same

RE: [PHP-DB] How to send a SID in a security way

2004-10-22 Thread Andre Matos
I had thought about this idea to storage the session information in a database. However, what's happening if a user just closes the browser without logout from the application or if the browser crashes. The session will be in the database and the user is gone. How to track this? Thanks. Andre

RE: [PHP-DB] How to send a SID in a security way

2004-10-22 Thread Bastien Koert
Write a function that gets called frequently (or with a cron job) to clean out session records every half an hour or so... Each time a page loads with those session vars, update the timestamp in that record. bastien From: Andre Matos [EMAIL PROTECTED] To: 'Bastien Koert' [EMAIL PROTECTED] CC:

RE: [PHP-DB] How to send a SID in a security way - SOLVED!!!

2004-10-22 Thread Andre Matos
Hi list, Thanks for all people who tried to help me in my session problem. I have found a simple and easy way to have to web-based php applications running in the same server and having one user using both on the same web browser (two different windows or tabs). I did this in one system:

RE: [PHP-DB] How to send a SID in a security way - SOLVED!!!

2004-10-22 Thread dpgirago
Andre, Did you intend to write that both sessions have the same name? Doesn't that result in the same issue with the session identification? dave Andre Matos [EMAIL PROTECTED] 10/22/2004 03:25 PM To: [EMAIL PROTECTED] cc: Subject: RE: [PHP-DB] How to send a SID in a security way

RE: [PHP-DB] How to send a SID in a security way - SOLVED!!!

2004-10-22 Thread Bart Baaten
I think he meant one was named System1 and the other System2. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: vrijdag 22 oktober 2004 22:34 To: Andre Matos Cc: [EMAIL PROTECTED] Subject: RE: [PHP-DB] How to send a SID in a security way - SOLVED!!! Andre, Did