Click here to Skip to main content
15,886,919 members

Bugs and Suggestions

   

General discussions, site bug reports and suggestions about the site.

For general questions check out the CodeProject FAQs. To report spam and abuse Head to the Spam and abuse watch. If you wish to report a bug privately, especially those related to security, please email webmaster@codeproject.com

 
GeneralRe: Observations / Suggestions for Alternate Tips/Articles Pin
Chris Maunder5-Mar-12 7:24
cofounderChris Maunder5-Mar-12 7:24 
SuggestionGrab Article Titles Faster on Link Paste Pin
AspDotNetDev2-Mar-12 12:17
protectorAspDotNetDev2-Mar-12 12:17 
GeneralRe: Grab Article Titles Faster on Link Paste Pin
Chris Maunder2-Mar-12 13:07
cofounderChris Maunder2-Mar-12 13:07 
GeneralRe: Grab Article Titles Faster on Link Paste Pin
AspDotNetDev2-Mar-12 14:02
protectorAspDotNetDev2-Mar-12 14:02 
GeneralRe: Grab Article Titles Faster on Link Paste Pin
Luc Pattyn2-Mar-12 17:53
sitebuilderLuc Pattyn2-Mar-12 17:53 
AnswerRe: Grab Article Titles Faster on Link Paste Pin
AspDotNetDev2-Mar-12 18:04
protectorAspDotNetDev2-Mar-12 18:04 
GeneralRe: Grab Article Titles Faster on Link Paste Pin
Luc Pattyn2-Mar-12 18:11
sitebuilderLuc Pattyn2-Mar-12 18:11 
AnswerRe: Grab Article Titles Faster on Link Paste Pin
AspDotNetDev12-Mar-12 16:29
protectorAspDotNetDev12-Mar-12 16:29 
Chris Maunder wrote:
If you are editing a message in window 1, then visit window 2 which drops a cookie, do you have access to that new cookie in window 1 immediately?


Yes. Here's how I demonstrated that... create Page1.aspx:
ASP.NET
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Page 1</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <p><a href="#" class="setCookie">Set Cookie</a></p>
      <p><a href="#" class="showCookie">Show Cookie</a></p>
    </div>
    </form>
    <script type="text/javascript">
      <!--
      function setCookie () {
        var expires = new Date((new Date()).getTime() + 1000 * 60 * 60 * 24);
        document.cookie = "recent_pages=123,456;expires=" + expires.toGMTString() + ";path=/";
      }
      function showCookie () {
        alert(document.cookie);
      }
      $(function () {
        $(".setCookie").click(function () {
          setCookie();
          return false;
        });
        $(".showCookie").click(function () {
          showCookie();
          return false;
        });
      });
      //-->
    </script>
</body>
</html>


Then create Page2.aspx:
ASP.NET
<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Page 2</title>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <p><a href="#" class="setCookie">Set Cookie</a></p>
      <p><a href="#" class="showCookie">Show Cookie</a></p>
    </div>
    </form>
    <script type="text/javascript">
      <!--
      function setCookie () {
        var expires = new Date((new Date()).getTime() + 1000 * 60 * 60 * 24);
        document.cookie = "recent_pages=789,987;expires=" + expires.toGMTString() + ";path=/";
      }
      function showCookie () {
        alert(document.cookie);
      }
      $(function () {
        $(".setCookie").click(function () {
          setCookie();
          return false;
        });
        $(".showCookie").click(function () {
          showCookie();
          return false;
        });
      });
      //-->
    </script>
</body>
</html>


Run them both in the same web application. Click "Set Cookie" in Page1.aspx, then click "Show Cookie" in Page2.aspx. You will note that Page2.aspx displays the cookie set in Page1.aspx.

BugArticle "AutoSave" but lost during submission Pin
andyb19792-Mar-12 10:57
andyb19792-Mar-12 10:57 
GeneralRe: Article "AutoSave" but lost during submission Pin
Elina Blank2-Mar-12 11:26
sitebuilderElina Blank2-Mar-12 11:26 
GeneralRe: Article "AutoSave" but lost during submission Pin
andyb19793-Mar-12 2:16
andyb19793-Mar-12 2:16 
GeneralRe: Article "AutoSave" but lost during submission Pin
Chris Maunder3-Mar-12 2:24
cofounderChris Maunder3-Mar-12 2:24 
GeneralRe: Article "AutoSave" but lost during submission Pin
andyb19793-Mar-12 4:13
andyb19793-Mar-12 4:13 
GeneralRe: Article "AutoSave" but lost during submission Pin
Chris Maunder3-Mar-12 16:18
cofounderChris Maunder3-Mar-12 16:18 
BugReputation History - Old data revisited Pin
Jyothikarthik_N2-Mar-12 10:34
Jyothikarthik_N2-Mar-12 10:34 
AnswerRe: Reputation History - Old data revisited Pin
AspDotNetDev2-Mar-12 12:01
protectorAspDotNetDev2-Mar-12 12:01 
SuggestionAnd a huge thank you from me Pin
Pete O'Hanlon2-Mar-12 10:18
mvePete O'Hanlon2-Mar-12 10:18 
GeneralRe: And a huge thank you from me Pin
Sean Ewington2-Mar-12 11:13
staffSean Ewington2-Mar-12 11:13 
GeneralRe: And a huge thank you from me Pin
Slacker0072-Mar-12 22:46
professionalSlacker0072-Mar-12 22:46 
GeneralRe: And a huge thank you from me Pin
Sean Ewington5-Mar-12 3:22
staffSean Ewington5-Mar-12 3:22 
GeneralRe: And a huge thank you from me Pin
Richard MacCutchan2-Mar-12 23:36
mveRichard MacCutchan2-Mar-12 23:36 
GeneralRe: And a huge thank you from me Pin
Pete O'Hanlon3-Mar-12 10:28
mvePete O'Hanlon3-Mar-12 10:28 
QuestionArticle Author removal Pin
DaveAuld2-Mar-12 9:40
professionalDaveAuld2-Mar-12 9:40 
AnswerRe: Article Author removal Pin
Sean Ewington2-Mar-12 9:54
staffSean Ewington2-Mar-12 9:54 
AnswerRe: Article Author removal Pin
Chris Maunder3-Mar-12 11:15
cofounderChris Maunder3-Mar-12 11:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Flags: Fixed

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.