11-10-2008
Thanks for your response.Can you please tell me what will be the response of an snmpset variable call to a non-existing variable across the network?
I mean let us take the scenario of session. I want to set a particular value for a session variable across the network,if the session is active. Incase if it is notactive i can't able to set the value since it is not in scope.
So i want to know in the above case whether we will get the same response as i posted or a different one? Please suggest
With Regards
Dileep Pattayath
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
occasionally my server gives this error messages
"NOTICE:HTFS Out of inodes on HTFS dev hd (1/42)"
why ??
Alice. (3 Replies)
Discussion started by: alisev
3 Replies
2. UNIX for Dummies Questions & Answers
Hi everyone,
Can anyone explain what the following error refers to...and perhaps a solution?
vxfs: vx_nospace -/tmp file system full (8 block extent)
Thanks,
Uni (2 Replies)
Discussion started by: Uni
2 Replies
3. UNIX for Advanced & Expert Users
I'm getting an error - symbol referencing errors. No output written to, etc
Can anybody tell me why this is? (2 Replies)
Discussion started by: Dan Rooney
2 Replies
4. Solaris
Hi,
My Solaris 5.8 system keeps getting this error at boot -
"Can't set vol root to /vol"
then
/usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable
Any idea what is wrong, and how do I fix it? (0 Replies)
Discussion started by: ghuber
0 Replies
5. UNIX for Advanced & Expert Users
Hi,
My Solaris 5.8 system keeps getting this error at boot -
"Can't set vol root to /vol"
then
/usr/sbin/vold: can't set vol root to /vol: Resource temporarily unavailiable
Any idea what is wrong, and how do I fix it? (1 Reply)
Discussion started by: ghuber
1 Replies
6. UNIX for Dummies Questions & Answers
Question for unix programmers - what function I need to used to get the exact error message when the library failed to load?
Thanks (1 Reply)
Discussion started by: tttttt
1 Replies
7. Shell Programming and Scripting
I am new to scripting.
I am using the following script . BART.dat contains the string 'Y' .
#!/bin/ksh
cd /work/TCI/data_out
file=`cat BART.dat`
echo "$file"
if ; then
echo "true"
fi
When i am executing the above script i am getting the following error
./s.ksh: : not found
... (2 Replies)
Discussion started by: ammu
2 Replies
8. UNIX for Dummies Questions & Answers
What does this means?
- ERROR OPENING FILE - KEY LENGHT MISMATCH (2 Replies)
Discussion started by: RDM00
2 Replies
9. UNIX for Dummies Questions & Answers
I keep getting an error message in a script im writing, this line is allways pointed out.
if
and this is the message i keep getting.
line 32: [: 8: unary operator expected
Whats wrong with it?
Please Help. (5 Replies)
Discussion started by: chapmana
5 Replies
LEARN ABOUT DEBIAN
net::httpserver::session
Net::HTTPServer::Session(3pm) User Contributed Perl Documentation Net::HTTPServer::Session(3pm)
NAME
Net::HTTPServer::Session - HTTP server side client session
SYNOPSIS
Net::HTTPServer::Session handles server side client sessions
DESCRIPTION
Net::HTTPServer::Session provides a server side data store for client specific sessions. It uses a cookie stored on the browser to tell
the server which session to restore to the user. This is modelled after the PHP session concept. The session is valid for 4 hours from
the last time the cookie was sent.
EXAMPLES
sub pageHandler {
my $request = shift;
my $session = $request->Session();
my $response = $request->Response();
# Logout
$session->Destroy() if $request->Env("logout");
$response->Print("<html><head><title>Hi there</title></head><body>");
# If the user specified a username on the URL, then save it.
if ($request->Env("username"))
{
$session->Set("username",$request->Env("username"));
}
# If there is a saved username, then use it.
if ($session->Get("username"))
{
$response->Print("Hello, ",$session->Get("username"),"!");
}
else
{
$response->Print("Hello, stranger!");
}
$response->Print("</body></html>");
return $response;
}
The above would behave as follows:
http://server/page - Hello, stranger!
http://server/page?username=Bob - Hello, Bob!
http://server/page - Hello, Bob!
http://server/page?username=Fred - Hello, Fred!
http://server/page - Hello, Fred!
http://server/page?logout=1 - Hello, stranger!
http://server/page - Hello, stranger!
METHODS
Delete(var)
Delete the specified variable from the session.
Destroy()
Destroy the session. The server side data is deleted and the cookie will be expired.
Exists(var)
Returns if the specified variable exists in the sesion.
Get(var)
Return the value of the specified variable from the session if it exists, undef otherwise.
Set(var,value)
Store the specified value (scalar or reference to any Perl data structure) in the session.
AUTHOR
Ryan Eatmon
COPYRIGHT
Copyright (c) 2003-2005 Ryan Eatmon <reatmon@mail.com>. All rights reserved. This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
perl v5.14.2 2012-03-03 Net::HTTPServer::Session(3pm)