macromedia.dreamweaver.appdev
[Top] [All Lists]

Re: php include sessions

Subject: Re: php include sessions
From: "Prellyan Luxtintner"
Date: Sun, 19 Aug 2007 03:51:41 +0000 UTC
Newsgroups: macromedia.dreamweaver.appdev

ok.  a user logs in on page A
 page B is the user welcome page which is index.php
 page C is an include page within page B.
 page B (the user welcome page) uses MM_Username and MM_Usergroup to retrieve 
member information from the mysql database.
 page C (the include page on page B) also has a query reliant on MM_Username 
and MM_Usergroup - it is exactly the same query as page B.

 How do i make sure that the session variables that are created when the user 
logs in are transferred to page C?

 Does that make some more sense?

 The site is located @ http://www.backyardcanvas.com/public/index.php 
 you can log in with Prellyan:admin to test if you need to.

 All of the login code is standard DW login script.

 I hope you can help get this sorted as the end result is something quite cool.


<Prev in Thread] Current Thread [Next in Thread>