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

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

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
Hi there! Is it exactly the same code? Do you have any code-snippet that you would like to share with us? Best regards /Gustav Wiberg -Original Message- From: Ken Kixmoeller -- reply to [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 6:44 PM To: php-wi

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
Doesn't it haven't something to do with the permissions on the PHP folder? ISTR that the PHP folder needed write permissions or something like that... -Original Message- From: Ken Kixmoeller -- reply to [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 07, 2007 11:44 A

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

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

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)...

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

2003-01-13 Thread Ignatius Reilly
It is advisable to write the cookie in full details: // at the top of each page: session_start() ; setcookie( session_name(), session_id(), time()+3600, "/" ) ; ob_start() ; // etc Ignatius - Original Message - From: "Olav Bringedal" <[EMAIL PR

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

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

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

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

Re: [PHP-WIN] Sessions

2002-05-03 Thread Peter Finch
Many thanks indeed. That did the trick. Peter Finch "Scott Hurring" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > you have to setup the directory for sessions in your > 'php.ini' file. > > It defaults to '/tmp', which is *not* a subdir, but > a root-dir (AFA

RE: [PHP-WIN] Sessions

2002-05-02 Thread Scott Hurring
you have to setup the directory for sessions in your 'php.ini' file. It defaults to '/tmp', which is *not* a subdir, but a root-dir (AFAIK), so either create "C:/tmp" or set it to something else. --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 20

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

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

RE: [PHP-WIN] Sessions and Global Variables

2001-10-30 Thread Svensson, B.A.T.
Maybe because that bloody *(%$&*()^@$#^ IIS need to be restarted before changes will take affect - at least that holds true for ASP when fiddling with the global.asp file. (Some one ought to be shoot...) Cheers >-Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Sent

RE: [PHP-WIN] sessions

2001-08-09 Thread Flint Doungchak
William, It doesn't really mattter, but you could try something like: C:\temp assuming you have temp directory on c. Make sure inetuser_ has write permissions to the directory you specify. -Flint -Original Message- From: William E. T. [mailto:[EMAIL PROTECTED]] Sent: Thursday, August

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

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

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