Is there a way to get the timezone of the connecting user using Pylons, and to adjust the content before rendering accordingly? Or can this only be done by JS?
Thanks.
Hello!
I'm using SubSonic 2.1. I ran it against a database and it created all the files seemingly correctly. However, when I went to use one of the classes, the app wouldn't built. I'm making a Windows application, but in the SubSonic file there's a reference to HttpContext.Current.User. Does anyone know why that would happen?
thanks for yout time helping on this ;)
I'm new to SQL and wish to solve somethign in just one query and i dont know how to do it.-
Basically I've a table of products, a table of users and a table of comments, linked by products.id - comments.pid and user.id - comments.uid ,
i wish to know what is the best practice to create just 1 query and get…
I have defined function which returns table with 2 columns. Can I rename these columns so that resulting table would be like:
Press name | Sum of pages
?
CREATE FUNCTION F_3
(@press nvarchar(255))
RETURNS @table TABLE ( Press nvarchar(255),
PagesSum int )
AS
BEGIN
INSERT @table SELECT @press, SUM(Books.Pages)
…
Let's assume the following:
I have an IIS web site set up
IIS is configured to use Digest authentication
I'm running an ASP.NET page
The page has a code-behing assembly that overrides Page_Load
When a user navigates to that page, I get a security prompt for the username and password. If the username and password are invalid (i.e. incorrect…
i have a j2me application ,
it does the File IO operation, but every time it performs it , it asks user for permission.
is there any way to bypass it?
i heard that suppose if i make this application certified then i would be able to run it in max. secure mode to bypass such issues.
i am creating a marks management system using php & mysqlwhere the concerned faculty will be able to login and enter the marks of the students. i can go with a simple table but the problem is there are 288 different subjects for which marks must be entered. So creating a mysql table with so many subjects does not look good for me. please…
In a C# Winforms-App I have several user settings stored.
Is there an easy way to clear those settings each time I start debugging the project from Visual Studio 2008?
Otherwise it always starts up with the settings from the last debug-session.
Thank you!
I am creating a web site and my client demands to restrict user to copy TEXT displayed on the web page.how can I do that? I am using PHP and HTML in my application.
I have a user control called adminMenu and I use it in my index.aspx and all is fine, but I need to access a MenuItem in adminMenu and need to change NavigateUrl on the MenuItem. Tried this code with no luck:
MenuItem MaintenanceReports = this.adminMenu.FindItem("MaintenanceReports");
Not sure if I should be accessing adminMenu…
How can I make DialogBox (confirmation message and OK & Cancel buttons) wait for user action and return boolean result (true is OK was clicked, false otherwise)?
Thanks in advance.
Hi All,
I am creating a website and I want to know that user is coming from where, like from google, bing, asp.net, any other site. Is their any way to find out in asp.net ??
Thanks in advance.
Hey,
I have two textbox called BIRTH & EMAIL, and I must test in button click if the user has typed a date & email format in those two TextBox.
How can do that ?
Is it possible to get the email address which the user has entered?
I know it's possible to set the email address but there is no method to get one.
Is there any know solution for that?
Sorry if SO is not the best place, but I have time-tracking enabled in JIRA and want to be able to generate a time-report for each user over a given date range. The only time-tracking report option I have is very limited and doesn't do what I want, is it possible through standard functionality or a free plugin perhaps?
I have created an Asp.net website using VS 2008 and SQL Express 2008 on one PC. with db files in |Data Directory|.
When i copied these website files to another PC ( having same VS 2008 and SQL Express 2008) its giving me error
user instance login flag is not supported on this version of sql server
I am using g_object_set_data to set user name with event_box so in call back i can get it with in event_box pointer.
g_object_set_data(G_OBJECT(event_box), "user_name", (gpointer)(user_name) );
but problem is that i am setting user_name which is not an pointer allocated string.
It is an local string (not allocated on hip) which…
Currently I am using mysql to log all traffic from all users coming into a website that I manage. The database has grown to almost 11m rows in a month, and queries are getting quite slow. Is there a more efficient way to log user information? All we are storing is their request, useragent, and their ip, and associating it with a…
I want to create a url like www.facebook.com/username just like Facebook does it. Can we use mod_rewrite to do it. Username is name of the user in a table. It is not a sub directory. Please advise.
Aside from a prototype, what is the next best thing to satisfy a user who really wants to know what an application will be like?
Choice 1
A process model
Choice 2
An interaction diagram
Choice 3
A data-flow diagram
Choice 4
A class diagram
Choice 5
A class-state diagram
2 is my partner's choice
…
Users can view a specific entry in my webapp with a URL. /entry/8, for example. If an entry doesn't exist, "Entry not found" gets appended to @messages and I render an error page.
I'd like to redirect the user to /recent, but I can't figure out a good way to keep the error message around to be displayed. There are other actions…
Hello, I have set up an array of censored words and I want to check that a user submitted comment doesn't contain any of these words. What is the most efficient way of doing this? All I've come up with so far is splitting the string into an array of words and checking it against the array of censored words, but I've a feeling…