|
||||||
| JavaScript and CSS Extensible Markup Language, Java Script, and CSS questions here. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
| Sponsored Links |
|
|
|
|||||
|
You access them by the do***ent.cookie
Code:
do***ent.cookie = 'ppkcookie1=testcookie; expires=Thu, 2 Aug 2001 20:47:11 UTC; path=/' 2. then a semicolon and a space 3. then the expiry date in the correct format ('expires=Thu, 2 Aug 2001 20:47:11 UTC') 4. again a semicolon and a space 5. then the path (path=/) From: http://www.quirksmode.org/js/cookies.html |
|
|||||
|
Yes, here is some code:
Code:
var expireDate = new Date() expireDate.setHours(expireDate.getHours()-10) Code:
do***ent.cookie = 'ppkcookie1=testcookie; path=/; expires=' + expireDate.toGMTString();
__________________
Void |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating an analog clock with ActionScript | AfTriX | Tutorials | 2 | 01-07-2007 02:19 AM |
| Cookies | dirkfirst | HTML Programming | 10 | 01-06-2007 04:11 AM |
| Creating a Clock | AfTriX | VB Tutorials | 0 | 01-04-2007 01:53 AM |
| Creating a backup script | NeedHelp | General Programming | 3 | 09-07-2006 05:14 AM |
| Creating Tables | leon | Database & Database Programming | 2 | 06-12-2006 09:02 AM |
| Xav | ........ | 1322.18 |
| MeTh0Dz|Reb0rn | ........ | 1053.7 |
| morefood2001 | ........ | 879.43 |
| John | ........ | 877.37 |
| marwex89 | ........ | 869.98 |
| WingedPanther | ........ | 830.24 |
| Brandon W | ........ | 735.07 |
| chili5 | ........ | 309.39 |
| Steve.L | ........ | 239.84 |
| dcs | ........ | 216.02 |
Goal: 100,000 Posts
Complete: 82%