S
Sadashiva Hegde
Hi,
I have a strange problem. I get NULL reference out of
Encrypt function.
FormsAuthenticationTicket ticket = new
FormsAuthenticationTicket(1,
userName,
DateTime.Now,
DateTime.Now.AddMinutes(30),
false,
null,
FormsAuthentication.FormsCookiePath
);
string enc = FormsAuthentication.Encrypt(ticket);
Variable enc contains NULL reference.
Thanks in advance.
Sadashiv
I have a strange problem. I get NULL reference out of
Encrypt function.
FormsAuthenticationTicket ticket = new
FormsAuthenticationTicket(1,
userName,
DateTime.Now,
DateTime.Now.AddMinutes(30),
false,
null,
FormsAuthentication.FormsCookiePath
);
string enc = FormsAuthentication.Encrypt(ticket);
Variable enc contains NULL reference.
Thanks in advance.
Sadashiv