Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: passing variables
From: Helen Triolo
Date: Sun, 20 Feb 2000 05:32:39 GMT

vipin kanwar wrote:
>
> I'm trying to get a log-in form to work through flash and am stuck with
> passing variables to an asp file (login.asp in this case).
>
> The whole login form created in html works just fine. I've replaced the html
> form with a flash form with the same variable names and given the action
> "get url" using post.
>
> The url is "login.asp" and the window is set to "_self"
>
> Get URL ("login.asp", window="_self", vars=POST)
>
> I keep getting an error from the login.asp file specifying that the username
> could not be found in the databse. But the same username and password is
> working fine from my html form.
>
> Is there some mistake that i'm making in the above mentioned flash process??
>
Vipin,
Did you try setting login.asp to just one line:
<% response.write("Username is " + Server.URLEncode("username")) %>
to check and see what's being sent? (I've found this to be a useful way
to see what Flash is sending). I assume since you didn't include a Set
Variables in your code above that you're using a text field to contain
the data you want to pass (in which case of course the name of the text
field has to be exactly the same, case and all, as the database field
name you're checking it against. Alternately, you can do an explicit
Set Variables: "username" = textfieldname, or
Set Variables: "username" = "actualusername"
before the GetURL statement to pass variable username. If you want any
more help, you could post a link to the asp file and/or fla file for us
to look at.

Regards,
Helen
__________________________________________________________________
i-Technica: Innovative Internet Solutions (http://i-Technica.com)
designerati-technica [dot] com
301-424-6037

flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World’s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: passing variables, vipin kanwar

Replies
  FLASH: passing variables, vipin kanwar

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]