CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 how i get user name from session in ASP.NET with C# ?

Print topic Send  topic

Author Message
alshairi

Posts: 1
Posted: 08/10/2005, 5:42 PM

in CCS
View profile  Send private message
E43509

Posts: 283
Posted: 08/11/2005, 5:38 AM

In VB, this is how I get them, C# should be similar
System.Web.HttpContext.Current.Session.Remove("UserID")
System.Web.HttpContext.Current.Session.Remove("UserLogin")
System.Web.HttpContext.Current.Session.Remove("GroupID")
View profile  Send private message
Tuong Do
Posted: 08/11/2005, 5:03 PM

Most of the programming syntax can be found by using action

In your case, add an action of retrieve value for control where the source
type is Session and Source name will be UserID

Then look at the syntax that CCS use by selecting the show code

"alshairi" <alshairi@forum.codecharge> wrote in message
news:842fa9f00e4fb8@news.codecharge.com...
> in CCS
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Jan K. van Dalen
Posted: 08/11/2005, 8:33 PM

That is the way I'm lerning vb.net with CCS :)

"Tuong Do" <tuongdo@hotmail.com> wrote in message
news:ddgp0u$fvb$1@news.codecharge.com...
> Most of the programming syntax can be found by using action
>
> In your case, add an action of retrieve value for control where the source
> type is Session and Source name will be UserID
>
> Then look at the syntax that CCS use by selecting the show code
>
> "alshairi" <alshairi@forum.codecharge> wrote in message
>news:842fa9f00e4fb8@news.codecharge.com...
>> in CCS
>> ---------------------------------------
>> Sent from YesSoftware forum
>> http://forums.codecharge.com/
>>
>
>


Add new topic Subscribe to topic   


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

Web Database

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.