Session.username shows the server name instead of logged in user

Dear All

I am facing a stupid problem. i.e

I want to get the current logged in user name. I wrote syntax

loggedInUser$ = session.username

Now this code returns the server name instead of currently logged in user

Can any body suggests me the why?

Regards

Ashish

Subject: Session.username shows the server name instead of logged in user

Because it is supposed to do that. Check Designer Help – it explains what the property is supposed to return, and tells you whaich property you should really be using in a web application.