Re: ending a session

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jed,

Thx for your response.

>     1. What are you running on 2222?
1) FreeBSD with Apache
2) Also Directadmin (hosting control panel)


>     2. What are you running on 80?
1) FreeBSD with Apache
2) A login form into directadmin. I do this because I wanted to skin the
login form but cant skin the login form on directadmin itself. I am not an
owner,  just a user of the controlpanel thus giving me limited access.


>     3. Is it the same copy of PHP? Same php.ini, same PHP SAPI?
I really don't know I would have to find out later.


>     4. Same Apache?
How do I find out?


>     5. What's your Listen directive look like, if YES for number 4?
Sorry, don't know what you mean by that.


>     6. Vhosts?
Does that mean virtual hosts? In that case yes


"Jed Smith" <jed@xxxxxx> schreef in bericht
news:20041119235846.90131.qmail@xxxxxxxxxxxxxxx
> Hans J.J. Prins wrote:
> > Hello,
> >
> > I started a session at www.mydomain.com:2222/myscript.php
> >
> > I want to destroy the session at www.mydomain.com/myscript.php
> >
> > I seem to not be able to destroy it though. Does the different port have
> > anything to do with it?
> >
> > Thx,
> >
> > H J.J. P
>
> Although I've never encountered this situation before, I'll try.
>
> More information about the platform in question will be necessary, but
> I'm going to go ahead and venture a "yes" here. It is safe to assume
> that different copies of PHP end up being run when you request something
> on 2222 and on 80.
>
> Different copies of PHP don't (?) share session states. A custom session
> handler might be necessary for you. (Let me clarify that: PHP attached
> to *different servers* shouldn't share session states.)
>
> Questions:
>
>     1. What are you running on 2222?
>     2. What are you running on 80?
>     3. Is it the same copy of PHP? Same php.ini, same PHP SAPI?
>
>     (If Apache for 1 & 2)
>
>     4. Same Apache?
>     5. What's your Listen directive look like, if YES for number 4?
>     6. Vhosts?
>
> This also may be a security feature, but I've personally never tackled
> the problem. Tough to say.
>
> I'll leave my advice at that for now pending further information.
>
> -- 
>       _
>      (_)___    Jed Smith, Code Ninja
>      | / __|   RFBs: [email for info]
>      | \__ \   +1 (541) 606-4145
>     _/ |___/   jed@xxxxxx (Signed mail preferred: PGP 0x703F9124)
>    |__/        http://personal.jed.bz/keys/jedsmith.asc

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux