Bjones82

Declining a package instantly logs you out of silanis. Why?

0 votes
In our software we generate a package in the background then display an IFrame to the URL created with the package from the .net SDK. Right now I have only seen this in your sandbox. If you sign the package normally everything works fine but if you decline or opt-out we get the a screen that says the following: Your browser need to have cookies fully enabled. Possible reasons below:
  • You might have third parties and advertisers options enabled
  • Cookies are disabled
  • Your Login Session has expired
To enable cookies, follow these browser-specific instructions.
  • Safari > Preferences, and then click Privacy
  • In "Block cookies and other website data" section, specify Safari should accept cookies from this website
    If you have cookies enabled but are still having trouble, clear your browser's cache and cookies 1) This is saying browser specific and shows Safari info but I was using IE 2) I know cookies are enabled because our website requires them, without them I would have authentication issues in our site With this information I decided to create a package and just open it in a new window. When I declined the package it instantly took me to a log in screen. I had to refresh the URL to get a confirmation saying that the package was denied. Why does declining or opting out of a package instantly sign you out? This is an issue because if a user declines a package we don't want them seeing a silanis error screen when there was no error.

Reply to: Declining a package instantly logs you out of silanis. Why?

2 votes
You can use the javascript event notifier to notify the parent window of the decline event, and deal with it as you please: javascript event notifier Here is a blog entry with an example as well: Event Notifier Blog Example You'll need to use the ESL:MESSAGE:SUCCESS:PACKAGE_DECLINE event for your specific example.

Reply to: Declining a package instantly logs you out of silanis. Why?

0 votes
Ok. Will this make the event notifiers we register in the .net code not work any more for declined packages? We need to keep those registered for DMZ services we provide for the customer and for updates. If you cannot have JS notifications and .net notifications active at the same time then we have an issue.

Reply to: Declining a package instantly logs you out of silanis. Why?

0 votes
These are two totally different notification mechanisms and types, and can both be used. One is for the front-end UI, the other is backend server based.

Reply to: Declining a package instantly logs you out of silanis. Why?

0 votes
Ok thanks just wanted to make sure.

Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off