Re: [PHP] sessions var

2001-12-19 Thread Jim Lucas

as long as the domain of the cookie is set to yoursite.com it will be
readable from whateveryouwant.yoursite.com

but if the domain is set to www.yoursite.com you won't be able to read it
from yoursite.com

Jim

- Original Message -
From: "Mehmet Kamil ERISEN" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 19, 2001 2:18 PM
Subject: Re: [PHP] sessions var


> One problem that I have with sessions it that if your login
> page is in www.yoursite.com and the you pop a page
> yoursite.com I think the Session is not recognized.
> just a hint.
> --- William Sanchez Sanchez <[EMAIL PROTECTED]> wrote:
> >
> >
> > I need some help with sessions. I need to pass variables
> > to a page that will
> > load
> > in a new browser window (window.open("",myWindow,"") and
> >  > target="myWindow">).
> > I used session_register and I tried using start_session
> > and still no luck.  Once I get the session vars
> > registered, how do I
> > access them from the new window opened...
> >
> >
> > thanks in advantage...
> >
> >
> >
> > William.
> >
> >
> > --
> > PHP General 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]
> >
>
>
> =
> Mehmet Erisen
> http://www.erisen.com
>
> __
> Do You Yahoo!?
> Check out Yahoo! Shopping and Yahoo! Auctions for all of
> your unique holiday gifts! Buy at http://shopping.yahoo.com
> or bid at http://auctions.yahoo.com
>
> --
> PHP General 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 General 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] sessions var

2001-12-19 Thread Mehmet Kamil ERISEN

One problem that I have with sessions it that if your login
page is in www.yoursite.com and the you pop a page
yoursite.com I think the Session is not recognized.
just a hint.
--- William Sanchez Sanchez <[EMAIL PROTECTED]> wrote:
> 
> 
> I need some help with sessions. I need to pass variables
> to a page that will
> load 
> in a new browser window (window.open("",myWindow,"") and
>  target="myWindow">). 
> I used session_register and I tried using start_session 
> and still no luck.  Once I get the session vars
> registered, how do I 
> access them from the new window opened...
> 
> 
> thanks in advantage...
> 
>   
> 
>   William.  
> 
> 
> -- 
> PHP General 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]
> 


=
Mehmet Erisen
http://www.erisen.com

__
Do You Yahoo!?
Check out Yahoo! Shopping and Yahoo! Auctions for all of
your unique holiday gifts! Buy at http://shopping.yahoo.com
or bid at http://auctions.yahoo.com

-- 
PHP General 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] sessions var

2001-12-19 Thread Chris Lee

as long as your start the session on the new page everything will work. are
your clients not using cookies? and you have trans-sid enabled? you'll need
to pass the SID to the new page then obv.

--

  Chris Lee
  [EMAIL PROTECTED]



"William Sanchez Sanchez" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> I need some help with sessions. I need to pass variables to a page that
will
> load
> in a new browser window (window.open("",myWindow,"") and  target="myWindow">).
> I used session_register and I tried using start_session
> and still no luck.  Once I get the session vars registered, how do I
> access them from the new window opened...
>
>
> thanks in advantage...
>
>
>
> William.
>



-- 
PHP General 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] sessions var

2001-12-19 Thread William Sanchez Sanchez



I need some help with sessions. I need to pass variables to a page that will
load 
in a new browser window (window.open("",myWindow,"") and ). 
I used session_register and I tried using start_session 
and still no luck.  Once I get the session vars registered, how do I 
access them from the new window opened...


thanks in advantage...  



William.  


-- 
PHP General 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] Sessions / Var Tracking

2001-01-10 Thread Richard Lynch

> I am interested in logging people in against a MySQL database, and
then
> storing temporary session data about them that would include anonymity
> stats, permissions, and variable tracking from page to page in a MySQL
> Database. (As opposed to insecure POST/GET/Cookie methods).

I'm a trifle confused...

Exactly how do you know that the person is the same person *withou* using
one of POST/GET/Cookie?

Since the database lives on the server, and the client only talks to it
through HTTP, and HTTP is stateless, I'm not understanding what you're even
trying to describe..

> I have seen this before and the implementation I saw was relatively
> straight forward (The book "Core PHP Programming," [Orange Book of PHP]
> basically explains the method I saw.  Is anyone out there using something
> drastically different?
>
> To the experienced:
> How do you authenticate and track people through your site?

Depends on the site, depends on how badly I need the data to be accurate and
how likely I think that somebody will try to abuse it.
There is no one answer to this.

> Do you foresee flaws (possible flaws) in your system?

Yes.

> Does a perfect system exist?

No.



-- 
PHP General 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]