The server will call your script okay as long as everything before the '?' is correct. What happens then, depends on your script. If you wanted to run a switch statement off the url, you would use the parsed variables in $_GET, e.g.:
switch ( $_GET['action'] ) {
case 'view':
// my view code
break;
case 'delete':
// my delete code
break;
default:
// no value / unrecognized value
}
The only reason the URL without the sessionid shouldn't work, is if your site depends on sessions, in which case you may lose it unless it is stored in a cookie. You usually don't have to worry about it though ( except with header('location') ), because PHP will normally append the sessionid to the URL automatically or save it as a cookie.