% username = Session("userid") userpassword = Session("userpwd") 'Studentnum = Session("Usernum") 'Studentname = Session("Username") 'Studentalcredit= Session("alcredit") 'Studentaddcredit = Session("addcredit") 'Studentdelcredit = Session("delcredit") '取得登入成功後之使用者名稱 'if username="" then '若Username不為空,表示使用者未登入 'Response.Write "" 'Response.End '導向已無權登入網頁 'end if %>
|