CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 C# Session Variables

Print topic Send  topic

Author Message
Bruce Van Horn
Posted: 11/15/2003, 11:21 PM

I've tried it every which way I can can't seem to get this to work.

I need to set a hidden form field the value of a session variable.

I've tried CCGetSession() but the app won't compile (says that function isn't in the namespace -- I know it works with PHP but it doesn't seem to work with C#).

I tried coding in C# style with Session["youare"], with no luck there either. I've tried doing this in the default value as well as a before show event and neither has any effect.

I know the session variables are working properly because I can use the sesison vars in my queries, and a test page built in Visual Studio shows me they work.

So how can I do this?
Nicole
Posted: 11/17/2003, 5:10 AM

Bruce,
Set field’s Default Value property to
DBUtility.UserId

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.