Setup for Cookie MSP Test (#5483).

Object setup.

Object name:Cookie MSP Test
Location:<$nothing>
Parent:MSP Sample Pages (#301)
Owner:Odo (#987)
Description:
<%"Cookies must be sent out before *anything* else is printed.";player:set_cookie(tostr(time()));%><HTML><HEAD> <TITLE>Cookie demo.</TITLE><%=$html_utils:nav_links(this:www_nav_links())%></HEAD><%=this.header%><H3>Cookie demo</H3><%"Obtain a cookie from the previous visit.";cookie = listassoc(tostr(toint(this)), player.cookies);if (cookie) "The cookie is a name/value pair"; "The name is this object's number, we want the value."; cookie = cookie[2];%> You were last here on <%=ctime(toint(cookie))%>.<BR> That was <%=$time_utils:english_time(time() - toint(cookie))%> ago.<% else %> This is the first time you've visited this page.<% endif %><P>Hit <I>reload</I> to obtain a new cookie and display the cookie you received just now.<P><%=this:viewsourcelink()%><%=this.footer%><% this:tell_www_tail(@args); %></BODY></HTML><!-- Last modified by Dax (#789) on Mon Oct 22 14:55:28 2001 MDT. -->
View the access limitations with TicketMaster.


Update and repair this object.

Check this object's web page with the W3 HTML 4.0 validator.

Destroy this object utterly and irretrievably.


You are not logged in.

[home | help | who | search | setup | code]