12-23-2010
So, are users that log in tcp/ip connected to anything, or just holding recent cookies in a browser?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Working on AIX 4.3
I have an active exe that accepts files for processing on our RS6000. Day to day i store these files in a secure place and at the end of the day I mv them one by one. After some reading and ofcourse trial and error i figured out that this helps...
mv `ls -l |head -l | awk... (2 Replies)
Discussion started by: buRst
2 Replies
2. Programming
Hi,
I have a doubt in introducing a delay in the programs.
We know that we do have a sleep() function/api using which
we can bring a delay in terms of seconds.
A minimum delay can be atleast 1 second.
Now I'm bothered about how to introduce a delay that is just
less than a second. Like... (3 Replies)
Discussion started by: S.Vishwanath
3 Replies
3. Solaris
Hi Experts,
I am running solris 9. Sun-Fire 880.
How do i shutdowon the whole server using ALOM i.e sc> console.
If the server is down or somehow hang How do i Restart from sc>
//purple (6 Replies)
Discussion started by: thepurple
6 Replies
4. UNIX for Dummies Questions & Answers
I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS).
Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies
5. Emergency UNIX and Linux Support
I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console... (16 Replies)
Discussion started by: hedkandi
16 Replies
6. Shell Programming and Scripting
Hi
I'm looking for scripts to backup & restore Gnome Desktop and all settings in Gnome. (0 Replies)
Discussion started by: ccc
0 Replies
7. UNIX for Dummies Questions & Answers
I have a list of URLs that I need to download in a file.
I know I can use the -i option to load the URLs from the file, but how can I make Wget wait a couple secs between each URL download? (4 Replies)
Discussion started by: rlopes
4 Replies
8. Shell Programming and Scripting
Hi,
I am trying to understand what would happen if ther is a loop without any delay like sleep statement, I feel that would add a lot of load onto the CPU. Trying to understand how the load is reduced by the introduction of sleep().
Thanks and regards
Zulfi (3 Replies)
Discussion started by: zulfi123786
3 Replies
LEARN ABOUT DEBIAN
dancer::cookies
Dancer::Cookies(3pm) User Contributed Perl Documentation Dancer::Cookies(3pm)
NAME
Dancer::Cookies - a singleton storage for all cookies
SYNOPSIS
use Dancer::Cookies;
my $cookies = Dancer::Cookies->cookies;
foreach my $name ( keys %{$cookies} ) {
my $cookie = $cookies->{$name};
my $value = $cookie->value;
print "$name => $value
";
}
cookie lang => "fr-FR"; #set a cookie and return its value
cookie lang => "fr-FR", expires => "2 hours";
cookie "lang" #return a cookie value
DESCRIPTION
Dancer::Cookies keeps all the cookies defined by the application and makes them accessible and provides a few helper functions for cookie
handling with regards to the stored cookies.
METHODS
init
This method is called when "->new()" is called. It creates a storage of cookies parsed from the environment using "parse_cookies_from_env"
described below.
cookies
Returns a hash reference of all cookies, all objects of Dancer::Cookie type.
The key is the cookie name, the value is the Dancer::Cookie object.
cookie
"cookie" method is useful to query or set cookies easily.
cookie lang => "fr-FR"; # set a cookie and return its value
cookie lang => "fr-FR", expires => "2 hours"; # extra cookie info
cookie "lang" # return a cookie value
parse_cookie_from_env
Fetches all the cookies from the environment, parses them and creates a hashref of all cookies.
It also returns all the hashref it created.
AUTHOR
Alexis Sukrieh
LICENSE AND COPYRIGHT
Copyright 2009-2010 Alexis Sukrieh.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as
published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
perl v5.14.2 2012-01-28 Dancer::Cookies(3pm)