Re: [PHP-WIN] Sessions Question!

2008-05-13 Thread Alf Stockton
Matthew Gonzales wrote: Alf, Do the headers just prevent the browser from holding on to the cache and does the session still work? I am a little confused. I looked at the info on PHP.net and it confused even more. The meta header goes into the header of your html and is supposed to tell the

Re: [PHP-WIN] Sessions Question!

2008-05-13 Thread Matthew Gonzales
Alf, Do the headers just prevent the browser from holding on to the cache and does the session still work? I am a little confused. I looked at the info on PHP.net and it confused even more. By the way. South Africa rocks! I just spent last Christmas in Capetown and Langebaan with my wife. A

Re: [PHP-WIN] Sessions Question!

2008-05-13 Thread Alf Stockton
Matthew Gonzales wrote: What function would I use to clear the browser cache. There is no function that can clear cache only the user can clear their own cache..:-( The best you can do is:- also when you get to call the offending page make sure that the call is not the same as what it wa

Re: [PHP-WIN] Sessions Question!

2008-05-12 Thread Jarrett Meyer
As far as I know, you can't clear the browser cache. The browser cache resides with the client. PHP resides with the server. You can tell the cookie to expire, but that's about it. To delete the cookie, look at Example #2 - give it an expiration date in the past. http://us2.php.net/manual/en/funct

Re: [PHP-WIN] Sessions Question!

2008-05-12 Thread Matthew Gonzales
What function would I use to clear the browser cache. Matt G Matthew Gonzales IT Professional Specialist Enterprise Information Technology Services University of Georgia Email: [EMAIL PROTECTED] Phone: (706)542-9538 Alf Stockton wrote: Matthew Gonzales wrote: So I h

Re: [PHP-WIN] Sessions Question!

2008-05-12 Thread Alf Stockton
Matthew Gonzales wrote: So I have user restricted area to my website. The login works great with the session data being passed. I also have a logout button. I notice that when I logout I can still click the back button on the browser and you can see the previous users restricted data. How do I

[PHP-WIN] Sessions Question!

2008-05-12 Thread Matthew Gonzales
So I have user restricted area to my website. The login works great with the session data being passed. I also have a logout button. I notice that when I logout I can still click the back button on the browser and you can see the previous users restricted data. How do I prevent this from happen

RE: [PHP-WIN] Sessions?

2007-04-05 Thread Gustav Wiberg
Hi again Mike! Thank you very much for your input. It is appreciated! :-) Best regards /Gustav Wiberg -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 8:29 AM To: ''php windows' (php-windows@lists.php.net)' Subject: Re

RE: [PHP-WIN] Sessions?

2007-04-05 Thread Gustav Wiberg
iberg -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 4:35 PM To: 'php windows' (php-windows@lists.php.net) Subject: Re: [PHP-WIN] Sessions? Hey Gustav It depends so much on how much data you store in the session variables, what kind

Re: [PHP-WIN] Sessions?

2007-04-05 Thread Mikael Grön
ield? (how many users, session-variables and so on). I'm just curious! :-) Best regards /Gustav Wiberg -Original Message- From: Mikael Grön [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 04, 2007 4:35 PM To: 'php windows' (php-windows@lists.php.net) Subject: Re: [PHP-

Re: [PHP-WIN] Sessions?

