Tuesday, September 1, 2009

Tuesday, July 28, 2009

Accessing a web service through javascript

You have to add the service reference to the service reference section of the web.config (I think).

Do a google search for ServiceReference.  That might help too.

Web services EnableSession = true

By default, Web Services can't access session information from the website.  To enable this, add [EnableSession=true] above the function definition.

Getting rid of scroll bars using CSS

In cascading style sheets, you can use the "overflow" or "overflowx" property to get rid of scroll bars.   You can use "scroll" or "scrollx" to show scroll bars.

Wednesday, July 15, 2009

JICS and Google Analytics

Google Analytics and JICS : ICS-L

Could use this for page usage tracking

Auto Login with Novell and Javascript

Use javascript nwdirlib object : C#Corner Forums
Says you can use the following javascript to retrieve the username

LdapObj = new ActiveXObject("NWDirLib.NWDirCtrl.1");
entry=LdapObj.FindEntry(LdapObj.LoginName);
usrId=entry.ShortName

More nwdirlib sample code : stackoverflow.com

This method is susceptible to url hacking.