ASP technology is used in forums. (7) (the complete forum creation procedure is recommended for vomiting blood !!!!)

Source: Internet
Author: User
This may be the core of our forum, but it has nothing special to achieve. There are still old things: Form processing, database queries, and organically combining them with ASP.
After entering the document review mode (as mentioned above), the most important thing is to verify the identity of bamboo. Next let's take a look at the bamboo login page:
Boardid = request ("boardid ")
The boardid is passed by the link that enters the page, and is the ID of the panel to be processed. It can be used to know that the board is being processed.

Set conn = Server. CreateObject ("ADODB. Connection ")
Conn. Open "driver = {Microsoft Access Driver (*. mdb)}; dbq =" & Server. MapPath ("bbssystem. mdb ")
Set cmd = Server. CreateObject ("ADODB. Command ")
Set cmd. ActiveConnection = conn
Cmd. CommandText = "board master password query"
ReDim param (0) 'statement
Param (0) = CLng (boardid) 'clng cannot be ignored
Set rs = cmd. Execute (, param)
Boardmanager = rs ("Board owner ")
Set cmd = nothing
<Title> Untitled Document </title>
<Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312">
<Body bgcolor = "# FFFFFF">
<P> This location can be accessed only when the board owner <% = boardmanager %> </p>
<P> enter the authentication password and open Cookies in the browser to maintain authentication. </P>
<Form method = "post" action = "managerloginrest. asp">
<Input type = "password" name = "password">
<Input type = "hidden" name = "boardid" value = <% = boardid %>
<Input type = "submit" name = "Submit" value = "OK">
This page is only used for login. After obtaining the password entered by bamboo, it cannot be verified. Instead, it puts the verification work on the next page. In fact, password input and verification can be completed on a page, but the structure of the code is a little troublesome.
Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.