<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Aiuto Per Un Login]]></title><description><![CDATA[<p dir="auto">Buongiorno, non sono molto esperto ma ho fatto un sito nel quale non riesco a fare una cosa.<br />
Allora io ho una chat privata a camera singola; per entrare bisogna mettere un nickname ma per poter mettere il nickname ho messo una pagina protetta in cui uno puo' inserire il nickname ed entrare solo se è registrato nel database.<br />
Nel database ho i campi : Nome / Numero tessera / codice personale<br />
Posso fare in modo che nella pagina dove inserire il nickname per la chat ci vada messo il nome che ho nel database con il quale uno è entrato senza possibilità di cambiarlo in modo tale che nella chat il nickname è il suo nome ??</p>
<p dir="auto">In attesa di risposta grazie a tutti</p>
]]></description><link>https://dev.connect.gt/topic/42739/aiuto-per-un-login</link><generator>RSS for Node</generator><lastBuildDate>Mon, 30 Nov 2026 02:14:40 GMT</lastBuildDate><atom:link href="https://dev.connect.gt/topic/42739.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 05 Aug 2007 14:00:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Aiuto Per Un Login on Thu, 09 Aug 2007 11:13:58 GMT]]></title><description><![CDATA[<p dir="auto">Non devi far altro che prelevare il testo dell'input "nome_utente" e portartelo dietro con una variabile di sessione</p>
<p dir="auto">Ciao<br />
<img src="https://dev.connect.gt/assets/plugins/nodebb-plugin-emoji/emoji/customizations/54a3bffb-5e4a-4eb8-81dc-99b2072e5d05-175.gif?v=2190ae3dadd" class="not-responsive emoji emoji-customizations emoji--ciauz" style="height:1.4em;width:auto;vertical-align:middle" title=":ciauz:" alt="" /></p>
]]></description><link>https://dev.connect.gt/post/577452</link><guid isPermaLink="true">https://dev.connect.gt/post/577452</guid><dc:creator><![CDATA[legolas]]></dc:creator><pubDate>Thu, 09 Aug 2007 11:13:58 GMT</pubDate></item><item><title><![CDATA[Reply to Aiuto Per Un Login on Mon, 06 Aug 2007 12:25:26 GMT]]></title><description><![CDATA[<p dir="auto">Ciao Webmaster90,<br />
ti sposto in ASP.</p>
]]></description><link>https://dev.connect.gt/post/577457</link><guid isPermaLink="true">https://dev.connect.gt/post/577457</guid><dc:creator><![CDATA[josie]]></dc:creator><pubDate>Mon, 06 Aug 2007 12:25:26 GMT</pubDate></item><item><title><![CDATA[Reply to Aiuto Per Un Login on Sun, 05 Aug 2007 14:11:26 GMT]]></title><description><![CDATA[<p dir="auto"><strong>QUESTA E' LA STANZA IN CUI SI CHATTA</strong></p>
<p dir="auto">&lt;%<br />
'----------------setup------------------<br />
title="AspChat v2" 'title of web page<br />
'----------------/setup------------------</p>
<p dir="auto">if request("event")="login" then<br />
if (InStr(application("emchatusers"), ","&amp; request("login") &amp;",")&lt;&gt;0) then response.redirect("default.asp?error=1&amp;username=" &amp; request("login"))<br />
Response.Cookies("emchatlogin")=request("login")<br />
application("emchatusers") = application("emchatusers") &amp; request("login") &amp;"," &amp; minute(now) &amp; ","<br />
Application(20)=Application(19)<br />
Application(19)=Application(18)<br />
Application(18)=Application(17)<br />
Application(17)=Application(16)<br />
Application(16)=Application(15)<br />
Application(15)=Application(14)<br />
Application(14)=Application(13)<br />
Application(13)=Application(12)<br />
Application(12)=Application(11)<br />
Application(11)=Application(10)<br />
Application(10)=Application(9)<br />
Application(9)=Application(8)<br />
Application(8)=Application(7)<br />
Application(7)=Application(6)<br />
Application(6)=Application(5)<br />
Application(5)=Application(4)<br />
Application(4)=Application(3)<br />
Application(3)=Application(2)<br />
Application(2)=Application(1)<br />
Application("1")="&lt;font color='green'&gt;&lt;b&gt;"&amp; request.Cookies("emchatlogin") &amp; "&lt;/b&gt; enters chatroom&lt;/font&gt;"<br />
Response.Redirect "chat.asp"<br />
end if<br />
if request.Cookies("emchatlogin")="" then Response.Redirect"default.asp"<br />
if mid(request.Cookies("emchatlogin"),1,1)=" " then Response.Redirect"default.asp"</p>
<p dir="auto">if request("event")="post" then<br />
Application(20)=Application(19)<br />
Application(19)=Application(18)<br />
Application(18)=Application(17)<br />
Application(17)=Application(16)<br />
Application(16)=Application(15)<br />
Application(15)=Application(14)<br />
Application(14)=Application(13)<br />
Application(13)=Application(12)<br />
Application(12)=Application(11)<br />
Application(11)=Application(10)<br />
Application(10)=Application(9)<br />
Application(9)=Application(8)<br />
Application(8)=Application(7)<br />
Application(7)=Application(6)<br />
Application(6)=Application(5)<br />
Application(5)=Application(4)<br />
Application(4)=Application(3)<br />
Application(3)=Application(2)<br />
Application(2)=Application(1)<br />
Application("1")="&lt;b&gt;" &amp; request.Cookies("emchatlogin") &amp; ":&lt;/b&gt;"&amp; request("text")<br />
Response.Redirect "chat.asp?event=form"<br />
end if<br />
if request("event")="logout" then<br />
Application(20)=Application(19)<br />
Application(19)=Application(18)<br />
Application(18)=Application(17)<br />
Application(17)=Application(16)<br />
Application(16)=Application(15)<br />
Application(15)=Application(14)<br />
Application(14)=Application(13)<br />
Application(13)=Application(12)<br />
Application(12)=Application(11)<br />
Application(11)=Application(10)<br />
Application(10)=Application(9)<br />
Application(9)=Application(8)<br />
Application(8)=Application(7)<br />
Application(7)=Application(6)<br />
Application(6)=Application(5)<br />
Application(5)=Application(4)<br />
Application(4)=Application(3)<br />
Application(3)=Application(2)<br />
Application(2)=Application(1)<br />
Application("1")="&lt;font color='green'&gt;&lt;b&gt;"&amp; request.Cookies("emchatlogin") &amp; "&lt;/b&gt; leaves chatroom&lt;/font&gt;"</p>
<p dir="auto">userarray=split(application("emchatusers"),",")<br />
userscount=int(((UBound(userarray)+1))-0.5)<br />
for f = 0 to userscount-1 step 2<br />
if userarray(f)=request.Cookies("emchatlogin") then<br />
reptmp=userarray(f) &amp; "," &amp; userarray(f+1) &amp;","<br />
application("emchatusers") = replace(application("emchatusers"),reptmp,"")<br />
end if<br />
next</p>
<p dir="auto">Response.Cookies("emchatlogin")=""<br />
Response.Redirect"default.asp"<br />
end if<br />
if request("event")="form" then<br />
%&gt;<br />
&lt;body bgcolor="<a href="/hashtags/ffcc99">#FFCC99</a>" topmargin="5"&gt;<br />
&lt;table border="0" width="100%" cellspacing="0" cellpadding="0"&gt;<br />
&lt;tr&gt;<br />
&lt;td&gt;<br />
&lt;form action='chat.asp?event=post' method='post' name='chatform'&gt;<br />
&lt;input type='text' name='text' size='50'&gt;<br />
&lt;input type="image" src="<a href="http://www.giorgiotave.it/forum/images/post.gif" rel="nofollow ugc">http://www.giorgiotave.it/forum/images/post.gif</a>" width="84" height="18" border="0"&gt;<br />
&lt;/td&gt;<br />
&lt;td width="120"&gt;<br />
&lt;a href="chat.asp?event=setup" target="_top"&gt;&lt;p align="right"&gt;&lt;img border="0" src="<a href="http://www.giorgiotave.it/forum/images/setup.gif" rel="nofollow ugc">http://www.giorgiotave.it/forum/images/setup.gif</a>" width="44" height="18" &gt;&lt;a href="chat.asp?event=logout" target="_top"&gt;&lt;/a&gt;<br />
&lt;img border="0" src="<a href="http://www.giorgiotave.it/forum/images/exit.gif" rel="nofollow ugc">http://www.giorgiotave.it/forum/images/exit.gif</a>" width="44" height="18"&gt;&lt;/a&gt;<br />
&lt;/td&gt;<br />
&lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/form&gt;</p>
<p dir="auto">&lt;script language="VBScript"&gt;<br />
Sub Window_onLoad<br />
chatform.text.focus<br />
End Sub<br />
&lt;/script&gt;<br />
&lt;%<br />
end if</p>
<p dir="auto">if request("event")="show" then<br />
Response.Write "&lt;meta http-equiv='refresh' content='" &amp; request.Cookies("emchatrefresh") &amp;"'&gt;"<br />
Response.Write "&lt;body bgcolor='#ECE4B0'&gt;"<br />
Response.Write "&lt;font face='arial,verdana' size='2'&gt;"<br />
for f=1 to 20<br />
Response.Write Application(f) &amp; "&lt;br&gt;"<br />
next<br />
userarray=split(application("emchatusers"),",")<br />
userscount=int(((UBound(userarray)+1))-0.5)</p>
<p dir="auto">for f = 0 to userscount-1 step 2<br />
if abs(minute(now)-int(userarray(f+1))) &gt; 2 then<br />
application("emchatusers")=replace(application("emchatusers"),userarray(f) &amp; "," &amp; userarray(f+1) &amp; ",","")<br />
end if<br />
if userarray(f)=request("userrefresh") then<br />
reptmp=userarray(f) &amp; "," &amp; userarray(f+1) &amp;","<br />
application("emchatusers") = replace(application("emchatusers"),reptmp,userarray(f) &amp; "," &amp; minute(now) &amp;",")<br />
end if<br />
next<br />
end if</p>
<p dir="auto">if request("event")="listusers" then<br />
Response.Write "&lt;meta http-equiv='refresh' content='30'&gt;"<br />
Response.Write "&lt;body bgcolor='#FFCC99'&gt;"<br />
Response.Write "&lt;font face='arial,verdana' size='2'&gt;"<br />
userarray=split(application("emchatusers"),",")<br />
userscount=int(((UBound(userarray)+1))-0.5)<br />
for f = 0 to userscount-1 step 2<br />
response.write userarray(f) &amp; "&lt;br&gt;"<br />
next<br />
end if</p>
<p dir="auto">if request("event")="" then<br />
if request.Cookies("barpos")="" then<br />
%&gt;<br />
&lt;title&gt;&lt;%=title%&gt;&lt;/title&gt;<br />
&lt;frameset rows="37,<em>" frameborder="0"&gt;<br />
&lt;frame name="header" scrolling="no" noresize target="main" src="chat.asp?event=form"&gt;<br />
&lt;frameset cols="</em>,130"&gt;<br />
&lt;frame name="main" target="main" scrolling="auto" noresize src="chat.asp?event=show&amp;userrefresh=&lt;%=request.Cookies("emchatlogin")%&gt;"&gt;<br />
&lt;frame name="main" scrolling="auto" noresize src="chat.asp?event=listusers" target="main"&gt;<br />
&lt;/frameset&gt;<br />
&lt;noframes&gt;<br />
&lt;body&gt;<br />
&lt;p&gt;This page uses frames, but your browser doesn't support them.&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/noframes&gt;<br />
&lt;/frameset&gt;<br />
&lt;%<br />
end if</p>
<p dir="auto">if request.Cookies("barpos")="1" then<br />
%&gt;<br />
&lt;frameset rows="<em>,37" frameborder="0"&gt;<br />
&lt;frameset cols="</em>,130"&gt;<br />
&lt;frame name="contents" target="main" scrolling="auto" src="chat.asp?event=show&amp;userrefresh=&lt;%=request.Cookies("emchatlogin")%&gt;"&gt;<br />
&lt;frame name="main" scrolling="auto" src="chat.asp?event=listusers"&gt;<br />
&lt;/frameset&gt;<br />
&lt;frame name="bottom" scrolling="no" noresize target="contents" src="chat.asp?event=form"&gt;<br />
&lt;noframes&gt;<br />
&lt;body&gt;<br />
&lt;p&gt;This page uses frames, but your browser doesn't support them.&lt;/p&gt;<br />
&lt;/body&gt;<br />
&lt;/noframes&gt;<br />
&lt;/frameset&gt;<br />
&lt;%<br />
end if<br />
end if</p>
<p dir="auto">if request("event")="refresh" then<br />
Response.Cookies("emchatrefresh")=request("refresh")<br />
Response.Redirect"chat.asp"<br />
end if<br />
if request("event")="aptop" then<br />
Response.Cookies("barpos")=""<br />
Response.Redirect"chat.asp"<br />
end if<br />
if request("event")="aptop1" then<br />
Response.Cookies("barpos")="1"<br />
Response.Redirect"chat.asp"<br />
end if</p>
<p dir="auto">if request("event")="setup" then<br />
%&gt;<br />
&lt;body bgcolor="<a href="/hashtags/ffcc99">#FFCC99</a>"&gt;<br />
&lt;b&gt;&lt;font face="Arial" size="4"&gt;Appearance&lt;/font&gt;&lt;/b&gt;<br />
&lt;hr noshade&gt;<br />
&lt;p align="center"&gt;&lt;a href='chat.asp?event=aptop'&gt;&lt;img border="0" src="<a href="http://www.giorgiotave.it/forum/images/bartopico.gif" rel="nofollow ugc">http://www.giorgiotave.it/forum/images/bartopico.gif</a>" width="50" height="38"&gt;&lt;/a&gt;<br />
 <br />
