Visualizzazione dei risultati da 1 a 4 su 4
  1. #1
    Utente di HTML.it
    Registrato dal
    Sep 2009
    Messaggi
    34

    resettare password uscita pagina

    ho un form in ASP dove per eccedere si immette una password e visualizza poi un modulo risultati di un DB , il mosulo deve scorre ovv. tutte le pagina, ma all'iuscita cliccando sull'icona home, deve resettare la Password
    come è possibile farlo?

    codice :
    <%
    Response.Buffer = True
    STATUS = Request("STATUS")
    PASSWORD = Request("PASSWORD")

    If STATUS = "CHECKEM" Then
    If PASSWORD = "123456" THEN
    Session("PASSWORDACCESS") = "Yes"
    End If
    End If

    If Session("PASSWORDACCESS") <> "Yes" Then
    %>
    <HTML>
    <meta name="Microsoft Theme" content="soccer 1011, default">
    <BODY>
    <form method="POST" action="feedback_vis.asp">
    <div align="center"><center>


    <font color="#0000B7" face="Century Gothic" size="2">


    </font>
    <font face="Arial">


    PASSWORD :
    </font>
    <input name="PASSWORD" type="password" class="azzurro" size="10">


    <input type="hidden" value="CHECKEM" Name="STATUS" >
    <input type="submit" class="azzurro" value="Login">



    </p>
    </center></div>
    </form>
    </BODY>
    </HTML>

    <%
    Response.End
    End If
    %>


    <html>

    <head>
    <% ' FP_ASP -- ASP Automatically generated by a Frontpage Component. Do not Edit.
    FP_LCID = 1040 %>
    <meta http-equiv="Content-Language" content="it">
    <% ' FP_ASP -- ASP Automatically generated by a Frontpage Component. Do not Edit.
    FP_CharSet = "windows-1252"
    FP_CodePage = 1252 %>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Visione Dati</title>

    <link href="../../main/default_file/ie5_1.css" rel="stylesheet" type="text/css">
    <link href="../../main/default_file/ie5.css" rel="stylesheet" type="text/css">
    </head>


    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>Visione Dati</title>
    <meta name="GENERATOR" content="Microsoft FrontPage 6.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    </head>

    QUI VI E? IL MODDULO DB OMESSO PER FACILITA? DI COMPRENSIONE


    <body>
    <p style="text-align: center"></p>
    <p style="text-align: center; margin-top: 0; margin-bottom: 0">C H I U D I

    </p>

    <p style="text-align: center">[b]
    <font color="#0000B7" face="Century Gothic" size="2">
    <p style="text-align: center"></p>
    </body>

    </html>

  2. #2
    Minz...devi riformulare la domanda in maniera comprensibile per tutti .

  3. #3
    Utente di HTML.it
    Registrato dal
    Sep 2009
    Messaggi
    34
    - si accede alla pagina Visione_dati.asp tramite modulo di accesso PASSWORD
    - si scorrono i dati estratti dal DB con query Risultati
    - conclusa la visione si clicca su "Home"
    qui si deve resettare la variabiel PASSWORD

  4. #4
    Purtroppo nn ho capito benissimo...almeno perchè devi reimpostare....
    cmq per reimpostare la varibile, in pagina home
    <%Session("PASSWORDACCESS") = ""%>

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.