Do I have to do anything special to avoid session hijacking using Kohana framework?
(Assuming the session is manipulated only with the Kohana Session library)
Thanks in advance
Hi, just set up FirePHP and using a framework called Qcodo / Qcubed. Has anyone heard of these on SO?
Been having challenges debugging -- trying to do a fairly simple new() and save() and then output via Ajax but not getting any kind of responsiveness from errors.
Any help for us, two of us have checked it out but can't seem to get a response.
Thanks!
BTW, here's the class which seems to be creating the problems:
http://github.com/allyforce/AF-upload/blob/master/Library/Target1.class.php
I want to obfuscate J2EE application which uses Struts2 framework, I tried using Proguard but its changing package and class names which does not get reflected stuts.xml file, Is it impossible to obfuscate struts2 web application ? Or any other way ?
In a nutshell, i have a VM that ran out of space. I increased the size of the VM's harddrive to be 4 times bigger but the OS partition is still only using 1x the space. I need to change the LVM partition to take up the extra 4x space but I don't know how to extend the LVM partition.
(NOTE: To make the screenshots given below I had to boot from a live-cd for gnome-partition-manager (aka gparted). Very unfortunately gparted is only able to "detect LVM" and can't do any LVM operations.)
Here is what "gparted" shows. Please notice that the "resize" option is not available:
The Problem:
I can't find good directions<1 on how to grow the LVM partition via GUI or command-line! How do you grow a LVM partition that was created by the default Fedora install?
If you are giving command line directions. Please explain what each line of commands does.
Assume I want to generate an element similar to this in ASP.NET MVC 2:
<%= Html.TextBoxFor(p => p.FooBar)%>
Is there an overload or way I can get ASP.NET MVC 2 to only generate a name attribute and not an ID attribute?
I can have it generate a blank id with <%= Html.TextBoxFor(p => p.FooBar, new { id = "" })%>, but I would like to generate the element with no ID at all, and without overriding the asp.net mvc framework.
Hi!
My wording may be off, but I wonder if there's an open-source HTML/CSS template/framework for creating 37signals-style layouts, much like this:
Note the tabbed layout and the sidebar to the right.
Summary: ASP.Net website with a couple hundred users. Data is exported to Excel files which can be relatively large (~5 MB).
In the pilot phase (just a few users), we are already seeing occasional errors on the server in the exporting method.
Here's the stack trace:
System.Web.HttpUnhandledException:
Exception of type
'System.Web.HttpUnhandledException'
was thrown. ---
System.OutOfMemoryException: Exception
of type 'System.OutOfMemoryException'
was thrown. at
System.IO.MemoryStream.set_Capacity(Int32
value) at
System.IO.MemoryStream.EnsureCapacity(Int32
value) at
System.IO.MemoryStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Packaging.TrackingMemoryStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Packaging.SparseMemoryStream.WriteAndCollapseBlocks(Byte[
] buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Packaging.SparseMemoryStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Packaging.CompressEmulationStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Packaging.CompressStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Zip.ProgressiveCrcCalculatingStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Write(Byte[]
buffer, Int32 offset, Int32 count)
at
System.IO.StreamWriter.Flush(Boolean
flushStream, Boolean flushEncoder)
at System.IO.StreamWriter.Write(String
value) at
System.Xml.XmlTextEncoder.Write(String
text) at
System.Xml.XmlTextWriter.WriteString(String
text) at
System.Xml.XmlText.WriteTo(XmlWriter
w) at
System.Xml.XmlAttribute.WriteContentTo(XmlWriter
w) at
System.Xml.XmlAttribute.WriteTo(XmlWriter
w) at
System.Xml.XmlElement.WriteTo(XmlWriter
w) at
System.Xml.XmlElement.WriteContentTo(XmlWriter
w) at
System.Xml.XmlElement.WriteTo(XmlWriter
w) at
System.Xml.XmlElement.WriteContentTo(XmlWriter
w) at
System.Xml.XmlElement.WriteTo(XmlWriter
w) at
System.Xml.XmlElement.WriteContentTo(XmlWriter
w) at
System.Xml.XmlElement.WriteTo(XmlWriter
w) at
System.Xml.XmlDocument.WriteContentTo(XmlWriter
xw) at
System.Xml.XmlDocument.WriteTo(XmlWriter
w) at
System.Xml.XmlDocument.Save(Stream
outStream) at
OfficeOpenXml.ExcelWorksheet.Save() in
C:\temp\XXXXXXXXXX\ExcelPackage\ExcelWorksheet.cs:line
605 at
OfficeOpenXml.ExcelWorkbook.Save() in
C:\temp\XXXXXXXXXX\ExcelPackage\ExcelWorkbook.cs:line
439 at
OfficeOpenXml.ExcelPackage.Save() in
C:\temp\XXXXXXXXXX\ExcelPackage\ExcelPackage.cs:line
348 at
Framework.Exporting.Business.ExcelExport.BuildReport(HttpContext
context) at
WebUserControl.BtnXLS_Click(Object
sender, EventArgs e) in
C:\TEMP\XXXXXXXXXX\XXXXXXXXXX\OneList\UserControls\TicketReportExporter.
ascx.cs:line 108 at
System.Web.UI.WebControls.Button.OnClick(EventArgs
e) at
System.Web.UI.WebControls.Button.RaisePostBackEvent(String
eventArgument) at
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.Rai
sePostBackEvent(String eventArgument)
at
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument)
at
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection
postData) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) ---
End of inner exception stack trace ---
at
System.Web.UI.Page.HandleError(Exception
e) at
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean
includeStagesAfterAsyncPoint) at
System.Web.UI.Page.ProcessRequest()
at
System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext
context) at
System.Web.UI.Page.ProcessRequest(HttpContext
context) at
ASP.XXXXXXXXXXX_aspx.ProcessRequest(HttpContext
context) in
c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary
ASP.NET
Files\XXXX\cdf32a52\d1a5eabd\App_Web_enxdwlks.1.cs:line
0 at
System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpAppli
cation.IExecutionStep.Execute() at
System.Web.HttpApplication.ExecuteStep(IExecutionStep
step, Boolean& completedSynchronously)
Even aside from this particular problem, in general exporting to Excel requires the instantiation of huge Excel objects on the server for each request, which I've always assumed to mean disqualifies Excel for "serious" work on a highly-loaded server. Is there any general way to export to Excel in a "light-weight" manner? Would simply streaming the data into a CSV file work for this?
I need a simple how-to tutorial on developing a simple CMS web site using the OFBiz CMS framework. There are absolutely no documentation of how OFBiz CMS works. Whatever is there in the official website is only about the data model used in OFBiz CMS application.
If somebody can illustrate just a "Hello World" like application in OFBiz CMS, it will great help for me. Or can guide me to similar documents in web.
We're prototyping a new visual framework using Apache Tiles for markup templating. Often the document onload event (actually prototype's dom:loaded event) is getting fired before all DOM objects are actually loaded
Is it possible that the tiles templates are loading in an asynchronous fashion and therefore doing an end run around the event handler? Has anyone else had this experience? Can anyone share a robust workaround?
thanks in advance
I have build the web application using
Java1.5, Struts framework with Mysql database
Deployed on the JBOSS4.0.5 Server
Every thing seems to be fine when the activity is there on the server.
Every morning, If I tried to connect to application, it shows the application is down.
Once I restart the server, It works fine.
From past 1 month, I am just restarting the server every day.
Can any one help me where I am doing wrong in the configuration settings
Please suggest me How i can eliminate this extra work every day
I need to get UTF-8 working in my Java webapp (servlets + JSP, no framework used) to support äöå etc. for regular Finnish text and Cyrillic alphabets like ??? for special cases.
My setup is the following:
Development encironment: Windows XP
Production encironment: Debian
Database used: MySQL 5.x
Users mainly use Firefox2 but also Opera 9.x, FF3, IE7 and Google Chrome are used to access the site.
How to achieve this?
I was wondering if there are any features in Silverlight 2 or 3 that aren't documented or are hidden very deep in the framework? Stuff that can be very helpful in some cases, but can be a pain to find. Are there any "hidden" gems?
I'm thinking about stuff you normaly don't find in tutorials and in demos. For example, finding information about the operating system the Silverlight Application is running on thru the System.OperatingSystem class.
So I'm kinda stuck in a hard place. I'm wanting to finally re-install Windows and looking at whether I should stick to tried and true Windows 7 or go with the funky and experimental Windows 8.
As such I've virtualised Windows 8 RTM, looked at its features and GUI and I'm quite impressed, personally. So I'm willing to upgrade to it. However Windows 8's release is just under 50 days away according to Wikipedia and I'm impatient, so if I go to RTM and like it enough to continue using it, will I be able to go to "release" version and receive updates for it as normal or would I have to reinstall again?
I'm using Core Data's automatic lightweight migration successfully. However, when a particular entity gets created during a migration, I'd like to populate it with some data. Of course I could check if the entity is empty every time the application starts, but this seems inefficient when Core Data has a migration framework.
Is it possible to detect when a lightweight migration occurs (possibly using KVO or notifications), or does this require implementing standard migrations?
I've tried using the NSPersistentStoreCoordinatorStoresDidChangeNotification, but it doesn't fire when migrations occur.
In a scenario where webMethods Composite Application Framework (CAF) experienced developers are hard to find, compared to .Net, this question comes into play: does webMethods CAF have .Net integration capabilities?
I have written a WinForms application that presents a color picker, limited to the known colors. My environment is Visual Studio C# Express 2008, C#, and Framework 2.0.
Currently the MS Paint Colors menu item only presents an Edit Colors dialog. I would like to supplement that by causing the Colors menu item to display both "Edit Colors" and "Edit Known Colors".
Can I accomplish this? If so, please provide a citation (or code if preferrred).
Hi, everyone.
I feel good when I use Three20 framework to create a good iPhone application if you didn't try it before, just go here to try.
but the I want your help me to force TTPhotoViewController to reload the image after it initialized. At the moment, it seems load the exist image before and didn't active to viewDidLoad.
Could you help me? or give me any advice?
Is there an existing good example, or how should one approach creating a basic Template system (thinking MVC) that supports "Template Inheritance" in PHP5?
For an example of what I define as Template Inheritance, refer to the Django (a Python framework for web development) Templates documentation: http://docs.djangoproject.com/en/dev/topics/templates/#id1
I especially like the idea of PHP itself being the "template language", though it's not necessarily a requirement.
If listing existing solutions that implement "Template Inheritance", please try to form answers as individual systems, for the benefit of 'popular vote'.
We've looked at many monitoring tools (SolarWinds, Zabbix, Nagios) through out the last 10 years but they never took hold because they are overly complicated. I am willing to try them again or something new at this point but with a much simpler goal:
ping to check up and down of host
tcp probes to test up and down of service
notifications via e-mail
web GUI
prefer an OSS solution
Wanted to know if someone has any recommendations on this.
This could be a Windows or Linux application. Preferably without the reqirement of agents. I don't even need SNMP support but that may be nice for expanding once we have the above mentioned bare minimum in place.
I have turned on Wake On Lan on all of the BIOSes in the PCs and I have a simple batch file that runs a free command
wolcmd.exe
Wake on Lan Command Line
The syntax is as follows:
wolcmd [mac address] [ip address] [subnet mask] [port number]
The batch file looks a little like this....
wolcmd 009027a324fe 195.188.159.20 255.255.255.0 8900
wolcmd 009024a731da 212.86.64.31 255.255.255.0 8900
It's OK but It's not very user friendly (I need to set this up for other people to use and administer)
Can you suggest a Windows (XP/Vixta/7) Alternative with a GUI?
Free is cool, but a good paid for version is fine if you think it's worth it!
Thanks in advance for your informed suggestions
In Ror or Django or web2py you can "describe" a database (as a set of classes that remaps to tables) and the framework (having being provided with a connection string to the desired database) generates the tables, fields, relations and in the case of RoR and web2py it also keeps it up-to-date (eg, removing a class drops the table, adding a property to the class triggers an "alter table add" etc).
Is there any Perl module that does the same? Eg, it takes the YAML/XML/JSON description of a database as input and modifies/generates the database schema accordingly?
I want to transfer video from a VHS tape to my computer with Arch Linux, using a USB capture device that comes with Roxio Easy VHS to DVD, which I recently bought. I tried to plug in the device, and it was properly recognized. From /var/log/messages.log,
em28xx #0: Identified as Pinnacle Dazzle DVC 90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2 (card=9)
saa7115 3-0025: saa7113 found (1f7113d0e100000) @ 0x4a (em28xx #0)
em28xx #0: Config register raw data: 0x50
em28xx #0: AC97 vendor ID = 0xffffffff
em28xx #0: AC97 features = 0x6a90
em28xx #0: Empia 202 AC97 audio processor detected
em28xx #0: v4l2 driver version 0.1.2
em28xx #0: V4L2 video device registered as video1
em28xx #0: V4L2 VBI device registered as vbi0
Is there any software that enables me to capture video coming from this device? I don't mind if it is console or GUI based.
Hi,
I am passing the email address as part of the url,
for ex. http://example.com/hello/[email protected]
but, when being passed to the application controller it is changed to " user%40hotmail.com ".
I can't seem to understand this special character escaping; confusion.
please help me explain the problem here, and also what can I do to fix it.
I am using python's "webapp" web application framework.
Our company has a project that right now uses nginx as a reverse proxy for serving static content and supporting comet connections. We use long polling connections to get rid of constant refresh requests and let users get updates immediately.
Now, I know there is a lot of code already written for Node.js, but is there a solution that lets Node.js act as a reverse proxy for serving static content as nginx does? Or maybe there is a framework that allows to quickly develop such a layer using Node.js?