02-18-2008
Given that the request includes a session id I doubt that you'll get much mileage from trying to use wget.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I need a Shell script that will download a text file every second from a http server using wget.
Can anyone provide me any pointers or sample scripts that will help me go about this task ???
regards
techie (1 Reply)
Discussion started by: techie82
1 Replies
2. Shell Programming and Scripting
Hi All
I want to download srs8.3.0.1.standard.linux24_EM64T.tar.gz file from the following website :
http://downloads.biowisdomsrs.com/srs83_dist/
But this website contains lots of zipped files
I want to download the above file only discarding other zipped files.
When I am trying the... (1 Reply)
Discussion started by: alphasahoo
1 Replies
3. UNIX and Linux Applications
I need to download the following srs8.3.0.1.standard.linux26_32.tar.gz file from the following website:
http://downloads.biowisdomsrs.com/srs83_dist
There are many gzip files along with the above one in the above site but I want to download the srs8.3.0.1.standard.linux26_32.tar.gz only from... (1 Reply)
Discussion started by: alphasahoo
1 Replies
4. Shell Programming and Scripting
Hi,
I want to download some online data using wget command and write the contents to a file.
For example this is the URL i want to download and store it in a file called "results.txt".
#This is the URL.
$url="http://www.example.com";
#retrieve data and store in a file results.txt
... (3 Replies)
Discussion started by: vanitham
3 Replies
5. Shell Programming and Scripting
Ok, this is quite weird.
wget -r mysite.com/mylink/
should get all the files recursively from the 'mylink' folder.
The problem is that wget saves an index.html file!
When I open this index.html with my browser I realize that it shows all the files in the current folder (plus an option to move... (3 Replies)
Discussion started by: hakermania
3 Replies
6. Ubuntu
I am using ubuntu 10.04 LTS
I tried to download the file using wget , the file size is 105.00 MB, but wget downloads only around 44K.
may be I am using wget in wrong way, any suggestions please?
Below is the command I used and the response from system.
wget --tries=10 -nd -nH --use=user... (10 Replies)
Discussion started by: LinuxLearner
10 Replies
7. Shell Programming and Scripting
Hi
I need a Shell script that will download a zip file every second from a http server but i can't use neither curl nor wget.
Can anyone will help me go about this task ???
Thanks!! (1 Reply)
Discussion started by: rubber08
1 Replies
8. Shell Programming and Scripting
Hi
I am trying to download the file using wget command. But The password was created as pwd$$ for the user xyz. When i give the command as below it is not downloading the file. Will the password has $$ causing this issue.
wget... (0 Replies)
Discussion started by: ksmbabu
0 Replies
9. Shell Programming and Scripting
Hello all,
I want to write auto update script for my embedded device, which can check and download newer version of my program and extract the files on the device.
The download center is hosted on remote web server .
Script checks the hosted file on web site and if the new version is there... (8 Replies)
Discussion started by: stefki
8 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to download a XML from a URL through wget and successful in that but the problem is that I have to check for some special characters inside that XML. But when I download through wget it transfers the content of the XML in plain text and I'm not able to search for those... (2 Replies)
Discussion started by: dips_ag
2 Replies
LEARN ABOUT DEBIAN
masonx::request::withmultisession
MasonX::Request::WithMultiSession(3pm) User Contributed Perl Documentation MasonX::Request::WithMultiSession(3pm)
NAME
MasonX::Request::WithMultiSession - Multiple sub-sessions within one "parent" session
SYNOPSIS
PerlSetVar MasonRequestClass MasonX::Request::WithMultiSession
DESCRIPTION
This module subclasses "MasonX::Request::WithApacheSession" in order to allow multiple "sub-sessions" to exist within one parent session.
This can be quite useful for a web app where you want to allow the user to open multiple windows, each with a different session, but
session ids are stored in a cookie.
Like "MasonX::Request::WithApacheSession", sub-sessions are shared between a request and any subrequests it creates.
METHODS
This class has an interface quite similar to that of "MasonX::Request::WithApacheSession".
o session
The primary interface to this class is through the "session()" method. When this method is called without any parameters, the module
looks for an existing sub-session specified by the sub-session id argument parameter (which can be in a query string or POST). This
value can be overridden by explicitly passing a "sub_session_id" parameter.
If this parameter is found, an existing sub-session is returned. If this parameter is not found, a new sub-session is created.
If the "session()" method is called as "session( clone => 1 )" then a new sub-session will be created, and its contents will be the
same as that of the current sub-session. This is a shallow copy of the old session hash, so objects and references are shared between
them.
If "session( new => 1 )" is called, then a new, empty, sub-session is created.
You can specify the main session id to use via the "session_id" parameter.
o sub_session_id
This method returns the currently active sub-session's id. Use this method to put this id into URL parameters, forms, etc. as needed.
If given a "sub_session_id" parameter, it will set the current sub-session id.
o delete_sub_session
By default, this simply defaults the current sub-session. You can pass a "sub_session_id" parameter to delete a specific session.
Parameters
This module takes two parameters besides those inherited from "MasonX::Request::WithApacheSession":
o multi_session_args_param / MultiSessionArgsParam
This parameter can be used to specify which parameter contains the sub-session id. By default, the module will look for a parameter
called "sub_session_id".
o multi_session_expire / MultiSessionExpire
This parameter specifies the number of seconds after a sub-session is accessed until it is purged. If not specified, then sub-sessions
are never purged.
Sub-sessions expiration is checked when the request object goes out of scope.
USAGE
You will need to manually set the sub-session id argument parameter for each request. The easiest way to do this is to make sure that all
URLs contain the sub-session id. This can be done by using a "<%filter>" block in a top-level autohandler (although this won't catch
redirects), or by making sure all URLs are generated by a single component/function.
SUPPORT
Bug reports and requests for help should be sent to the mason-users list. See http://www.masonhq.com/resources/mailing_lists.html for more
details.
AUTHOR
Dave Rolsky, <autarch@urth.org>
Development funded by Marigold Technologies.
SEE ALSO
HTML::Mason
perl v5.14.2 2012-12-01 MasonX::Request::WithMultiSession(3pm)