i have a login form, which is in login.php. after authorization i moove client to some.php file! so, from following two methods, which is better?
i can send information aboud user id e.t.c by GET
i can use SESSION - s for this
what is more preferred?
and two words about why i ask this question.
i hear somewhere that SESSIONs aren't good programing method, and it's not suggested to use them in such situations...
thanks
A client has the admin ability to upload a PDF to their respective directory and have it listed on their website. All of this works dandy until a PDF reaches a certain file size that makes the server time out. This causes an error and the file uploaded will not succeed.
As mentioned in the title, we are using ColdFusion with a command. Is there any java/jquery/flash modules or applications that could resolve this issue?
I'm currently using .resx files to manage my server side resources for .Net. The application that I am dealing with also allows developers to plugin javascript into various event handlers for client side validation, etc.. What is the best way for me to localize my javascript messages and strings? Ideally, I would like to store the strings in the .resx files to keep them with the rest of the localized resources. I'm open to suggestions.
I'm trying to figure out if it's efficient for me to cache all of my statements when I create my database connection or if I should only create those that are most used and create the others if/when they're needed..
It seems foolish to create all of the statements in all of the client threads. Any feedback would be greatly appreciated.
are there any frameworks for php that follow the style of vaadin,
in vaadin you can define web forms using java with touching javascript or any client scripting in swing style ?
Is there an easy way to get a summary string of the errors that have been added to a controller's modelstate?
I'm looking to return this in an Ajax method and want the validation errors etc to be returned to the client (i.e. the view does not exist for this method call).
Or do I have to loop through the modelstate and look at each object and extract the error text manually?
I have some Domain classes such as Student, User etc which are used on server and client (gwt) sides.
Can I exclude this domain classes to separate maven-module, so I can add this module as dependency to other maven-modules (i.e. add this module as dependency to maven-module which contains gwt related stuff, so this domain classes will be generated to JavaScript, and add this module as dependency to "normal" (not gwt) Java maven-modules, so this domain classes won’t be generated to JavaScript)?
Hi,
I have to create a mobile installable/client application...and I dnt know nothing abt this..
what SDK,language should I use?? if this will in .net will be fine(optional)... any Ideas
Will really appreciate this...
Thanks!!!
A client has trouble logging into our webpart (SP 2007). Apparently, his internet connection is via a proxy server. He has no problem logging in to our main website. Authentication from both the webpart and the website is through the same API.
Any suggestions? Thanks.
I have a model
class Car
@@RPCServer = XMLRPC::Client.new("localhost", "/", 8080)
def self.count
@@RPCServer.call("cars.count")
end
end
If server is not running on localhost:8080 I've got a Errno::ECONNREFUSED error.
I want to display an error message to user, how can a handle this error?
Hi,
i have a web service implemented in java using apache cxf and spring. But the requirement is the same i need that service to be implemented in .net and use that service with my java project web service client..... the package structure of the interface and its implementation should be simulated in .net..... i am novoice to .net and donno how it can be done...
any help is appreciated..........
Hi,
I am creating a setup project using Visual Studio. I want to reboot the system after the installation completed successfully.
I want it one time effort. I do not want to modify the setup each time using any external tool/ utility before delivering it to client.
Can I tweak the setup project itself?
How Can I do that?
Trying to decide on the best element to use for a grid view, pretty much exactly like the one you'd see in uTorrent or any other upload/download client. Specifically, I want to have a 'progress' column too (with progress bars). Using VS2010/.NET4. What would you recommend?
hi all,
in the case of an IM client.
i have made 2 separate threads to handle sending packets (by std io) and receiving packets.
the question is how to make these 2 threads run simultaneously so that i can keep prompting for input while at the same time be ready to receive packets at any time?
i have already tried setting a timer but the data is always lost receiving.
I've noticed that the Title or Body part is remembered if I come back to the Ask Question page by pressing Back button of my browser.
This feature is available in all browsers I tested, but doesn't exist for the forms in my own projects.
How can I approach that effect?
UPDATE
I still don't have any clue yet,but guess it that some kind of client cache enabled by http headers or javascript?
What are the advantages and disadvantages of storing an image as a blob in the database vs storing just the file name in the database.
I'm using PHP(CodeIgniter) with MySQL.
I know this question is subjective but a client asked me this question and I couldn't give a good answer.
The WSDL generated by WCF is describing all my bindings, and I want it to describe only the wsHttpBinding.
I want it because a PHP client can't parse the WSDL if it contains unknown bindings.
There is a way to do that?
I want to use WCF RIA SERVICES in my WPF application.
but WCF RIA SERVICES client only surport silverlight and ASP.NET now, how can I use it in WPF application?
i need to get an image from client and displayed(preview) before saving it into database..and then should be saved in database after getting preview..?
Is is possible in Asp.net using c#... ?
I am trying to test a controller method with the following code:
it "should set an approved_at date and email the campaign's client" do
@campaign = Campaign.create(valid_attributes)
post :approve, id: @campaign.id.to_s
@campaign.reload
@campaign.approved_at.should_not be(nil)
end
However, when I run this test, I get the following error:
Failure/Error: @campaign.reload
ActiveRecord::RecordNotFound:
Couldn't find Campaign without an ID
When I run the analagous lines in the rails console, the reload works and the value is set as I need it to be. Why isn't reload working for me when I run the code in an rspec test?
Hi,
can any one please send me the project(in android) where there is only client program which can connect to server and read the response from the server.send to my mail id [email protected]
Thanks and Regards,
Pushpa
I have several separate SVN repositories locally on my machine and I use only the TortoiseSVN client functionality without an SVN server backend.
Now I want to merge these repositories while keeping the revision history of individual files. Is that possible with with TortoiseSVN alone or even SVN?