&lt;a href='chat.asp?event=aptop1'&gt;&lt;img border="0" src="<a href="http://www.giorgiotave.it/forum/images/bardownico.gif" rel="nofollow ugc">http://www.giorgiotave.it/forum/images/bardownico.gif</a>" width="50" height="38"&gt;&lt;/a&gt;&lt;/p&gt;<br />
&lt;b&gt;&lt;font face="Arial" size="4"&gt;Refresh&lt;/font&gt;&lt;/b&gt;<br />
&lt;hr noshade&gt;<br />
&lt;center&gt;<br />
&lt;form action='chat.asp?event=refresh' method='post'&gt;<br />
&lt;select size="1" name='refresh'&gt;<br />
&lt;option &lt;%if request.Cookies("emchatrefresh")="5" then Response.Write "selected"%&gt;&gt;5&lt;/option&gt;<br />
&lt;option &lt;%if request.Cookies("emchatrefresh")="10" then Response.Write "selected"%&gt;&gt;10&lt;/option&gt;<br />
&lt;option &lt;%if request.Cookies("emchatrefresh")="15" then Response.Write "selected"%&gt;&gt;15&lt;/option&gt;<br />
&lt;option &lt;%if request.Cookies("emchatrefresh")="20" then Response.Write "selected"%&gt;&gt;20&lt;/option&gt;<br />
&lt;option &lt;%if request.Cookies("emchatrefresh")="30" then Response.Write "selected"%&gt;&gt;30&lt;/option&gt;<br />
&lt;option &lt;%if request.Cookies("emchatrefresh")="60" then Response.Write "selected"%&gt;&gt;60&lt;/option&gt;<br />
&lt;/select&gt;<br />
&lt;input type='submit' value='Set refresh (sec.)'&gt;<br />
&lt;/form&gt;</p>
<p dir="auto">&lt;%<br />
end if</p>
<p dir="auto">%&gt;</p>
<p dir="auto"><strong>QUESTA E' LA PAGINA DA INSERIRE IL NICKNAME SE SEI REGISTRATO NEL DATABASE</strong></p>
<p dir="auto">&lt;%<br />
if Session("Autenticato")&lt;&gt;"OK" then<br />
Response.Redirect("index.asp")<br />
end if<br />
%&gt;<br />
&lt;HTML&gt;<br />
&lt;HEAD&gt;<br />
&lt;TITLE&gt;LOGIN&lt;/TITLE&gt;<br />
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;style type="text/css"&gt;<br />
&lt;/style&gt;&lt;/HEAD&gt;<br />
&lt;%<br />
if Request.Cookies("emchatrefresh")="" then response.Cookies("emchatrefresh")="5"<br />
%&gt;<br />
&lt;body bgcolor="<a href="/hashtags/ffcc99">#FFCC99</a>" topmargin="5"&gt;<br />
&lt;center&gt;<br />
&lt;font face='verdana,arial' size='2'&gt;Type nickname<br />
&lt;form action='chat.asp?event=login' method='post'&gt;<br />
&lt;input type='text' name='login' size='10'&gt;<br />
&lt;input type='submit' value='Enter'&gt;<br />
&lt;%if request("error")=1 then response.write "&lt;br&gt;&lt;br&gt;&lt;font color='red'&gt;Nick "&amp; request("username") &amp;" is used!&lt;/font&gt;"%&gt;<br />
&lt;/form&gt;<br />
&lt;hr size='1'&gt;</p>
<p dir="auto"><strong>E QUESTA E' LA PAGINA DI ACCESSO TRAMITE DATABASE</strong></p>
<p dir="auto">&lt;HTML&gt;<br />
&lt;HEAD&gt;<br />
&lt;TITLE&gt;Login&lt;/TITLE&gt;<br />
&lt;style type="text/css"&gt;<br />
&lt;!--<br />
.Stile1 {<br />
font-family: "Comic Sans MS";<br />
color: <a href="/hashtags/ff0000">#FF0000</a>;<br />
}<br />
.Stile2 {font-family: "Comic Sans MS"}<br />
body {<br />
background-color: <a href="/hashtags/ffffff">#FFFFFF</a>;<br />
}<br />
--&gt;<br />
&lt;/style&gt;<br />
&lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"&gt;&lt;/HEAD&gt;<br />
&lt;BODY&gt;<br />
&lt;div align="center"&gt;&lt;span class="Stile1"&gt;PAGINA AUTENTIFICAZIONE GRUPPO&lt;/span&gt; &lt;BR&gt;<br />
&lt;BR&gt;<br />
&lt;BR&gt;<br />
&lt;BR&gt;<br />
&lt;BR&gt;<br />
&lt;/div&gt;<br />
&lt;FORM ACTION="login.asp" METHOD="POST"&gt;<br />
&lt;TABLE ALIGN=CENTER BORDER=0 BGCOLOR=#000000&gt;<br />
&lt;TR BGCOLOR=#EEEEEE&gt;<br />
&lt;TD WIDTH=150 ALIGN=CENTER&gt;&lt;span class="Stile2"&gt;Cognome / Nome &lt;/span&gt;&lt;/td&gt;<br />
&lt;TD&gt;<br />
&lt;INPUT NAME="nome_utente" TYPE=TEXT SIZE=20&gt;<br />
&lt;/td&gt;<br />
&lt;/TR&gt;<br />
&lt;TR BGCOLOR=#EEEEEE&gt;<br />
&lt;TD WIDTH=150 ALIGN=CENTER class="Stile2"&gt;N. Tessera&lt;/td&gt;<br />
&lt;TD&gt;<br />
&lt;INPUT NAME="password" TYPE=TEXT SIZE=20&gt;<br />
&lt;/td&gt;<br />
&lt;/TR&gt;<br />
&lt;TR BGCOLOR=#EEEEEE&gt;<br />
&lt;TD WIDTH=150 ALIGN=CENTER&gt;&lt;span class="Stile2"&gt;Codice personale&lt;/span&gt;&lt;/td&gt;<br />
&lt;TD&gt;<br />
&lt;INPUT NAME="codice" TYPE=PASSWORD SIZE=20&gt;<br />
&lt;/TD&gt;<br />
&lt;/TR&gt;<br />
&lt;TR BGCOLOR=#EEEEEE&gt;<br />
&lt;TD HEIGHT=30 COLSPAN=2 ALIGN=CENTER&gt;<br />
&lt;INPUT NAME="show" TYPE=SUBMIT class="Stile2" VALUE="LOGIN"&gt;<br />
&lt;/TD&gt;<br />
&lt;/TR&gt;<br />
&lt;/TABLE&gt;<br />
&lt;p&gt; &lt;/p&gt;<br />
&lt;/FORM&gt;<br />
&lt;p&gt; &lt;/p&gt;<br />
&lt;p align="center"&gt;&lt;a href="default.asp"&gt;&lt;img src="Bottoni%20link/back2.gif" width="100" height="60" border="0"&gt;&lt;/a&gt;&lt;/p&gt;<br />
&lt;/BODY&gt;<br />
&lt;/HTML&gt;</p>
<p dir="auto"><strong>IO DOVREI PRELEVARE IL NOME/COGNOME (CAMPO UNICO) DALLA PAGINA DI ACCESSO TRAMITE DATABASE E METTERLO COME CAMPO NELLA PAGINA DEL NICKNAME SENZA CHE UNO ABBIA LA POSSIBILITA' DI CAMBIARLO</strong><br />
<strong>IN MODO TALE CHE IL NOME DELLA PAGINA LOGIN E' UGUALE AL NICKNAME</strong></p>
<p dir="auto"><strong>GRAZIE</strong></p>
]]></description><link>https://dev.connect.gt/post/577508</link><guid isPermaLink="true">https://dev.connect.gt/post/577508</guid><dc:creator><![CDATA[webmaster90]]></dc:creator><pubDate>Sun, 05 Aug 2007 14:11:26 GMT</pubDate></item></channel></rss>