Jump to content

Home

Help Identifying a Bug


Datheus

Recommended Posts

aww :(

 

here you go...

 

1: private void Foo()

2: {

3: try

4: {

5: AuthenticationInfo authenticationInfo = GetAuthenticationInfo(Request.QueryString["t"]);

6: Authenticator authenticator = new Authenticator(new LoginProvider());

7: AuthenticationStatus authenticationStatus = authenticator.Authenticate(authenticationInfo);

8: if (authenticationStatus.Authenticated)

9: {

10: IUser user =

11: BLUser.Load(authenticationInfo.UserName, authenticationInfo.OrganizationCode, authenticationInfo.DomainId); 12: user.SetNewSessionId();

13: AuthenticationTokenParser authenticationTokenParser = new AuthenticationTokenParser();

14: string authenticationToken = authenticationTokenParser.Create(user.UserName, user.OrganizationId, user.DomainId);

15: FormsAuthentication.SetAuthCookie(authenticationToken, true);

16: string redirectUrl = FormsAuthentication.GetRedirectUrl(authenticationToken, true);

17: if (redirectUrl == null || redirectUrl.Trim().Length == 0) 18: {

19: redirectUrl = "~/Home.aspx";

20: }

21: Response.Redirect(redirectUrl, true);

22: }

23: Response.Redirect("~/Home.aspx");

24: }

25: catch

26: {

27: Response.Redirect("~/Home.aspx");

28: }

29: }

 

I recommend reading SICP.
Link to comment
Share on other sites

You know, when the aliens come forth from the firmament and squash you all because you're mere chaff against their leviathantic technologies, I'm just going to laugh. Laugh at you all. Laugh because unlike all of you small minded jerks, I let our smaller brothers live freely. I let them be because they wish to live their lives in peace and quiet. I let them be because this is America, damnit, and to let injustice reign anywhere is to let it reign everywhere.

 

(The point of this tangent is that my relationship with arachnids relies mostly on not being a psychopath.)

Link to comment
Share on other sites

Um, I've had those lil buggers around me all my life. They definently enjoyed our basement, which is where I spent alot of my time (the only room big enough for all my friends). They're harmless. A bit freaky to look at and somewhat unerving when they come charging out from under furniture, but harmless nonetheless.

 

Unless you have a heart condition. And if thats the case thBOO!!! Haha! Gotcha.

 

Yea, they're ugly, too.

 

Also a fun way of killing them, I call it the Constantine. What you do is trap it under a glass/ash tray/whatever and life the glass ever so slightly. Then you blow smoke on it. Asphexiation(spell check) rocks.

Link to comment
Share on other sites

Also a fun way of killing them, I call it the Constantine. What you do is trap it under a glass/ash tray/whatever and life the glass ever so slightly. Then you blow smoke on it. Asphexiation(spell check) rocks.

 

 

You are a monster.

 

 

But I still lol'd :(

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...