Regarding session in UiPath

Hi Friends,

I am facing an issue that,
I wrote some logic in “if block”, during execution some exception occurs, so to remove that error I rollback all the changes and make the code to the earlier stage where it was working fine but while running the code again, the same error message coming.
I closed and reopen the code but still same error coming.
The same code is working fine on another machine but on my machine it is creating issue.

Is there any type session management in UiPath?

Guys need your suggestions on this.