asp.netÖÐÉèÖÃcookie±£´æÆÚÏÞ - .NET¼¼Êõ / ASP.NET
aspÖÐÓÃcookie±£´æÐÅÏ¢£¬ÔõÑùÉèÖÃcookieµÄ±£´æÆÚÏÞ£¨ÀýÈç±£´æÆÚÏÞΪһ¸öÔ£©
http://hi.baidu.com/listlofusage/blog/item/615d8a38ec97d9c3d4622558.html
ÎÒÔÚvsÖÐʹÓÃdateaddʱÐèÒªµ¼Èëʲô¿Õ¼äô
http://css0213.blog.163.com/blog/static/81305082009101421535871/
ÉèÖÃcookie
DateTime.Add?
C# code:
//
// ÕªÒª:
// »ñÈ¡»òÉèÖÃ×÷Ϊ System.DateTime µÄ System.Net.Cookie ¹ýÆÚÈÕÆÚºÍʱ¼ä¡£
//
// ·µ»Ø½á¹û:
// ×÷Ϊ System.DateTime ʵÀýµÄ System.Net.Cookie ¹ýÆÚÈÕÆÚºÍʱ¼ä¡£
public DateTime Expires { get; set; }
ÓÐʲô²»¶ÔµÄÂð£¿ÉèÖùýÆÚʱ¼äΪµ±Ç°Ê±¼ä¼ÓÉÏ30Ìì
Ïà¹ØÎÊ´ð£º
ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
<part name="bstrPnrNO" type="s:string" />
<part name ......
aspÐéÄâÖ÷»úʵÏÖα¾²Ì¬µÄ·½·¨£º
1¡¢ ÖØÐ´url²ÎÊý
Step1: ½¨Á¢Ç°Ì¨Îļþindex.asp£¬ÐÞ¸Äurl²ÎÊýÐÎʽ¡£ÓÉÓÚ¶ÁÈ¡Êý¾Ý¿âÖеļǼ²»ÊÇרÌâµÄÖØµã£¬¹ÊÖ±½Ó¸ø³ö:
<!--#include file="config.asp" -->
&l ......
ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......
ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵
3Q´ó¼Ò
htmlÒ³Ãæ.
Õâ¸ö,¼ÈÈ»Ö÷Ò ......