The problem is that I don't want to force users to use one or the other (www
or non www). I would like the same userreference for each. I am trying to
work with the header info. I got something to work, but with mixed results
depending on the browser being used (no line breaks)...

<@ASSIGN local$httpHeader VALUE="HTTP/1.1 200
OK<@CRLF>Content-Type:text/html<@CRLF>Cache-Control: no-cache, max-age=0,
must-revalidate, proxy-revalidate<@CRLF>Pragma: no-cache<@CRLF>Set-Cookie:
Tango_UserReference=<@USERREFERENCE>; path=\;
domain=.mytargetpackaging.com;<@CRLF><@CRLF>">

Any ideas other ideas?

Thanks for the response!



  _____

From: Bill Downall [mailto:[email protected]]
Sent: Friday, October 12, 2012 9:55 AM
To: [email protected]
Subject: Re: TeraScript-Talk: USERREFERENCE




On Fri, Oct 12, 2012 at 10:34 AM, WebDude <[email protected]> wrote:




Okay... for a need that will take way to long to explain, is there a way to
set the userreference the same for both WWW and non WWW users upon the first
hit on a taf file? I am trying some funky stuff like loading an iframe with
2 calls to the domain, one with and one without the wwww... no joy. Any help
would be appreciated.

Any ideas?


I haven't tested, but something like this in your header?



<@if "NOT '<@appfilepath>' contains 'www.'">
<META HTTP-EQUIV="REFRESH" CONTENT="0; URL=http://www.<@cgiparam
server_name>/<@cgiparam script_name>"">
</@if>


  _____

To unsubscribe from this list, please send an email to
[email protected] with "unsubscribe terascript-talk" in the body.



  _____

To unsubscribe from this list, please send an email to
[email protected] with "unsubscribe terascript-talk" in the body.



----------------------------------------

To unsubscribe from this list, please send an email to [email protected] 
with "unsubscribe terascript-talk" in the body.

Reply via email to