PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
tags where appropriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
I am trying to set the a user varible to filter results on a table. It works when i come from a form via http post but when i do a redirect to this page it says _session is undefined. But i just defined it when i first ran through and it shouldn't lose it's value because it is a session variable. Someone please help...
Alright I tried putting the session_start() on all pages that are referring to that $_SESSION['name'] and still no luck. It does work the first time i come into the page via a form post.
But when i redirect to the URL in the same session it says variable is not defined...
I know in ASP i could do a session("name") = request.form("txtname") and that session("name") i could call from any page no matter how i got there.