tiwale
Thu 14th Sep '06, 11:19am
Hello all, I have this function in an aspx page. What's the best way to get "sUserId" from the vbulletin forum. I am trying to let only my vbulletin's authenticated users in this page. I'd also like to do it in a secure way where users passwords are not visible. Thanx........
private void Page_Load(object sender, System.EventArgs e){
if(IsPostBack) return;
string sUserId=Request.QueryString["u"];
if(null==sUserId || sUserId.Length<1){
lblMsg.Text="User Id is a required parameter." + Usage();
return;
}
string sPwd=Request.QueryString["p"];
if(null==sPwd){
sPwd="";
}
private void Page_Load(object sender, System.EventArgs e){
if(IsPostBack) return;
string sUserId=Request.QueryString["u"];
if(null==sUserId || sUserId.Length<1){
lblMsg.Text="User Id is a required parameter." + Usage();
return;
}
string sPwd=Request.QueryString["p"];
if(null==sPwd){
sPwd="";
}