Hi,
I'm running a game site and I want to make sure that the players get to certain areas by click through only the query strings. The url's are like this: user.cgi?email=$email&pass=$pass. I want to make sure that they just don't type the url in the browser and get in to the areas. This would also avoid some of the common things like editing through Frontpage Express. I tried the following but it's not working that well:
$q = $ENV{'QUERY_STRING'};
if ($q eq ""
{
print "Use the main page";
}
For example, some of the sites won't let you open new windows while the user is logged. If you want to see an example of what I meant, please try web-dcent.com. After you logged and try to edit the address through the browser or try to open a new window, you'll get a error message. Thanks for your time and hope anyone can help.
-Aaron
I'm running a game site and I want to make sure that the players get to certain areas by click through only the query strings. The url's are like this: user.cgi?email=$email&pass=$pass. I want to make sure that they just don't type the url in the browser and get in to the areas. This would also avoid some of the common things like editing through Frontpage Express. I tried the following but it's not working that well:
$q = $ENV{'QUERY_STRING'};
if ($q eq ""

print "Use the main page";
}
For example, some of the sites won't let you open new windows while the user is logged. If you want to see an example of what I meant, please try web-dcent.com. After you logged and try to edit the address through the browser or try to open a new window, you'll get a error message. Thanks for your time and hope anyone can help.
-Aaron