how to use sessions...

Security issues related to php and mysql usage. How to make your code secure? Security measures and configurations? It's all in here!

Moderators: macek, egami, gesf

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2223
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län

Postby Alexej Kubarev » Sat Feb 12, 2005 3:19 am

hmmz..this not really a PHP Security question thou.. but anyways:

#Starting a session, should be done on every page at the top

then simply check the $_SESSION['var_name_here'] for a value that will indicate the last accessed page, then assigne the new value to $_SESSION['var_name_here'] and redirect to a new page.. do the same thing for the rest of the pages :)

Return to “PHP & MySQL Security”

Who is online

Users browsing this forum: No registered users and 1 guest