2007-04-04 Thread trystano
-Original Message- From: [EMAIL PROTECTED] To: php-windows@lists.php.net Sent: Wed, 4 Apr 2007 3.34PM Subject: Re: [PHP-WIN] Sessions? Hey Gustav It depends so much on how much data you store in the session variables, what kind of storage you run (database or files and so on

Re: [PHP-WIN] Sessions?

2007-04-04 Thread Mikael Grön
Hey Gustav It depends so much on how much data you store in the session variables, what kind of storage you run (database or files and so on) and how many users you have, so it's really hard to say. In my experience, sessions have very little impact on the server how ever long you set them to

[PHP-WIN] Sessions?

2007-04-04 Thread Gustav Wiberg
Hi there! How much impact on the server have sessions based on the length of minutes (seconds) that I change to? I just wonder if someone out there has Any experience of this or know a place on the web that describes this...? Best regards /Gustav Wiberg -- PHP Windows Mailing List (http://www.

Re: [PHP-WIN] Sessions working/not

2007-02-08 Thread Ken Kixmoeller -- reply to ken
On Feb 8, 2007, at 12:55 AM, Gustav Wiberg wrote: Is it exactly the same code? Yes, it was the same code, exactly, and any URL. Armondo's hint made it work, though. Thank you very much for replying. Ken -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP-WIN] Sessions working/not

2007-02-08 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 7, 2007, at 9:25 PM, Armando wrote: What URL are you using on your dev machine in the web browser when testing? http://localhost...? I would try instead explicitly specifying the machine's IP. I've had some weird issues come up in developing when I try and use 'localhost'. Cheers.

RE: [PHP-WIN] Sessions working/not

2007-02-07 Thread Gustav Wiberg
-windows@lists.php.net Subject: [PHP-WIN] Sessions working/not Hey - -- - Would anyone be so kind as to un-stick my brain? I can't get sessions to work on my development machine (localhost). They work fine on my testing server (an internal IP). Development: W2K, Testing Server W2K Server,

Re: [PHP-WIN] Sessions working/not

2007-02-07 Thread Armando
What URL are you using on your dev machine in the web browser when testing? http://localhost...? I would try instead explicitly specifying the machine's IP. I've had some weird issues come up in developing when I try and use 'localhost'. Cheers. - A - Ken Kixmoeller -- reply to [EMAIL PROTECT

RE: [PHP-WIN] Sessions working/not

2007-02-07 Thread Bill Bolte
2007 11:44 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Sessions working/not Hey - -- - Would anyone be so kind as to un-stick my brain? I can't get sessions to work on my development machine (localhost). They work fine on my testing server (an internal IP). Development: W2K, Tes

[PHP-WIN] Sessions working/not

2007-02-07 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - -- - Would anyone be so kind as to un-stick my brain? I can't get sessions to work on my development machine (localhost). They work fine on my testing server (an internal IP). Development: W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2. The php.ini SESSION settings are the

Re: [PHP-WIN] SESSIONS and include()

2006-02-09 Thread Fredrik Tillman
obals on or off, the scope of variables, etc. It seems as if "user_level" is not known within the module. Luis -Original Message- From: Armando [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 9 de Fevereiro de 2006 4:41 To: php-windows@lists.php.net Subject: Re: [PHP-WIN] SESSION

RE: [PHP-WIN] SESSIONS and include()

2006-02-09 Thread Luis Moreira
ule. Luis -Original Message- From: Armando [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 9 de Fevereiro de 2006 4:41 To: php-windows@lists.php.net Subject: Re: [PHP-WIN] SESSIONS and include() Read the user post (currently 2nd) from greatmagicalhat [at] gmail [dot] com at the link below. I'

Re: [PHP-WIN] SESSIONS and include()

2006-02-08 Thread Armando
Read the user post (currently 2nd) from greatmagicalhat [at] gmail [dot] com at the link below. I've never tried including a php file myself so cannot verify their information, but it makes sense. When I use includes, I use a specific file extension and store the files in a protected directory

[PHP-WIN] SESSIONS and include()

2006-02-08 Thread Fredrik Tillman
Hi PROBLEM: I want to let certain users use certain funcions on my page. To manage that I start a session and define $_SESSION[user_level] to a value from a mySQL table. So far so good. Users with $_SESSION[user_level]=="1" can access things on the .php page they are on. I made a simple if-st

[PHP-WIN] =sessions= [J. Meloni Textbook]

2003-11-18 Thread Anthony Ritter
Using mysql, php, apache on win98 The following code is from "PHP, mySQL and Apache" (SAMS) by Julie Meloni. Page 338-339 (hour 16). After choosing my selections in the form box and hitting submit I get: ... Warning: Invalid argument supplied for foreach() in c:\apache\htdocs\listin

Re: [PHP-WIN] Sessions

2003-07-18 Thread Luis Ferro
Depending on the implementation that it's in use for the generation and bookkeeping of the sid... and if it is a flutuating sid or a fixed one... The medium on how the session is mantained is irrelevant, even if with cookies, it's a little easier to mantain the links... because they will not ch

[PHP-WIN] Sessions...

2003-07-17 Thread Brian McGarvie
I use a session for a syste to varify login... However sometimes the session seems to timeout (as I'd expect) however it seems random, sometimes it's within a few mins of 'inactivity' and other times i have seen it not timing out if left 'logged in' overnight and continue work in the morning. How

[PHP-WIN] Sessions

2003-07-12 Thread Miha Nedok
I'm developing web apps written in PHP for quite a long time. I would like to know your preferred way using sessions ( cookie or TRANS SID ). I'm using Cookies. I would like to hear some pro et contras. :) -Mike -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP-WIN] Sessions help needed!

2003-07-05 Thread Luis Ferro
Security alert: If you don't check the post vars, someone could add after the password something like $password = "343'; drop database;"; If someone sent that in the password field... the database would be droped (permissions could avoid part of the problem, but the vulnerability stands)...

[PHP-WIN] 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 w

[PHP-WIN] Sessions via shared memory

2003-06-16 Thread M.Staiger
Hello NG, sessions are usually stored in files on disk or directly in a database. However when not only reading these sessions but also writing to them extensively, it might be unseful to store these sessions directly in memory. Rumors say, this is possible via "shared memory functions" which soun

[PHP-WIN] sessions problems

2003-04-04 Thread Gregory Kaczmarczyk
New to windows/PHP! I'm having quite a bit of trouble with getting sessions to work right. I've got PHP 4.3.1 installed on Windows 2000 with IIS. php.ini is default from installation. Each time I run session_start(), a new session is created disgarding the previous page's session. If I call ini_

[PHP-WIN] Sessions any use for this???

2003-03-31 Thread Trystano
Hi, all, i'm relatively new to PHP, but am creating a website that has a login screen as the first page within a website, and once a user has authenticated themselves gain access to the remainder of the website to perform actions specific to their details. (e.g. i'm creating an online dental su

[PHP-WIN] sessions and global register

2003-02-01 Thread Pat Johnston
Hi I've been learning to get through sessions as it appears to be the hardest part of PHP I've come across. I found that includes must be stated underneath that of a session_start() for example otherwise a warning will appear that it can't start a session because a header has already been sent (or

Re: [PHP-WIN] sessions expire for dial up users and old browers

2003-01-13 Thread Ignatius Reilly
ngedal" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 13, 2003 9:07 AM Subject: [PHP-WIN] sessions expire for dial up users and old browers > I have a problem with sessions. Or maybe two, i don't know. Im pretty sure the > code is ok so I'

[PHP-WIN] sessions expire for dial up users and old browers

2003-01-13 Thread Olav Bringedal
I have a problem with sessions. Or maybe two, i don't know. Im pretty sure the code is ok so I'll not enclose that for now. The problem is following: When a dial up user logs into my page they often loose the cookie to the session (or dont get a cookie at all). This also happens for users with

Re: [PHP-WIN] Sessions

2002-12-30 Thread toby z
what on earth are u tryin to do startin the session and checkin it in the same file ? :S what toby --- ûÅÓÔÁËÏ× îÉËÏÌÁÊ <[EMAIL PROTECTED]> wrote: > OS: WinXP Pro SP1. > Apache 2. > php 4.3 isap > > index.php > > session_start(); > session_register("sa"); > ec

[PHP-WIN] Sessions

2002-12-29 Thread Шестаков Николай
OS: WinXP Pro SP1. Apache 2. php 4.3 isap index.php "; $sa=1; echo $sa.""; echo session_id().""; echo session_name().""; echo session_module_name().""; echo session_is_registered("sa").""; echo session_save_path().""; ?> http://localhost/index2.php

Re: [PHP-WIN] sessions and unicode!

2002-11-12 Thread toby z
hi siamak > I'm designing a site with php that it has a login > page. > the login page uses sessions; when I save my > document normally it works , an > everything is ok , but when I save it as a UTF-8 > document, it says : > Warning: Cannot send session cache limiter - headers > already sent (ou

[PHP-WIN] sessions troubles on windows2000

2002-10-20 Thread Mark Anderson
Hi! I'm running Apache/1.3.24 (Win32) and php 4.2.1 as a apache module on a windows2000 professional box. everything seems to be fine but sessions. The problem is that although it's able to write the session information in the php/tmp directory were it's suppouse to write the information relat

[PHP-WIN] Sessions

2002-10-12 Thread Nick Chorley
How can I use session functions on Windows? The PHP Manual says this: session.save_path defines the argument which is passed to the save handler. If you choose the default files handler, this is the path where the files are created. Defaults to /tmp. If session.save_path's path depth is more than

RE: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread dash php
er 18, 2002 7:29 AM To: 'Luis Ferro'; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] SESSIONS- clustered environment What if I made a network share and all the sessions were stored in a shared space? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.9

Re: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Luis Ferro
nesday, September 18, 2002 5:49 AM >To: [EMAIL PROTECTED] >Subject: Re: [PHP-WIN] SESSIONS- clustered environment > > >You have two solutions (IMHO): > >a) Database storage > >Replacement of the session_init and session_save/register functions >with others th

RE: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Matt Babineau
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 5:49 AM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] SESSIONS- clustered environment You have two solutions (IMHO): a) Database storage Replacement of the session_init and session_save/register functions with others that will

