Doh!
I meant there is "NO dire need"
""Joe Brown"" <[EMAIL PROTECTED]> wrote in message
9cp3kv$3hj$[EMAIL PROTECTED]">news:9cp3kv$3hj$[EMAIL PROTECTED]...
> For this operation there is dire need for session management.
>
> And remember the default variable order EGPCS may cause you trouble if
> you're sending a put variable across with the same name as a session
> variable. Session vars take presidence in the global scope.
>
> http://localhost/forums/view.php?topicID=3
>
> The session var $topicID will override this put variable.
>
> $topicID=session var value //your 3 may not be here.
> $HTTP_GET_VARS["topicID"]=3 //you can still find your 3 here.
>
> Session variables are good for maintaining information from one page to
the
> next, avoiding the need for the client to keep sending the same
information
> over and over again.
>
> In either event, I recommend useing a different session variable name than
> the put variable's name, unless you use $HTTP_GET_VARS/$HTTP_SESSION_VARS
> accordingly.
>
> -Joe
>
> ""DC"" <[EMAIL PROTECTED]> wrote in message
> 9covu3$p6g$[EMAIL PROTECTED]">news:9covu3$p6g$[EMAIL PROTECTED]...
> > Hi All
> > I have a ? about setting a session.
> >
> > I have a functions.inc file and at the top have put my session statment
> that
> > looks like this.
> >
> > <?
> > session_start();
> > session_register("$topidID");
> > ?>
> >
> > $topicID comes from my mysql db.
> >
> > What i am trying to do is set the $topicID of my message board so that
> when
> > a sucessful post has been made the visitor can click on a link that show
> the
> > right board by topicID.
> >
> > so the link will look like this...
> >
> > http://localhost/forums/view.php?topicID=3
> >
> > I am banging away trying to make this work....
> >
> > Any help in the meantime is as always appreciated
> >
> > Thank You In Advance
> >
> > dave C
> >
> >
> >
> > --
> > PHP Database 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 Database 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 Database 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]