Erlang Mailing Lists

Author Message

<  Yaws mailing list  ~  Display Items from Request Headers with Yaws

Guest
Posted: Tue Dec 29, 2009 5:03 pm Reply with quote
Guest
I want to display a visitor's User-Agent, Accept-Language and Referer
using Yaws.

My code does NOT work....

<erl>
out(Arg) ->
{html, "Your User-Agent: ??????"},
{html, "<hr />"},
{html, "Your Language: ??????"},
{html, "<hr />"},
{html, "Your Referer: ??????"}.
</erl>


Thanks for the help!


- Hank

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Erlyaws-list mailing list
Erlyaws-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/erlyaws-list
Post received from mailinglist
Guest
Posted: Tue Dec 29, 2009 5:58 pm Reply with quote
Guest
On Tue, Dec 29, 2009 at 12:02 PM, Hank Knight <hknight555@gmail.com (hknight555@gmail.com)> wrote:
Quote:
I want to display a visitor's User-Agent, Accept-Language and Referer
using Yaws.

My code does NOT work....

<erl>
out(Arg) ->

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum