Hi,
I wonder if anyone can help or has any ideas. I am using NOF 10 and have linked my site to a MySQL database and i'm using PHP. I am trying to create a site whereby once a user has logged in that the user can visit any page and the username is still retained so that the site can pull up details of the user. What I am finding is the user logs in, and the following page will validate and acknowledge correctly that the user has been found, however, what I seem then unable to do is pass the username to another page(s). I've followed the NOF tutorial for a dynamic site/database, i've been through the user guide and everything seems to point to the fact that I somehow need to code into the site the use of session variables.
So the two questions i have are :
1) Am I making sense - is what I'm saying above well known and is this the case or have i missed something simple in NOF10 that would allow me to pass a username (once validated within a form against a MySQL record) to only an immediate page that validates the username;
2) If I was to use session start code for example - does anyone have any examples of how i find the right place to insert the code and what the line might look like that i need to use to assign the form.username variable to a session variable ?
Any assistance / guidance is really appreciated as I have been trying to solve this one for days and i've read books, user guides, trawled the web and i'm a bit stuck... i'm not a coder by trade - although a long long time ago I used to be (cobol) so i have an idea of what the outcome needs to look like, i just don't know the step to get there in linking NOF code to PHP constructs.
Thanks in advance.
James.