You wouldn't be able to do it in one pass like this, however if you were to
create a popup window asking for login information...
<body onLoad="window.open('http://www.yoursite.com/login.asp', '[optional
params]')">
Then, when that form is submitted used javascript to close that window and
pass the values to the parent, which upon receiving that information
resubmits to itself with the login information, then performs the welcome.
HTH
Greg
-----Original Message-----
From: Hohimer, Christopher J [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 30, 2002 3:19 PM
To: ActiveServerPages
Subject: Prompts in ASP
Ok here's my situation. I want to prompt the user for a username when
entering my site
Like the javascript prompt and pass it off to asp for use later. How can I
do this
So it would be like this
<html>
<head>
<script language='javascript'>
userid=prompt("hi, what's your username", "username")
</script>
<body>
<p>your userid is: <% =userid %>
</body>
</html>
---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%
---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]