Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Bug Reports (Open)
 BUG+FIXED (3.1sr4): Odd preview behaviour
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 08 January 2001 :  06:03:47  Show Profile  Visit HuwR's Homepage
I just posted in this topic
http://forum.snitz.com/forum/link.asp?TOPIC_ID=3570

When I previewd the message, it looked like this


'Resistance is futile'

Changed topic title...

Edited by - Davio on 08 December 2001 20:44:34

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 08 January 2001 :  08:24:56  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
I've had that happen before too.... Both on my Forums and Snitz's

Da_Stimulator
Stimmy's Forums - Using 3.1 SR3
"We all die someday, but your goin down before I do" - Me
Go to Top of Page

chimaera
Starting Member

United Kingdom
20 Posts

Posted - 12 June 2001 :  05:58:33  Show Profile  Visit chimaera's Homepage
Unfortunately the link to the picture doesn't work, so I am guessing as to what your preview looked like... however, looking at what you posted in that topic, I have come across some strange behaviour which I think is probably the same. A quick glance at the code shows that a cookie is used to pass the message to pop_preview.asp. i.e. in post.asp

function OpenPreview()
{
var curCookie = "strMessagePreview=" & escape(document.PostTopic.Message.value);
document.cookie = curCookie;
popupWin = window.open('pop_preview.asp', 'preview_page', 'scrollbars=yes,width=750,height=450')
}


and in pop_preview.asp

<%
strMessagePreview = Request.Cookies("strMessagePreview")
Response.Cookies("strMessagePreview") = ""


This is likely to be causing a problem with large posts. According to MSDN,

A more significant problem is the size limitation. The maximum allowable size of a cookie varies with different browsers, but all browsers support cookies of at least 4,096 bytes.

So it seems a different method is probably needed here.

Regards

Steve


Go to Top of Page

tilttek
Junior Member

Canada
333 Posts

Posted - 12 June 2001 :  09:10:24  Show Profile  Visit tilttek's Homepage
quote:

Unfortunately the link to the picture doesn't work, so I am guessing as to what your preview looked like... however, looking at what you posted in that topic, I have come across some strange behaviour which I think is probably the same. A quick glance at the code shows that a cookie is used to pass the message to pop_preview.asp. i.e. in post.asp



Hum, using a windows oppener will do the trick... I'll look at it...


Philippe Gamache
http://www.tilttek.com
http://www.lapageamelkor.com
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 12 June 2001 :  12:22:46  Show Profile
Can it be done that the value of the message box be stored in a variable then sent to the pop_preview.asp page?


Edited by - Davio on 12 June 2001 12:23:57
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20595 Posts

Posted - 12 June 2001 :  12:55:52  Show Profile  Visit HuwR's Homepage
Since the initial post, a couple of alyternative message preview methods have been posted in the MODS forum

Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 08 December 2001 :  20:41:21  Show Profile
Fixed in next version (3.3.04).

Closing...

- David
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07