Author |
|
Guests Guest Group
Joined: 10 November 2003
Online Status: Online Posts: 262
|
Posted: 30 June 2005 at 4:07am | IP Logged
|
|
|
Hello,
I've downloaded the MailBee Imap4 Object and I used it to make the login page, now my problem is that I must use this two strings(username and password that I have used when I did the login page) to make another page, how con I use Imap4 in this case?
My page will be like this:
Dim Rs
Dim CN
Set UserName = request.queryString("Username")
Set Nome = Request.queryString("Nome1")
Set Cognome = Request.QueryString("Cognome1")
Set Voto = Request.QueryString("Voto")
'Seleziono i dati nel database
' Conneterti al DB
Set CN=server.CreateObject("ADODB.Connection")
Set Rs = Server.CreateObject("ADODB.Recordset")
CN.ConnectionString = Application("StudentiDB")
CN.Open
dim StrSQL
StrSQL = " SELECT tSA.Cognome1, tSA.Nome1, tSA.Voto " &_
"   ;FROM tab_StudAppelli tSA " &_
"   ;WHERE tSA.Matr1 = " & Username
Rs.Open StrSQL,CN
while (Not Rs.EOF)%>
<font size="1" color="red" face="Verdana, Arial, Helvetica">
<B></B> <%Response.write Rs("Cognome1")%><br><br><%Response.write Rs("Nome1")%><br><br><%Response.write Rs("Voto")%></font>
<%
Rs.MoveNext
wend
Rs.Close
Set Rs = Nothing
CN.Close
Set Cs = Nothing
%>
The UserName used must be the field of the username I must write using the Imap4 object
Is there anyone who can helps me?
Thanks...
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 30 June 2005 at 10:17am | IP Logged
|
|
|
I'm sorry but I didn't understand what result you want to achieve. Could you please review your inquiry and describe what exactly is the problem with IMAP4 object?
Regards,
Alex
|
Back to Top |
|
|