PHP Session/timeout Settings For Large Video Uploads
I'm currently a video sharing site and I'm aiming for large videos (around 500MB - 1GB), now I have to take into account an average user should only be able to do 30k-50k per sec.
So the session_timeout and upload_max need to be adjusted. Anybody with experience with large upload sites ?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Why Getting Session Timeout Error In IE
I am assisting a client who is linking to an online calculator, he is putting a frame on top of the calculator page, so people will still see his information. However, for some reason he is getting a Session Timeout Error in IE. I don't get this error in Firefox using this method, or ever going to the direct page in IE. Let me give a better explanation: If you visit: [url] Just put in a fake name and email, it loads a frame at top, and then the online calculator, which is this page: [url] Why I am getting a Session Timeout? Is there a better solution. I never get the same error if I go directly too: [url] We want a frame or better solution because we still want the contact information to be in front of the consumer. Does this maybe have to do with a cookie and frame?
View Replies!
View Related
Causes Of Failed Large Uploads Via Form
I just moved to a new, dedicated server this week. My vbulletin forum users typically upload mp3 files under 10MB. At the moment, I can't seem to get anything above 6MB to work. In vBulletin land, they recommend changing these in php.ini: upload_max_filesize - Largest size of a file to accept. post_max_size - Must be larger than upload_max_filesize. memory_limit - Should be larger than post_max_size. max_execution_time max_input_time I've cranked all of those up and restarted Apache. I'm still having the same problems. The little window with the form turns white after what appears maybe 5 minutes, but I haven't timed it. They also mentioned changing the LimitRequestBody in Apache. I appear to be screwing that part up so I created a thread in the Apache forum specificallya about that. [url] So I wanted to ask if there were any other possibilities that you guys could think of that would inhibit the file size up uploads via a form. I'm running httpd-2.2.8 and php-5.2.6. It needs to be said that this forum is config is mostly right out of the box. $_SESSION wouldn't work in php until I changed the directory for it yesterday. So there may be a very basic config setting that I missed. --------- I decided to check my error logs. PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 9852343 bytes) I'm confused. I have an allowed memory of 30MB (give or take). So why does a 10MB file "exhaust" it?
View Replies!
View Related
Large Video Files Need To Be Streamed
I am developing a web application for a private investigative firm. They do surveillance work and therefore have surveillance videos. I would like the capabilities of uploading the videos online and allowing the client to login and view their surveillance video online. Currently, we get the video from the PI, put it on a DVD and then mail it to the client. This takes too long. We want the client to be able to view the video online. Some of these videos can be up to 2 hours long. First, is this even possible? Second, - how much bandwidth would a website like this take? - Is there a host that can hold hundreds of GB of video? I want to convert it to flash to save file size and also so I can stream it.
View Replies!
View Related
Managed VPS For Large Video Site
I'm currently building a large guitar lesson website that will launch around the end of the year or so. Basically there will be multiple instructors on the site who submit video files from 10mb to 20mb in size each. There will eventually be a couple thousand videos on the site, so around 30gb of disk space right there give or take. So I need plenty of disk space. I'm on a shared hosting account right now with iPowerweb, and that of course won't do me much good once the site's up and running. Plus they have a 12mb upload limit, but the instructors need to upload videos larger than that. And I'm aware that with a VPS I'd be able to set my own upload file size limit. Anyway, this server stuff gives me a headache and I feel totally clueless. I've always loved the basic shared account because I don't have to do anything to keep the server in tact. But from what I've read, a VPS or dedicated server would take a lot of work on my part. So for that reason, I'm guessing I would need a managed VPS or managed dedicated server. I don't totally know what "managed" means, but hopefully to where I wouldn't have to do any upkeep. I need to focus my time on a bazillion other things besides the server, so it'd be nice to find a plan where I wouldn't have to worry about server security updates, software updates, and any other server maintenance etc. I need tons of bandwidth. It's going to be a membership site with hundreds and eventually thousands of members who all watch the lesson videos. So that's a ton of bandwidth. I'll be the only one on my server though, I'm not going to also host clients or anything. I'll of course need super reliability. With eventually having thousands of members, my site needs to be totally professional with near flawless uptime. So I'm thinking I'd want to start off with AT LEAST 40gb of disk space, but 60gb might be better. At least 1000gb transfer, but again, maybe more? And I guess a lot of ram, although I admit I hardly know what ram is haha, does that have to do with the speed of the site? And what's burstable ram? But yes, I'd need to have a server that can handle all the many files and users, with great uptime and great speed. Budget-wise, I'd like to keep it under $70 or $80 a month if possible. If absolutely necessary, maybe a little more. Anyway, if you guys were in my shoes, what would you do. Assuming you're clueless about VPS, and have the needs mentioned above. Any host recommendations or advice? Price-wise and size-wise, Start Logic looks pretty good, but I think their VPSs are all unmanaged. Ive looked at a lot of other companies, but it's hard to find the right plan.
View Replies!
View Related
How Do You Host Large Video Files And Support The Bandwidth
I've got a client who wants to host audio files... Here are the sizes: 50 x 75MBs 300 x 10MBs 400 x 5MBs That totals 8750MBs or 8.75GBs... If he gets hundreds of visitors, it could end up being 1000's of GBBs or bandwidth. I don't know what to look for to support so much bandwidth... Do you buy bandwidth? Are their special companies out their that host it for you?
View Replies!
View Related
Site Hacked Via Php Script Placed In WordPress Uploads Directory
First of all, I discoverd this forum during my quest to unravel the mysteries of how my site was hacked. I hope this is an appropriate forum to discuss the issues even though I am not a web hosting provider, but merely a customer of a web hosting company, hostrocket.com I have an installation of WordPress 2.1 WordPress creates a couple world writable directories such as Uploads and Cache which are owned by nobody. Apparently (according to the tech support at hostrocket.com) someone was able to insert and exectue a php script in my world writable Uploads directory. Over 40MB of scripts, executables and files were uploaded. As best I can tell, my space was being used as some sort of link farm or perhaps acting as a server in my webspace. I do not have much knowledge about these things and consequently can't talk very inetlligently about them. But I am trying to grasp what little I am able to absorb about how this could have happened, what I can do to mitigate it from reocurring in the future. Some of the stuff that was in the directory is as follows... 2421 bindz h4ckerz mass.pl p trace-kmod 2421.1 brk help.php mybindshell ptrace24 99.php coredump idf.php netcat pwned CMD.php dc.pl index.html online r0nin TMT.htm elfdump kmod2 online.tar.gz raptor TTdummyfile gcc krad3 prctl2 uselib24 bind.pl g cc.1 list.txt ptrace The "online" directory contained over 40MB of directories such as... abortion diethylpropion accounting diflucan accupril diovan acne distance-education actonel dospan actos dovonex acyclovir doxycycline adderall drug adipex drug-rehab adventure-travel drug-test adware dvd adware-spyware e-pathto affiliate-program effexor air-travel elavil aldara enalapril alprazolam equity-loan altace estradiol amaryl evista ambien fioricet amitriptyline flexeril amoxicillin flonase amoxil florida-lottery antivirus fluoxetine atenolol fosamax ativan free-poker avandia free-slots avapro free-spyware baclofen furniture bankruptcy gambling bextra home-equity-loan biaxin home-loan bingo hosting black-jack hotel blackjack hydrocodone blackjack-game images bontril imitrex britney-spears insurance-life business internet-betting buspar internet-gambling buspirone loan butalbital loans buy-hardware lortab buy-phentermine lottery california-lottery lotto captopril mesothelioma car mortgages car-insurance online-black-jack carisoprodol online-casino cars online-gambling cartia online-loan cash-loan online-pharmacy casino online-poker casino-games online-roulette casino-las-vegas online-slot celebrex payday-advances celebrex-online phentermine celexa poker celexa-online poker-chips cephalexin poker-game cialis poker-tables cigarette refinance cigarettes refinance-house cipro refinance-loan claritin refinancing clindamycin ringtones clonazepam roulette clonidine slot-machine codeine slot-machines consolidate-card slots cozaar steroids credit structured-settlement credit-card texas-holdem credit-card-debt texas-holdem-poker credit-card-debt-consolidation texas-holdem-rules creditcard texas-lottery cyclobenzaprine tramadol darvocet travel dating travel-insurance debt-consolidation ultram debtcard valium denavir viagra diazepam vicodin diclofenac video-poker didrex wagering diet-pills xanax As you can see, I was had in a BIG way. So the first thing my webhost had me do was to change ownership of the directories owned by nobody to me. Then I was able to change permissions from 777 to 755. However in so doing, I am no longer able to use the Dashboard of WordPress to upload images anymore, unless I temporarily change permissions back to 777. The other thing the tech support guy did is to create an .htaccess file with, php_flag engine off I guess this basically renders php scripts impotent from running. So without flaming me, can you help me understand how someone in a shared server environment is able to put a php script into one of my directories? What amazed me was this particular script, "99.php" actually when viewed in a browser window titled phpshell was called "c99adult v. 1.0 pre-release build #16". It basically enabled whoever had access to the URL, to view my webspace, and do all sorts of nasty things. Talk about a wake-up call! Obviously this enabled the hacker to view my config.php file and ascertain my database password and everything else. Whether he did, or whether there is a logfile of that info that could enable him to hack the database at some time in the future is unknown to me but it's really freaking me out.
View Replies!
View Related
Php Session.save_path
when I install Joomla, it said session.save_path = /tmp is unwriteable. however, following phpinfo(), the session.save_path on server is /tmp, and all my php sites are working fine, I can see many sess_ files in /tmp. That means the sessions are still written into /tmp by user apache, is that correct? so, why Joomla instalation saying it's unwriteable? i am on a linux server
View Replies!
View Related
Php Error Session Side-effect
i have a cpanel server with centos, and i put a script on it, and i get the error ----------------------------------------------------- Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 -----------------------------------------------------
View Replies!
View Related
Php Injection & Session Hacking
I had done a program in early 2006 for a site in php-mysql. At the time of doing the code, The code written was not so standard and it contained uninitialized variables used for include file paths (eventhough values are assigned to it before using) and the "sess" folder was created within the website folder. Also the parameters for the SQL query were not escaped, but everything was working fine. And now i was informed that the insecure code in my program caused the server crash and i have to pay the penalty for the same. Can anyone let me know whether the below code / keeping the session variables within a folder inside the /www/ will make the sites hosted on the server where this program runs to stop/crash for ever ? ------------------------------------------------------------------ function update_region($id,$regname,$regcom) { $query = "UPDATE taxregion_mast SET taxregion_name = '". $regname."', region_comments = '". $regcom."' WHERE region_id =" .$id; mysql_query($query); ...... -------------------------------------------------------------------
View Replies!
View Related
PHP Session Locks - High Io Wait
For the past couple of days, I've noticed that there is alot of apache processes running in the "D" state and that my IO wait is up to %80. I straced one of the processes and the result is its locking on a php session: $ strace -p 3230 06:57:12 open("/var/lib/php/session/sess_86ecf346c6f7adba93cb1077f6b95d43", O_RDWR|O_CREAT, 0600) = 44 06:57:12 flock(44, LOCK_EX And this is the output of lsof [root@xeon ~]# lsof | grep session mysqld 3212 mysql 178u REG 8,33 275456 26099994 /hd/mysql/sitebuilder3/session.MYI mysqld 3212 mysql 183u REG 8,33 354592 26099937 /hd/mysql/sitebuilder3/session.MYD bash 6426 root cwd DIR 8,21 1060864 25133096 /var/lib/php/session httpd 6698 apache 44uW REG 8,21 115 9814967 /var/lib/php/session/sess_e0f1bb824667860260f9e5bd53da54e9 httpd 6704 apache 44u REG 8,21 138 25135115 /var/lib/php/session/sess_325b2701fcb8fb2d8371d1dd72660e8b httpd 6718 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6723 apache 44u REG 8,21 115 9814794 /var/lib/php/session/sess_79249a69f0a929318c3a8d25b1102ff4 httpd 6765 apache 44u REG 8,21 14 9815234 /var/lib/php/session/sess_0983ce89bad9d37eccec89fe83985945 httpd 6773 apache 44u REG 8,21 141 9815254 /var/lib/php/session/sess_298731e4cb90e58f223bc1b1b2da8cef httpd 6782 apache 44uW REG 8,21 175 9814514 /var/lib/php/session/sess_608cf6bb40ba33a7505f3857e32c3854 httpd 6786 apache 44u REG 8,21 139 9814480 /var/lib/php/session/sess_10913da266608052ffd08e5fa39356c7 httpd 6787 apache 44uW REG 8,21 138 9814292 /var/lib/php/session/sess_3e0fac0590d02b4f111ce4bee9a8bfe1 httpd 6790 apache 44u REG 8,21 14 9815287 /var/lib/php/session/sess_cdfeac2790c55a62744a66caef886857 httpd 6794 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6798 apache 44uW REG 8,21 93 9814971 /var/lib/php/session/sess_fa0f81edfd26e8653bc94bc9f9af6f6d httpd 6801 apache 44u REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6802 apache 44uW REG 8,21 138 9814423 /var/lib/php/session/sess_a28662f28c3fe91926c7c96267fe324f httpd 6811 apache 44uW REG 8,21 115 9814802 /var/lib/php/session/sess_396f6670549934766bd8268f0b5628fc httpd 6822 apache 44u REG 8,21 153 9815061 /var/lib/php/session/sess_0d1fcc65d1964fc3d354e4b94f3638eb httpd 6833 apache 44uW REG 8,21 153 9815173 /var/lib/php/session/sess_05ed9e41766579f10cfdaa2f7e737a1a httpd 6846 apache 44u REG 8,21 236 9815142 /var/lib/php/session/sess_23b5cad8471778391bf9748d0f4f1230
View Replies!
View Related
Session Errors - Php.ini Related
I have a Cpanel box, in WHM I used the "PHP Configuration Editor" and changed the php execution time (minor change). After clicking save I now get the following error on any php using sessions: Warning: session_start() [function.session-start]: open(/tmp /sess_1d374c43a0f726cd43776f9f92485bec, O_RDWR) failed: No such file or directory (2) in /home/continou/public_html/control/index.php on line 4 One thing I noticed it did was turn on PHPSuexec which generally causes problems for me. I turned that off and the error response changed slightly (to above) but the problem is not solved. I tried rebooting the server. /tmp does exist, I am now rebuilding apache in hopes that corrects the problem.
View Replies!
View Related
PHP Settings
Does the following setting of PHP look normal in a shared hosting environment? disable_functions ini_alter,system,passthru,shell_exec,leak,listen,chgrp,apache_setenv,define_syslog_variables,openlog,syslog,ftp_exec ini_alter,system,passthru,shell_exec,leak,listen,chgrp,apache_setenv,define_syslog_variables,openlog,syslog,ftp_exec
View Replies!
View Related
(error) IP Address Changed Amidst Session. Possible Session Hijacking
I have just got a resellers VPS and my host installed HyperVM 2.0 and when I logged in it works but then I get logout and then get this error: IP Address Changed Amidst Session. Possible Session Hijacking. then it takes my host admin time to fix it and now they will not do any think so i can not now use it (login). Not Good is there something I can do? all I can think is that it is my ISP IP (Dynamic IP Address) which keeps changing.
View Replies!
View Related
Changing Settings For Php.ini On IIS
I have IIS on my computer and I want to start using a php driven forum (SMF) on my web site. Before I upload the files I need to check the following settings are on: the engine directive must be On. the magic_quotes_sybase directive must be set to Off. the session.save_path directive must be set to a valid directory, or empty. the file_uploads directive must be On. the upload_tmp_dir must be set to a valid directory, or empty. I cant find anywhere within IIS where these directions maybe found. Can anyone point me in the right direction?
View Replies!
View Related
APC :: Shows "timeout" And "out Of Memory" Errors With Php Scripts
We have installed APC 3.1.3p1 beta (and also 3.0.19 stable seperately, to test) and we are seeing a lot of "out of memory" and "timeout" errors. For example, a php scripts dies saying the available memory is 256Kbytes, and the script tries to allocate 256 Mbytes of memory. Here are the APC settings: [APC] apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = 128 apc.max_file_size = 8M apc.stat = 1 and PHP settings related to memory is memory_limit = 1024M We have tried included apc.php file to watch out the cache, but it doesn't show any kind of fragmantation or etc. related with system, instead it shows "timeout" and "out of memory" errors with php scripts. We have thought that the error can be related to /dev/shm as you should increase apc.shm_size in order to obtain more memory, therefore we have mounted /dev/shm as 4Gbytes. The server has 8Gbytes of memory (using 64-bit CentOS). Note that once we set apc.enabled = 0, the problems go away, so it's definitely something with APC.
View Replies!
View Related
Fast Uploads
i have moved my hosting to a new provider and i was wondering what is the quickest way to upload my 500MB files to the new server? Is there anyway i can speed this up like have a dedicated uplink port to my server, or via VPN or something, cos at the moment i have an upload speed of around 10KB/s,
View Replies!
View Related
Secure Uploads
My requirements are 500MB, 5GB bandwidth, rails and postgres, $5-6 per month. It looks like there are many providers out there that are offer that. However the only uploading method shared hosters seem to offer - or at least the only method they advertise - is FTP. Coming from a university and sysadmin background, I thought that anything that sends passwords over the wire unencrypted had died long ago (except HTML forms and legacy systems). Are there any shared hosting services that allow a more secure upload method (e.g. scp, rsync-over-ssh, even webdav-over-ssl)?
View Replies!
View Related
SERVAGE FTP Uploads
company for over a month or 2 contacting them (support tickets) is as useless as not!.. their reply is always simply: we checked and nothing at our side! (asking for a clarification simply gets u nothing!) problem is simply ONLY with ftp uploads! my line upstream is 256Kbps (32 KB/sec) and down 1Mbps and i was always capable of pushing up to 2.2 GB/day ((i monitor my traffic all the time)) but just recently some weird things started appearing... before uploads would never go under 27-26 KBs on my FTP client now it's so normal finding it dropping to 15,10,4,2, 0! ya a whole 0! and that's not just for a second or two it can stay like that for maybe aminute then go up back again! And upon watching my traffic statistics closely, i found myself pushing at the most 1.6 GB only a day! another funny thing is that files used to appear AND PARTIALLY in the root directory instead of the desired directory! so WHAT IS UP!
View Replies!
View Related
Can't Seem To Get File Uploads To Work
We are going to host our own website. I built up a windows 2003 server. Installed IIS6. I am working on file upload to our website. I can get files to upload to c:Temp but not to c:Inetpubwwwrootourwebsiteupload. I even set up the upload directory for full sharing with write permissions. Still no help. I went into windows explorer and right clicked on the upload dir and shared it and set the permissions for read and write. That should take care of NTFS permissions. But no matter what I do when I click on the upload directory and go to properties is shows 'read only'. Can't seem to get that turned off. Until I do I don't believe I can upload a file to the upload directory. I went into iis6 mgr and and set the upload directory for full access - read and write. That should take care of iis security. I went to default website (there is only one) and allowed anon login. Even told it use the Administrator account for login with all read and write permissions. Here is my upload code: ....
View Replies!
View Related
Hostgator & MySQL Uploads
I am about to purchase a reseller (Diamond) or maybe just a Hosting (Swamp) but I cant seem to find anywhere details on their MySQL policies. I have a forum and the database if growing in size daily and im concerned about the database upload limit that may be applied. I have a dedicated server at the moment and im able to request that be changed via php.ini but where would I stand on this if I were to move to shared hosting?
View Replies!
View Related
Pure-ftpd Crashing During File Uploads
I've been running pure-ftpd for around 4 months now without any problems, until around 24-48 hours ago file upload has been going a bit loopy. When you upload a file the speed bounces considerably, and at times pauses on 0kbps until it then dies and fails the upload. 9/10 uploads I have tried have failed. [R] Opening data connection IP: 74.86.20.181 PORT: 35283 [R] LIST -al [R] 150 Accepted data connection [R] 226-Options: -a -l [R] 226 6 matches total [R] List Complete: 374 bytes in 0.64 seconds (0.6 KB/s) Transfer queue completed 1 File failed to transfer [R] Connection lost: chacha We have restarted pure-ftpd a number of times, but have had no luck. Please could you try and upload a file (at least 10mb and please nothing dodgey) to this FTP account: address: chacha.99k.org user: chacha@99k.org pass: password And output the result. Does anyone here have experience with pure-ftpd and would possibly consider giving my system a "once over"?
View Replies!
View Related
Phpsuexec, Forum Uploads On IPB Not Working
We have a server that we just changed over to PHPSUEXEC. On this server, we have a large IPB (Invision Power Board) forum that we have not been able to get uploads in the forum back working again. Users are getting the message that they don't have permission, and to contact an administrator. I have looked on IPB's forum for PHPSUEXEC related issues, but can't find a solution. Of couse, before phpsuexec the "upload" folder had 777 file permissions, but under phpsuexec this must be 755. It isn't working though. Anyone had experience with this with IPB and know how to fix it?
View Replies!
View Related
Whos Is Responsible If Someone Uploads Illegal Content
I want to get a VPS to hold my sites and the websites i build for people. I'm not sure about what happens if a client uploads something they shouldnt - be it porn, warez or whatever. As a server owner, do i risk getting in trouble? Or am i simply the contact person . I can't check every file that people might upload.
View Replies!
View Related
Session Directory
I need to make this writeable but I can't find it on my server with my FTPclient. Can someone tell me what it is and where it's likely to be? Maybe I have to create one?
View Replies!
View Related
Session Error
I have a large survey (I use phpsurveyor) on my reseller webdomain running. It takes about 30 minutes to fill in the complete survey. After 24 minutes my respondents get a session error and their data is lost. I tried to solve this with a .htaccess php_value max_execution_time 600 php_value session.gc_maxlifetime 3000 php_value session.cookie_lifetime 3000 With phpinfo.php I can see that the Local Values are session.gc_maxlifetime 3000 and session.cookie_lifetime 3000.
View Replies!
View Related
Session Issue
I have got error: Code: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/myhope/public_html/pro/index.php:1) in /home/myhope/public_html/pro/index.php on line 2
View Replies!
View Related
Session.save_path
It could've gone into the php section as well...I think. I got a dedicated server 2 days ago, but the "session.save_path" is not set. What I did was create a "php.ini" file, put the following code into it and uploaded it to my public directory. Quote: session.save_path = "/var/www/vhosts/contrid.com/subdomains/projects/httpdocs/tmp" ...but I'm not sure if this is right. Unfortunately it doesn't work, therefore I'm making this post. If anyone can help me, it will be greatly appreciated. ** This is for a subdomain. **
View Replies!
View Related
Session Error
When i try to login my linux server from GUI i put my username "root" and then put the password, i am not able to login and getting following error "Your session only lasted less then 10 sec. If you have not logged out yourself this could mean that there is some installation problem of that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem view details in ~/.xsession.error file " Does any one know about this error.
View Replies!
View Related
Windows Server Session
Is it possible to have 1 session under XXX.XXX.XXX.XXX IP and the 2 session under a different IP allocated by your DC?. The box is in Europe ..I need to log-in one session and download some files from a server so whenever the master sees it will see one IP and the other session from another. Two of the reasons I need this done is 1. privacy 2. avoiding of buying another box.
View Replies!
View Related
User Terminal Session Logging
I'm looking at allowing remote telnet into my server. like any security-minded administrator, I want to log what my users type on the telnet session. I'm using the script command to generate transcripts of the users session. I have /etc/profile set to automatically start the script command to log user activity, and in /etc/bash.bash_logout I have a command that emails me the transcript of the users' session. All of the above works well except for one thing: the users can type "exit" to escape from my script logging and any commands they type won't get logged.
View Replies!
View Related
RDP Sessions - Forcing New Session
I've come across an issue where our users are not logging out of their terminal services session properly. Whether via TSWeb or MSTSC (remote desktop), if they close the browser or RDP window using the x it keeps the session alive for upto 1 minute. The problem with this is that we use terminal services to host an application for users who can't install it, so other users that login (using a generic username and password) are adopting/hijacking the original session and seeing someone elses data. Does anyone know of a way to force a new session each time a user connects to RDP? Whether via TSWeb or MSTSC (remote desktop)?
View Replies!
View Related
Turn Off Session Expiration On IIS 6.0
I have a website where people perform a number of tasks, saving some data to temporary session files. If the user is idle for a certain amount of time, then performs an action, his/her work will be gone. I'd like to set the sessions to never expire, so that only a browser close would delete the temporary files. I've tried looking around in the IIS manager, but I cannot find a way to do this.
View Replies!
View Related
Session_OnEnd Not Firing When Session Times Out
We have a product which is web based and uses sessions for everyone logged in and when they timeout the Session_OnEnd is supposed to fire and delete records from a table which stores some data for the user. The problem is that the Session_OnEnd is not firing and therefore not clearing the table everytime the user times out. The server: Windows 2003 Service Pack 1 (I know there has been a problem with SP2 with the session_onEnd not firing but this does not effect SP1) The whole site is running behind a SSL. We have switched this off and it still doesnt fire. The site is written in classic ASP. We have over another 200 clients with the same setup but they are not suffering from the same problems and I have come to the end of my knowledge about IIS (as I am a web developer and not server admin) and where to look.
View Replies!
View Related
Log SSH Session To Email Or File
if it's possible to log all ssh commands to a file by session. For example, if I log in as user 'test123', once I close the session, all commands I ran will be saved to a file and either emailed to my server logs email address or saved to a file.
View Replies!
View Related
Does Cron Timeout?
Simply wondering, does cron timeout? I have heard mixed reports and can't find any good info. Personally i've run a cronjob for up to 6 minutes, but as my best method was sending myself emails through php, its not exactly a highly accurate testing method. On the same note, what would happen if one cronjob is running a php script for over 10 minutes, then another cron job starts on the same script, before the first one has finished?
View Replies!
View Related
Vps Timeout
I got my VPS a few days ago and want to get started. I installed Webmin (with the rpm - centos 5), and it says it installed successfully and then I can login. I typed in my domain name with the ':10000' but I get a network timeout in Firefox. I know my DNS is right, because I have the domain name pointed to my IP address with an A record. SSH is working fine, I can login using the domain name and not my IP address. I tried installing Lighttpd, but still get the timeout. Replacing the domain name with the VPS IP address doesn't work either.
View Replies!
View Related
SSH Timeout
Is there a way to increase the timeout for a SSH connection when idle? Mine (on my server) seems to time out after 15-20 mins of inactivity. I'd like to increase this to like 60 mins or indefinitely.
View Replies!
View Related
CGI Timeout
When i try to login my forum after waiting alittle following error occured Code: CGI Timeout The specified CGI application exceeded the allowed time for processing. The server has deleted the process
View Replies!
View Related
SSH Session Hangs When Trying To Edit Httpd.conf
I am running into a problem with my home linux server running Fedora 8 (2.6.26.6-49.fc8). The problem is with my SSH sessions, in that they hang or freeze when I try to run certain commands such as (ps -auxt or top) or when trying to edit (/etc/httpd/conf/httpd.conf) via VI or Pico. I am able to edit my pure-ftpd.conf file with little to no trouble through either Vi or Pico however. I did some research already on openssh.org but my problem does not resemble the tcp timeout issues I've seen described. When the SSH session hangs I'm forced to disconnect and then reconnect. Just curious if anyone has any ideas as to what I can try to resolve this problem.
View Replies!
View Related
Connection Timeout On SSH
where I can't access my terminal because my connections keep getting timed out. Its been ok previously but for the last 2 days I could not connect because the connection timed out 9/10 times. No modifications were made during this time so whats the problem guys?
View Replies!
View Related
VPS - Connection Timeout
I have a problem with my VPS. Hosting company have migrated my vps to a new and better dedicated server and now on all my sites(and IP) I got connection timeout error. I have changed "Main IP" and resolvers in HyperVM 10 minutes ago and it's not working(or I have to wait to wait like for nameservers registration?). I can ping my IP and all services(lxadmin,lighttpd etc are started successfully and its not wotking, I still getting connection timeout error.
View Replies!
View Related
Unique Apache Timeout
I have a new website that has a similar feature to tripadvisor's Reviews, where users share detailed thoughts and experiences. They fill in all this information on one form so there is no interaction with the system while they are writing. I know Apache has the TimOut setting which is set to 5 minutes by default. This ensures that you do not have users using active memory and sessions for a long period of time. But the problem I have seen is that some users are spending 15-20 minutes writing very detailed experiences and when they hit the submit button obviously their session has timed out and they lose everything and get a system error. I really don't want to change the TimeOut value in Apache to 20 min due to resource constraints, but is this my only option?
View Replies!
View Related
Scripts Timeout After 60 Sec
I have a phpbb3 forum that I post sound clips for my members to download and I had a few of them tell me that sometimes the downloads truncate. I asked my host what the deal is and they told me that their scripts time out after 60 seconds and that there was no way to make it longer. I have never heard of this before and I want to know, is that normal or standard for hosting companies? It seems weird that they would host a message board that allows attachments and their service doesn't allow enough time for people with dialup or slower connections to download files in their entirety.
View Replies!
View Related
HTTP Keapalive Timeout
I'm trying to solve an issue with certain customers timing out. In regards to the "http KeepAlive timeout" value.... When this timer expires, does the webserver have the tcp stack send a FIN? IF so, does it actually do it like at six or seven seconds? It's actually IBM IHS in this case.
View Replies!
View Related
Timeout- After Working For Awhile
I've been experiencing some annoying issues recently, trying to troubleshoot whether it's actually my server or my ISP - Using a HostGator standard box, php 5.2.3, optimized based on scribby's tutorial. Basically I'll be editing my website for about 10-15 minutes, going through the admin panel and uploading files from it several times. Suddenly it will begin timing out for about 1 min or so and then it will run very sluggish/slow unless I let it "cool down" for a bit and try again later. I ran "ping -t mysite.com" while editing the site and during the timeouts and there was no packet loss. I can access other sites on the server and WHM from the IP at normal speeds during the timeouts, and other people can access the affected site fine.
View Replies!
View Related
|