Re: [PHP-WIN] SESSIONS- clustered environment

2002-09-18 Thread Luis Ferro
You have two solutions (IMHO): a) Database storage Replacement of the session_init and session_save/register functions with others that will save/load the sessions from a database storage. Pros: easy to implement Cons: dependency of the database storage reliability, scalability pr

[PHP-WIN] SESSIONS- clustered environment

2002-09-17 Thread Matt Babineau
What would be the best way to handle sessions in a clustered environment without making the load-balancing persistant? Matt Babineau MCWD / CCFD - e: [EMAIL PROTECTED] p: 603.943.4237 w: http://ww

[PHP-WIN] Sessions under PHP v4.2.1

2002-07-10 Thread Dennis Schlichczin
Hello all. I've some problems with starting sessions. Used Webserver: Apache 1.3.26 (src) under Win2k PHP version 4.2.1 php.ini properties --- session.save_handler = files session.save_path = c:/winnt/tmp (exists) session.use_cookies = 0 session.name = PHPSESSID session.cookie_

RE: [PHP-WIN] Sessions under PHP 4.2

2002-05-13 Thread brother
> -Original Message- > From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] > Page 2 - > > start_session(); > > echo $_session["testVar"]; > > ?> echo $_SESSION["testVar"]; Would be better I think (variables in php are casesensitive, I've learned it through $_GET last week=)) /bro

Re: [PHP-WIN] Sessions under PHP 4.2

2002-05-13 Thread Stuart Dallas
R.S. Herhuth <[EMAIL PROTECTED]> wrote: > I installed 4.2 and I want to use sessions with the "stock > configuration." I tried this but it doesn't work...what should I be > doing different? In what way? What error do you get? -- Stuart -- PHP Windows Mailing List (http://www.php.net/) To un

[PHP-WIN] Sessions under PHP 4.2

2002-05-13 Thread R.S. Herhuth
I know this has been discussed before but I'm having trouble finding anything that outlines it. I installed 4.2 and I want to use sessions with the "stock configuration." I tried this but it doesn't work...what should I be doing different? Page 1 - Page 2 - thanks, Ro

[PHP-WIN] sessions and I/O

2002-05-03 Thread Raidell Avello Martínez \(CICT - UCf\)
hi i have 2 questions in one, lock the folowing code: print: session start ok... another line 1. Why "session destroyed ok" did not show. 2. Why whole de answer was displayed in only one line. thanks in advance escuse my english RAM

Re: [PHP-WIN] Sessions

2002-05-03 Thread Peter Finch
t; -Original Message- > > From: Peter Finch [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, May 02, 2002 4:12 PM > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] Sessions > > > > > > I am learning PHP from the Greenspan and Bulger book, on a Windows &g

RE: [PHP-WIN] Sessions

2002-05-02 Thread Scott Hurring
ECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Peter Finch [mailto:[EMAIL PROTECTED]] > Sent: Thursday, May 02, 2002 4:12 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Sessions > > > I am learning PHP from the Greenspan and Bulger book,

[PHP-WIN] Sessions

2002-05-02 Thread Peter Finch
I am learning PHP from the Greenspan and Bulger book, on a Windows development system using PHP 4.1.2 and Apache. All has worked fine until I got to sessions. This simple program: produces this output: Warning: open(/tmp\sess_d7e26c0283f94a430da8f7fc4138ca21, O_RDWR) failed: No such file or dir

[PHP-WIN] Sessions

2002-03-18 Thread Alberto. Sartori
Hi guys, as you know the php session are stored in a little file on the server. But like ASP, is there a way to store them in the memory of the server? Thanks to all Best regards, Alb Alberto Sartori - Developer Hard Programming Dep. -- PHP Windows Mailing List (http://www.php.net/) To unsu

Re: [PHP-WIN] sessions Problem Followup concerning IE6

2002-03-08 Thread Mike Flynn
Sessions won't depend on the browser version. If you are using cookies for the sessions, it will just depend on whether their browser has cookies blocked or not. If you are not using cookies, and have the "transparent SID" option turned on in the PHP.INI file, then the ?SID=xxx will get appe

[PHP-WIN] sessions Problem Followup concerning IE6

2002-03-08 Thread Dale Heil
From: Dale Heil [mailto:[EMAIL PROTECTED]] Sent: Friday, March 08, 2002 12:58 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] sessions Running winNT4.0sp6a, apache1.3.20, php4.1.1(as a module) I've been able to call a function from first .php page that sets a session variable (verified with an e

[PHP-WIN] sessions

2002-03-08 Thread Dale Heil
Running winNT4.0sp6a, apache1.3.20, php4.1.1(as a module) I've been able to call a function from first .php page that sets a session variable (verified with an echo). I used$_SESSION['BreadCrumbCounter'] = 0; then from that page I call a second .php page via I also tried I

[PHP-WIN] sessions

2002-03-08 Thread Dan Zarrella
Does anyone know anything about the differnce in session handling between linux and windows, i have an admin interface working fin with sessions in windows but it flops on linux, register_globals is on, yet there is somekind of problem with retriving session variables inside of functions. -dan

Re: [PHP-WIN] sessions???

2002-01-10 Thread Pac mon
Possible that because session_name is a function it puking on the $session_name variable you're trying to create. Another note is this: $$session_name = "test"; Maybe I'm on crack but didn't you mean: &$session_name = "test"; Also... why did you try setting $session_name twice? Once to 'session

[PHP-WIN] sessions???

2002-01-10 Thread Alex Elderson
Hi, This works fine: But way does this not work??? -- PHP Windows 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-WIN] Sessions trouble

