3,454 Topics
I have a question I am have been googling all day with no examples I can use and need to come up with something. I want to have a Javascript session timeout which does it's own internal countdown ie: 5 mins left before your session expires etc I then would …
Okay, I am confused on the global statement. To my knowledge it lets you easily access variables from a function to be used in the session. Now someone said that it's useless and you shouldn't use it in your code. Is this true?
We have all wanted data to be transfered to excel at one stage or another. I would like to know how people have done it and come to a general consensis on how it should be done. I usually use fopen or simple echo statement and declaring it as .xls …
I am new one for python web service. I need to switch the below java webservice client source code to python.Two services. One is systemService, the other is queueService. It needs to maintain session for queueService to use the connection to inews server in systemService . Who can help me? …
Greetings, I have just developed a content-managed, database-driven application application that makes heavy use of postbacks and session variables. We own the domain that the site was designed to be hosted on, however, the customer does not want our URL showing. The solution our firm has used in the past …
Hi All my outlook profile handles two accounts one is of exchange and another one is of IMAP. Out of these two accounts I want to sync with IMAP account in certain cases only(like when system is idle or when exchange is offline) For achieving this I have created an …
error:...cannot send session cache limiter... headers already sent by php....can any one give me the solution?..........when ever login with username & password...the session is not stored in the first time....but the next time login the session is stored with the username....what is the prblm?.....i m sending code also...... <?ob_start(); session_start();?> …
How can I use cfloop or query my database so I can select home game and away game for multiple selections. I need to select 1 selection for home and away game but have to be able to select 1 of each. here is my output [URL="http://67.219.102.67/wcfootball/index2.cfm"]http://67.219.102.67/wcfootball/index2.cfm[/URL] [CODE] <script language="JavaScript" …
can somebody help me by telling me what the problem is this is my error i keep getting Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Notice: Array to string conversion in C:\wamp\www\plaincart\library\config.php on line 61 Unknown column …
If your familiar with database search results, then you probably know how useful the GET method is. My results page is a list of site members from the database. We want to have a feature that allows users to add these members to a html select box to "save a …
I have the following PHP code, which uses server-side validation, which works fine. It the user leaves the text field empty it stores an error in a session array which is outputted on the page where the $_GET['id'] variable came from. I also implemented a snippet of javascript code that …
Hi all, i need some help. I am creating mysql php game. How can make game to know which user is logged . I am not absolute noob. I already created register, login and main page, and its all linked with database. Problem is when user need to use his …
Hi Any reason why my votes aren't adding up once the program has run? [CODE]#include <iostream> using namespace std; int main ( ) { const int NR_SESSIONS = 3; int nrAttend; int votesForS, votesForR, votesForO; char vote; // Initialise totals votesForS = 0; votesForR = 0; votesForO = 0; // …
This is driving me crazy and should be very easy. I am trying to pre-fill an html form with session data using echo. I can compile and run but the form field contains a / if the session data is blank. How can I get rid of the / Heres …
hello am tryin to develop a login page for my website.am using c# and microsoft access. can anyone help me out with a secured login page n session.
[i] Topic The topic of this question is: faces-config not working. [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] ……………………………………………………………………………………………………………………………………………………………………………………………… [u] [b] System: [/b] [/u] [b] System info:netbeans6.7.1,jsf1.2 [/b] ……………………………………………………………………………………………………………………………………………………………………………………………… [u] [b] Purpose: [/b] [/u] [b] The purpose of this post is: understand why the model.java …
Hey everyone. I just recently set up(or tried to) a userdatabase where people can log in and see a user edit page. For some reason when you try to register, instead of redirecting to the successfull register page, it just goes to a page, "process.php" which process the login when …
When I fill my Contact Form 1) select option TITLE (MR. MRS. MISS) 2)First Name 3)Last Name 4) E-mail I make validation to all data, The question is when I select title e.g. MR and then fill first name, last name AND e-mail IS NOT right (info2company.com) validation said *Email …
I am a php noob and I have tried a few things and nothing so far has worked. I need to find some php code that allows me to do an http post and return the results into an array so I can parse the results for a string. The …
Remember the Idaho legislator who wanted to outlaw anonymous blogging? He’s back. The good news is, Representative Steve Hartgen, R-Twin Falls, no longer is trying to [URL="http://www.daniweb.com/blogs/entry3662.html"]outlaw anonymous blogging[/URL]. According to Jared Hopkins in the Magic Valley [URL="http://www.magicvalley.com/articles/2009/02/06/news/local_state/154433.txt"]Times- News[/URL], Hartgen told the Idaho House State Affairs Committee that he had …
The invaluable Tech Ticker pour more gasoline on the fire we started yesterday on the historical decline of the U.S. stock market in 2008. Says TT; "Any way you slice it, the 2008 is shaping up to annus horribilis for the U.S. stock market. Heading into Friday's session, in which …
A Firefox developer has [URL="http://ehsanakhgari.org/blog/2008-11-04/dont-leave-trace-private-browsing-firefox"]revealed[/URL] that pre-release versions of Firefox 3.1 have been updated with a new feature. Officially called 'Private Browsing' it will be more familiar to many as the much talked about Porn Mode that [URL="http://www.itwire.com/content/view/20303/53/"]caused such controversy[/URL] when Microsoft announced it was being included within the forthcoming …
Heads up users of Yahoo Mail. A cross-site scripting vulnerability has been discovered that could allow hackers to steal a user’s session IDs and ultimately private information, according to [URL=http://blog.cenzic.com/public/item/207752]a report[/URL] yesterday from security risk assessment firm Cenzic. In an excerpt from the Cenzic blog post, the company reports: “If …
As portable computing devices advance in power and complexity, development-tool makers must keep up or die. Claiming strides this week are simulation-tools maker Virtutech and chip-maker Freescale Semiconductor, which are showing a version of Virtutech’s Simics virtualized software development environment with hybrid simulation capability. The initial release supports Freescale’s eight-core …
Not my sentiment but that of Johnathan Nightingale, the Firefox security interface designer no less who has [URL="http://news.cnet.com/8301-10789_3-9967829-57.html"]gone on record[/URL] as saying that "we didn't want to put in something that was half baked" when talking about how the privacy button might interact with websites and mashups alike. Which might …
For better or worse, first impressions tend to be lasting ones. But the world does not stand still, so occasionally it may be a good idea to reevaluate things you already think you know. My earliest impression of “chat” was formed during my days as a single guy in the …
ASP.net 2.0 introduced themes. Theme consists of several files: CSS styles, skin file and images. You create theme by adding App_Themes folder in your project in solution explorer panel. Right click on project - Add ASP.net folder - Theme Now that we created theme we can add files into it. …
Daniweb's blogging section now has a new feature that will allow the bloggers to add tags to their blogs. This is their latest strive to encourage user blogs which so far has been going very well. Big thanks to Dani who was spent hours coding this new feature :cheesy:!! I …
Hi, I use this code in Windows (wamp), it works fine. When i use it in Ubuntu it generates this error "Warning: Cannot modify header information - headers already sent by (output started at /var/www/toycar/header.php:9) in /var/www/toycar/classes/class.basket.php on line 17" There is no blank space anywhere. What do i do? …
Hi everyone, May i know that how to validate user whether login or havn't login from the default.aspx. Using Session? If Session("Username") = "" Then Response.Redirect("Login.aspx") End If or is there anyother way?? Thanks
Hello, I have a couple question. I have experience with a couple programming langagues but I am new to ASP.net. I am trying to create a web Application in C#. My first questions has to do with layouts. I am trying to make it so that all requests go through …
Dear All, For handling session time out i have used the asax for writing log files. I got the IIS event viewer - Application warning saying that unhandled exception occured. The warning message is below. Please help me to fix this issue. Event occurrence: 1 Event detail code: 0 Application …
Long story short, i somehow managed to get the windows police pro virus, probably from visiting some website(I haven't downloaded anything recently) Here is where it gets problematic: I can only run internet explorer, can't run command prompt, (I can run command.com out of the run menu though), I cant …
I am having the same problem and can't run anything. Image Name PID Session Name Session# Mem Usage ========================= ====== ================ ======== ============ System Idle Process 0 Console 0 28 K System 4 Console 0 244 K smss.exe 532 Console 0 420 K csrss.exe 604 Console 0 4,564 K winlogon.exe …
Hi there, I am new to JSF and can someon please help me on how to extract the session value wich is the login name of the user for persistence in the backing beans.... I will be most grateful for your respons.
Hi Everyone I want to clear my session after browser is closed. Have any idea? Thanks in advance
hi, when session expires i want to give message and send them to my login page.for this where i have to write the code. thank you
Suppose the user login by entering his or her details When clicking on Login button, I m setting the session variable [code] Session["UserName"] = txtUserName.Text; [/code] I want dat when he or she clicks on sign out(hyperlink)..I want to expire the session, can somebody tell me how to expire the …
Hi, I'd be grateful for a little help. I have a script which generates invoices as PDF files and stores above just above www level (so they cannot be access directly via a URL). I would like users to be able to access their own invoices but nobody elses. My …
Hi.. I'm just curious as to how one would set about writing some python code to monitor the network usage in one session... The program should simply record how much data has been downloaded from the time the computer is switched on to the time it was switched off. What …
Here is my code: <title>Hanuman Database</title> <div align="center"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10"><img src="../images/bg_up_exp_left.GIF" width="20" height="20" /></td> <td width="722" background="../images/bg_up_experience.gif"> </td> <td width="10"><img src="../images/bg_up_exp_right.gif" width="20" height="20" /></td> </tr> <tr> <td background="../images/left_bg.gif"> </td> <td><table width="758" border="0" cellspacing="0" cellpadding="0"> <tr> <td><img src="../images/logo_1.jpg" width="96" height="122" /></td> </tr> <tr> <td><?php [B]session_start();[/B] echo "Global …
Hi, I am a bit confused with sessions, I have read somewhere that session values get destroyed after the session is expired ; to test that i created two web forms each generating session values on page load, also i capture browser session id by: session.sessionid(); I am using mozilla …
[code]Protected Sub Application_PreRequestHandlerExecute(ByVal sender As Object, ByVal e As EventArgs) If Session("LoginName") <> "" Then Dim strCacheKey As String = Session("UserDetails").ToString() Dim strUser As String = HttpContext.Current.Cache(strCacheKey).ToString() End If End Sub[/code] i used this in global.asax and [code]If Not IsPostBack Then Dim strConCat As String = txtLoginName.Text 'TxtUserName.Text + TxtPassword.Text …
When a user logs in that has the same password as another user the latest person to register with that passwords details are revealed, im struggling to make it check that the username and password are connected and only if the username and password match should that users details be …
Hey can anyone please help me :S . I have created a user table with different levels for instance type 0 to 2. If the user is type 1 then a certain page will open . I have placed my values in sessions then used a condition to verify. Please …
Hi, I have 2 projects, the business entity, there I have all the classes mapped from the database and the web project where I fill those business entity classes. Then, I need to store in a DB. I have the globalization set in the web.config on the web project. (VS2008, …
Hello, I am trying to work out a PHP page which establishes a sequenced rotation of ADS. Here is the code so far. There are some elements missing that need help with. [CODE]<?php include("core.php"); session_start(); $type = $_GET['type']; $category = $_GET['category']; $User = $_SESSION['MEMEBER_ID']; $Type = "image_imp"; // Get Initial …
Hi.. I'm newbie here.. I have a problem with my login and logout script.. Here is the login script: [CODE]<?php $q = "SELECT * FROM members WHERE username='%s' AND password='%s'"; $q = sprintf($q, $username, $password); $q = mysql_query($q); if (mysql_num_rows($q) > 0) { $_SESSION['id'] = $q[0]['id']; $IS_LOGGED_IN = true; } …
I have a cookie script that creates a cookie from a session variable, the only problem is when the session is destroyed the cookie is deleted even though I set the expiration to a year. What can I do to prevent this?
The End.