user authentication

Does any one know how to get the userid from the cookie (WCM site)?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

public string

public string GetSelectediMISID()
    {
        string _id = "";
        try
        {
            if (Request.Cookies["UserID"] != null)
            {
                _id = Request.Cookies["UserID"].Value;
                Secure _tool = new Secure();
                _id = _tool.Decrypt(_id);
                if (_id == null)
                    _id = "";
            }
        }

        catch { }
        return _id;
    }

Can I get some more info on this

Hi Balaji,

Thanks for your response. Can I please contact you thru email or phone to get some more information? Thanks!

Hi Aby, My emai

Hi Aby,

My emai id is lb@fishtech.net. If you have any questions please send to me directly or you can use contact form from imiscommunity itself.

http://www.imiscommunity.com/user/359/contact