2001-11-15 Thread Michel Laine
Using 98SE / PWS / PHP 4.0.4pl1 / MySQL 3.23.22 for some testing-intranet stuff. Until now i have used a login system (which works) that consist of a login page, include file and logout file - named Login.php, Auth.inc and Logout.php. Database.inc, which is referenced and contain the login and pw

RE: [PHP-WIN] Sessions and Global Variables

2001-10-30 Thread Svensson, B.A.T.
PROTECTED]] >Sent: Tuesday, October 30, 2001 8:55 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] Sessions and Global Variables > > >Hello, > >I am running IIS 5.0, PHP 4.0.6, and MySQL 3.23. > >I have a script that includes the following two lines: > >

[PHP-WIN] Sessions and Global Variables

2001-10-30 Thread SCOTT . NOVINGER
Hello, I am running IIS 5.0, PHP 4.0.6, and MySQL 3.23. I have a script that includes the following two lines: $script = getenv ("SCRIPT_NAME"); and, session_start ( ); Apparently, sessions are not working because I am receiving an error back that is indicative of this. I ch

[PHP-WIN] sessions

2001-10-19 Thread jax
how is session.cookie_lifetime supposed to work? whats the syntax? Thanks in advance -- PHP Windows 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-WIN] sessions

2001-08-09 Thread Flint Doungchak
ugust 09, 2001 9:09 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] sessions When I try to use sessions I get Warning: open(/tmp\sess_491fb10e460882c941d2659b045c2549, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\site3\index.php on line 2 at the top of the files and at the b

[PHP-WIN] sessions

2001-08-09 Thread William E. T.
When I try to use sessions I get Warning: open(/tmp\sess_491fb10e460882c941d2659b045c2549, O_RDWR) failed: m (2) in c:\program files\apache group\apache\htdocs\site3\index.php on line 2 at the top of the files and at the bottom I get Warning: open(/tmp\sess_491fb10e460882c941d2659b045c2549, O_R

[PHP-WIN] Sessions and frames

2001-07-24 Thread Ziggi
Can anybody here give us some hints about PHP and session management. For instance - if I put "Session_Start()" on the frameset level - shall I do this on each of it's pages ??? Ziggi -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

[PHP-WIN] sessions without trans_id

2001-05-22 Thread Dalyyla
hi, I have pbs with sessions. I would like to know first how to do , (enable or disable) about sessions in the php.ini file while I don't want to use cookies on the client at all. I suppose I must put the id myself in each page. About this pint, I'd like to check something : if in my application

Re: [PHP-WIN] Sessions: Accessing PHP session variables under PWS

2001-05-20 Thread Chris Sano
A code snippet would be helpful to pinpoint the problem.. -C "Zachary Harris" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am writing an app that uses sessions and can't access them outside of > the script that they were written with. > > I get the follow

[PHP-WIN] Sessions: Accessing PHP session variables under PWS

2001-05-20 Thread Zachary Harris
I am writing an app that uses sessions and can't access them outside of the script that they were written with. I get the following error: Warning: Undefined index: userID in C:\Inetpub\wwwroot\resume\posters\default2.php on line 18 Please email me with any solutions -- PHP Windows Mailing L

Re: [PHP-WIN] Sessions

2001-05-16 Thread JayAchTee
Try registering the variables in the checkuser.php script also. Regards ""Roman Lichszteld"" <[EMAIL PROTECTED]> wrote in message 9c8hd2$nfn$[EMAIL PROTECTED]">news:9c8hd2$nfn$[EMAIL PROTECTED]... > > I haven't worked with trans_sid much, so I'm not very familiar with the > > specifics. > > > >

Re: [PHP-WIN] Sessions

2001-04-25 Thread Roman Lichszteld
> I haven't worked with trans_sid much, so I'm not very familiar with the > specifics. > > The problem is that the get variable PHPSESSID or whatever is passed as a > get while the action of a form is POST. > > One workaround is to create a hidden input named PHPSESSID or SID and set > it's value

Re: [PHP-WIN] Sessions

2001-04-25 Thread Joe Brown
I haven't worked with trans_sid much, so I'm not very familiar with the specifics. The problem is that the get variable PHPSESSID or whatever is passed as a get while the action of a form is POST. One workaround is to create a hidden input named PHPSESSID or SID and set it's value to . Good luc

[PHP-WIN] Sessions

2001-04-25 Thread Roman Lichszteld
I use Apache server with PHP 4 installed on WinNT 4.0, session.use_trans_sid is set to 1, I don't use cookies. I have three pages, each looks like this: // test1.php \n"); print("\n"); // second page has action="/php/test3.php" and so on... print(">\">\n"); print("\n"); ?> Script "chec

[PHP-WIN] Sessions

2001-04-23 Thread Randall Barber
I am not familiar with the concept of sessions during a web browse. = >From what I gather, its just another way of passing information without = using GET and POST all over the place. The PHP docs are scanty, I guess they figure I'd know what this was. Will one of you point me toward a useful s

[PHP-WIN] Sessions and Objects

2001-02-06 Thread Conover, Ryan
If I save an object as a session var. will I still have access to its methods. Ryan -- PHP Windows 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-WIN] Sessions/security

2001-01-17 Thread Boget, Chris
> Try looking at register_shutdown_function at > http://www.php.net/manual/en/function.register-shutdown-function.php >From the documentation: "int register_shutdown_function (string func) Registers the function named by func to be executed when script processing is complete." What qualifies a

Re: [PHP-WIN] Sessions/security

2001-01-17 Thread Jan Walter
Thomas Kryger wrote: > I am using this in my logon script: > function close() > { > if (connection_aborted() > 0) > { > @session_destroy(); > } > } > > register_shutdown_function("close"); ...sounds good, thakx a lot. -- _

RE: [PHP-WIN] Sessions/security

2001-01-17 Thread Thomas Kryger
gards, Thomas D. Kryger FICS Danmark -Original Message- From: Jan Walter [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 11:06 AM To: Ignatius Teo; PHP Mailing list Subject: Re: [PHP-WIN] Sessions/security Ignatius Teo wrote: > Have a look at http://phplib.netuse.de I a

Re: [PHP-WIN] Sessions/security

2001-01-17 Thread Jan Walter
Ignatius Teo wrote: > Have a look at http://phplib.netuse.de I am afraid it does not work as I described, because if I visit another site, go back and refresh, everything seems ok. -- __

RE: [PHP-WIN] Sessions/security

2001-01-16 Thread Ignatius Teo
SGF2ZSBhIGxvb2sgYXQgaHR0cDovL3BocGxpYi5uZXR1c2UuZGUNCg0KPiAtLS0tLU9yaWdpbmFs IE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKYW4gV2FsdGVyIFttYWlsdG86am9obkBsZXJhY2guY3pd DQo+IFNlbnQ6IFdlZG5lc2RheSwgMTcgSmFudWFyeSAyMDAxIDA5OjI1DQo+IFRvOiBQSFAgTWFp bGluZyBsaXN0DQo+IFN1YmplY3Q6IFtQSFAtV0lOXSBTZXNzaW9ucy9zZWN1cml0eQ0

[PHP-WIN] Sessions/security

2001-01-16 Thread Jan Walter
Hi all, I have the following questions concerning sessions/security/...: -A- Is there any way, how to handle, whether the user leaves my site? I know, how to deny access, when user comes to my site from another for the first time (after browser launch), or from another page of my site. What I wa