Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. private static string _formsCookieName;
  2. private static string FormsCookieName
  3. {
  4. get
  5. {
  6. if (string.IsNullOrWhiteSpace(_formsCookieName))
  7. {
  8. _formsCookieName = FormsAuthentication.FormsCookieName;
  9. }
  10. return _formsCookieName;
  11. }
  12. }
  13. private static string _formsCookiePath;
  14. private static string FormsCookiePath
  15. {
  16. get
  17. {
  18. if (string.IsNullOrWhiteSpace(_formsCookiePath))
  19. {
  20. _formsCookiePath = FormsAuthentication.FormsCookiePath;
  21. }
  22. return _formsCookiePath;
  23. }
  24. }
  25.  
  26. }
  27. return session;
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement