Yes, what Eduan said is correct.
If the user isn't logged in when he wants to view the protected page, he'll always be sent to the Membership Options Page with those variables at the end of the URL. You can either offer him to purchase access to the page or to login if he already has an account with that access.
You can use those variables to customize the message you give him, or to customize where to send him after login. WP Admin -> s2Member -> API / Scripting -> Membership Options Page / VariablesStatistics: Posted by Cristián Lávaque — September 25th, 2011, 5:41 pm
]]>