Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Where has View.AddCookie gone?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Fran Hoey  
View profile  
 More options Nov 9 2012, 6:29 pm
From: Fran Hoey <f...@bluejumper.com>
Date: Fri, 9 Nov 2012 15:29:56 -0800 (PST)
Local: Fri, Nov 9 2012 6:29 pm
Subject: Where has View.AddCookie gone?

Hello,

I need to add a cookie to the response whilst returning a view, looking at
internet examples I should be able to do this:

var vw = View["name", model];
vw.AddCookie("name", "value");

but I dont have the AddCookie method?

I'm using Nancy 0.13 has it been moved? Or am I missing an extensions
namespace?

Thanks,
Fran


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Håkansson  
View profile  
 More options Nov 10 2012, 6:46 pm
From: Andreas Håkansson <andr...@selfinflicted.org>
Date: Sun, 11 Nov 2012 00:45:47 +0100
Local: Sat, Nov 10 2012 6:45 pm
Subject: Re: [nancy-dev] Where has View.AddCookie gone?

We missed adding it when we moved View[] to the content negotiation. It
will be back in for 0.14, but for now you can write it to the
context.Response.Cookies

Sorry about this =(


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fran Hoey  
View profile  
 More options Nov 11 2012, 4:35 pm
From: Fran Hoey <f...@bluejumper.com>
Date: Sun, 11 Nov 2012 13:35:01 -0800 (PST)
Local: Sun, Nov 11 2012 4:35 pm
Subject: Re: [nancy-dev] Where has View.AddCookie gone?

Andreas,

Thank you, but Context.Response is null??

Thanks
Fran


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Håkansson  
View profile  
 More options Nov 13 2012, 2:02 am
From: Andreas Håkansson <andr...@selfinflicted.org>
Date: Tue, 13 Nov 2012 08:01:49 +0100
Local: Tues, Nov 13 2012 2:01 am
Subject: Re: [nancy-dev] Where has View.AddCookie gone?

Oh yeah =/

The only thing I can think of is building Nancy from source and using that
until we get 0.14 out (which should be within a week or so). If you build
using the rake file (there are instructions in the root of the repository)
then you can use the "nuget_package" task and it will produce local nugets
for you and you can just set up a nuget source on your machine, from inside
Visual Studio, and use that to update to the local nugets.. that way you
don't have to strip the nuget stuff in your source

Sorry about this =/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Fran Hoey  
View profile  
 More options Nov 13 2012, 4:09 am
From: Fran Hoey <f...@bluejumper.com>
Date: Tue, 13 Nov 2012 01:09:40 -0800 (PST)
Local: Tues, Nov 13 2012 4:09 am
Subject: Re: [nancy-dev] Where has View.AddCookie gone?

No problem, if 0.14 was a month away that might have caused a problem, but
a week is fine.

Thanks for you help
Fran


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »