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



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

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:
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploader", 610, 500);
//...other event listeners...
iu.addEventListener("BeforeUpload", "ImageUploader_BeforeUpload");
//...other event listeners...

function ImageUploader_BeforeUpload() {
  if (iu.getControlType() == "Java") {
    '.ASPXANONYMOUS=<%=Request.Cookies[".ASPXANONYMOUS"].Value %>');

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
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.