Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Tamila  
#1 Posted : Wednesday, April 29, 2009 6:07:51 PM(UTC)
Tamila

Rank: Advanced Member

Groups: Member
Joined: 3/9/2008(UTC)
Posts: 554

Was thanked: 1 time(s) in 1 post(s)
I am using DOTNETNUKE framework and getting the following error message in Firefox:
"The server attempted to redirect you, but server redirects are not supported."


You have this problem because Image Uploader Java looses HTTP-only cookies. To resolve this issue you need to use the following code:
Code:
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploader", 610, 500);
//...params...
//...other event listeners...
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload");
//...other event listeners...
iu.writeHtml();

function ImageUploader_BeforeUpload() {
  if (iu.getControlType() == "Java") {
    getImageUploader("ImageUploader").AddCookie('.DOTNETNUKE=<%=Request.Cookies[".DOTNETNUKE"].Value%>;'+
    '.ASPXANONYMOUS=<%=Request.Cookies[".ASPXANONYMOUS"].Value %>');
  }
}
</script>


NOTE: This code is valid for DOTNETNUKE framework only. If you experience "redirect" problem with non-DOTNETNUKE web application, please, read the PRB: Image Uploader for Java looses HTTP-only cookies topic.

Edited by user Thursday, April 30, 2009 5:46:02 PM(UTC)  | Reason: Not specified

Aurigma Support Team

UserPostedImage Follow Aurigma on Twitter!
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.