Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 Cookie Issue

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
Carefree Posted - 13 October 2015 : 17:53:51

strIMDBs="Display"
If Request("strIMDBs") > "" Then
	strIMDBs=Trim(Request("strIMDBs"))
	IMDBI=Application(strCookieURL & "IMDBI")
	Response.Cookies(strUniqueID)("IMDBI") = strIMDBs
	Response.Cookies(strUniqueID & "IMDBI").Expires = Date + 30
ElseIf Request.Cookies(strUniqueID)("IMDBI") > "" Then
	strIMDBs=Request.Cookies(strUniqueID & "IMDBI")
End If


For whatever reason, it dies, but the same server writes cookies just fine on another page. Error captured this, it seems that it thinks the cookie is a header?

006~ASP 0156~Header Error~The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.
1   L A T E S T    R E P L I E S    (Newest First)
Carefree Posted - 13 October 2015 : 19:31:46
Solved it. I just moved the entire routine above everything else.

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000 Version 3.4.07