Hello,

Here's my code for the asp.net part. I realize it would be similar to PHP
but, it's so hard to find code to do what I want. Anyway let's say with my
previous code I was posting a var name to an aspx page and I want that aspx
page to use that name to create a new blank text file with that name and
save it. I'm close but, don't have the save file code yet.

Here's how to capture code in .aspx using C#

<%@ Page Language="C#" ContentType="text/html" ResponseEncoding="utf-8" %>

<% 

        Request["myFlashVar"]; // how to access the POST var
        Response.Write("sent=" + "OK"); // how to send a var back

%>







-----Original Message-----
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen Pike
Sent: Wednesday, March 11, 2009 7:02 AM
To: Flash Coders List
Subject: Re: [Flashcoders] Tutorial for ASP.NET 2.0 using C# and AS3

Try making the server side page use GET and POST, then debug your page 
in the browser with a normal query string to make sure that works first...

Then plug it into Flash - you can use LiveHTTPHeaders for get requests, 
or a debugging proxy for more serious stuff :)

Dave Watts wrote:
>> I can't seem to find a good tutorial using ASP.NET 2.0 using C# and AS3.
I'm
>> trying to figure out how to POST vars to an .aspx page or rather I think
my
>> Flash code is correct so I need the code to catch the vars in the .aspx
>> page. I'm totally familiar with PHP but, not the M$ way =8o)
>>
>> ...
>>
>> This is the code I've currently got for the flash side of things.
>>     
>
> Your Flash code looks fine, and in any case would be the same whether
> you're using PHP or ASP.NET or whatever. Why don't you post the
> ASP.NET code? Or are you saying you don't have that at all yet (rather
> than having it, but it doesn't work yet)?
>
> Dave Watts, CTO, Fig Leaf Software
> http://www.figleaf.com/
>
> Fig Leaf Software provides the highest caliber vendor-authorized
> instruction at our training centers in Washington DC, Atlanta,
> Chicago, Baltimore, Northern Virginia, or on-site at your location.
> Visit http://training.figleaf.com/ for more information!
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>   

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to