The Forum has been Updated
The code has been upgraded to the latest .NET core version. Please check instructions in the Community Announcements about migrating your account.
Hello, is it possible to use the existing forum authentication system on a custom web form.
I use the Snitz Forum for my building condominium association.
I need to create a system for my users to submit maintenance requests. I would like to use the existing Snitz authentication to capture username for each request and send it to a new table. Does anyone know which include files I need to add to a blank asp page which would allow me to grab snitz variables and also maintain security.
I use the Snitz Forum for my building condominium association.
I need to create a system for my users to submit maintenance requests. I would like to use the existing Snitz authentication to capture username for each request and send it to a new table. Does anyone know which include files I need to add to a blank asp page which would allow me to grab snitz variables and also maintain security.
نوشته شده در
Sure, you'll need to include these three:
"config.asp", "inc_sha256.asp", "inc_header.asp"
"config.asp", "inc_sha256.asp", "inc_header.asp"
نوشته شده در
Definitely config.asp, inc_sha256.asp and inc_func_common.asp. inc_header.asp isn't strictly needed, as long as some of the code there is used in your page.
نوشته شده در
Thanks guys, perfect!
Sorry I didn't respond sooner
Would then I just use Request("username"), Request("email") to get the values?
Would then I just use Request("username"), Request("email") to get the values?
آخرین ویرایش توسط
نوشته شده در
Code:
Response.Write "User Name="&strDBNTUserName
Response.Write "EMail="&strEMail
نوشته شده در
Thank you Carefree
Got it~
Got it~
نوشته شده در
The e-mail address is not stored in a variable, you'll need to create your own and modify the chkUser function accordingly.
Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Search is your friend
“I was having a mildly paranoid day, mostly due to thefact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
نوشته شده در
I forgot, I added that a long time ago.
Ok to get the EMail from the database
Ok to get the EMail from the database
Code:
strSql="SELECT M_EMAIL FROM " & strMemberTablePrefix & "MEMBERS WHERE MEMBER_ID="&MEMBERID
set rsMail=my_Conn.Execute(strSql)
if not rsMail.EOF then
strEMail=rsMail("M_EMAIL")
end if
Response.Write strEMail&"=strEMail"
نوشته شده در
Ok guys, thanks for all the support. I will give it a go this afternoon.
Email Member
Message Member
Post Moderation
بارگزاری فایل
If you're having problems uploading, try choosing a smaller image.
پیشنمایش مطلب
Send Topic
Loading...