I'm new to this asp thing but would like to know if it's possible to make a
login page that has a hyperlink instead of a button to actually login?

Re: newbie ASP question by Egbert

Egbert
Sat May 08 03:06:19 CDT 2004

"MC" <maxcoppin@-don't-send-me-any-spam-btinternet.com> wrote in message
news:GeVmc.484$TO3.164@newsfe3-win.server.ntli.net...
> I'm new to this asp thing but would like to know if it's possible to make
a
> login page that has a hyperlink instead of a button to actually login?
>
>

This assumes that your page has a form with id=Form1 and name=Form1

<a href="javascript:Form1.submit();">Login</a>

or in more modern script

<a href="pleaseenablescript.htm" onclick="Form1.submit(); return
false;">Login here</a>

--
compatible web farm Session replacement for Asp and Asp.Net
http://www.nieropwebconsult.nl/asp_session_manager.htm


Re: newbie ASP question by MC

MC
Sat May 08 12:04:31 CDT 2004

Thaks, how about a VBscript version? Is that possible?

"Egbert Nierop (MVP for IIS)" <egbert_nierop@nospam.invalid> wrote in
message news:esKHCONNEHA.1312@TK2MSFTNGP12.phx.gbl...
> "MC" <maxcoppin@-don't-send-me-any-spam-btinternet.com> wrote in message
> news:GeVmc.484$TO3.164@newsfe3-win.server.ntli.net...
> > I'm new to this asp thing but would like to know if it's possible to
make
> a
> > login page that has a hyperlink instead of a button to actually login?
> >
> >
>
> This assumes that your page has a form with id=Form1 and name=Form1
>
> <a href="javascript:Form1.submit();">Login</a>
>
> or in more modern script
>
> <a href="pleaseenablescript.htm" onclick="Form1.submit(); return
> false;">Login here</a>
>
> --
> compatible web farm Session replacement for Asp and Asp.Net
> http://www.nieropwebconsult.nl/asp_session_manager.htm
>



Re: newbie ASP question by Roland

Roland
Sat May 08 12:54:02 CDT 2004

"MC" wrote in message news:Tq8nc.289$ND.56@newsfe1-win...
: Thaks, how about a VBscript version? Is that possible?

User input required = client-side scripting and is not asp related.
VBScript should not be used for inTERnet since only IE supports it.
However, you could wrap your HTML/DHTML in server-side VBScript.

The text may wrap but should be all on one line:

Response.Write("<span style=""cursor: pointer; text-decoration: underline""
onmouseover=""this.style.color='#00f'""
onmouseout=""this.style.color='#000'"" onclick=""logon.asp"" title=""click
to logon"">Logon</span>")

HTH...

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: newbie ASP question by MC

MC
Sat May 08 17:34:42 CDT 2004

One little fly in the ointment is that it's for a WAP page - I guess this
means it can't be done?

"Roland Hall" <nobody@nowhere> wrote in message
news:%23MAT0VSNEHA.3476@TK2MSFTNGP09.phx.gbl...
> "MC" wrote in message news:Tq8nc.289$ND.56@newsfe1-win...
> : Thaks, how about a VBscript version? Is that possible?
>
> User input required = client-side scripting and is not asp related.
> VBScript should not be used for inTERnet since only IE supports it.
> However, you could wrap your HTML/DHTML in server-side VBScript.
>
> The text may wrap but should be all on one line:
>
> Response.Write("<span style=""cursor: pointer; text-decoration:
underline""
> onmouseover=""this.style.color='#00f'""
> onmouseout=""this.style.color='#000'"" onclick=""logon.asp"" title=""click
> to logon"">Logon</span>")
>
> HTH...
>
> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
>



Re: newbie ASP question by Roland

Roland
Sat May 08 18:25:04 CDT 2004

"MC" wrote in message news:Sfdnc.139$y65.110@newsfe6-win...
: One little fly in the ointment is that it's for a WAP page - I guess this
: means it can't be done?

Ok, I may be WAP coding challenged but ASP code is never seen by any client.
It processes the script and passes the results to the client so why would
WAP have a problem with it if it can read HTML?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp



Re: newbie ASP question by Egbert

Egbert
Sun May 09 02:47:25 CDT 2004

"Roland Hall" <nobody@nowhere> wrote in message
news:uqLvyOVNEHA.1312@TK2MSFTNGP12.phx.gbl...
> "MC" wrote in message news:Sfdnc.139$y65.110@newsfe6-win...
> : One little fly in the ointment is that it's for a WAP page - I guess
this
> : means it can't be done?
>
> Ok, I may be WAP coding challenged but ASP code is never seen by any
client.
> It processes the script and passes the results to the client so why would
> WAP have a problem with it if it can read HTML?


Wap needs WML which is more like XML than HTML

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfp2k2/html/odc_fpWMLandWAP.asp

> --
> Roland Hall
> /* This information is distributed in the hope that it will be useful, but
> without any warranty; without even the implied warranty of merchantability
> or fitness for a particular purpose. */
> Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
> WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
> MSDN Library - http://msdn.microsoft.com/library/default.asp
>
>


Re: newbie ASP question by Evertjan

Evertjan
Sun May 09 02:56:29 CDT 2004

Egbert Nierop (MVP for IIS) wrote on 09 mei 2004 in
microsoft.public.inetserver.asp.general:

> Wap needs WML which is more like XML than HTML
>


============= http://mywap.org/index.asp ==============

<%
MyTitle = "This is my Wap site"

Response.ContentType = "text/vnd.wap.wml"
%>
<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="D1" title="<%=MyTitle %>">

... etc.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: newbie ASP question by Roland

Roland
Sun May 09 05:18:35 CDT 2004

"Egbert Nierop (MVP for IIS)" wrote in message
news:uJEgLoZNEHA.684@TK2MSFTNGP09.phx.gbl...
: "Roland Hall" <nobody@nowhere> wrote in message
: news:uqLvyOVNEHA.1312@TK2MSFTNGP12.phx.gbl...
: > "MC" wrote in message news:Sfdnc.139$y65.110@newsfe6-win...
: > : One little fly in the ointment is that it's for a WAP page - I guess
: this
: > : means it can't be done?
: >
: > Ok, I may be WAP coding challenged but ASP code is never seen by any
: client.
: > It processes the script and passes the results to the client so why
would
: > WAP have a problem with it if it can read HTML?
:
:
: Wap needs WML which is more like XML than HTML
:
:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfp2k2/html/odc_fpWMLandWAP.asp

Thanks for the link Egbert. (O:=

Roland