4,124 Topics
![]() | |
Hi all, Does anyone know how to create sessions with c++ cgi? I am using c++ cgi to connect users from web to IMAP server. How can create sessions so that next cgi knows which user is this, etc. Thanks, nadz | |
Hi Peeps I have a bit of a problem with cookies showing on the homepage, will outline the problem below, well i think it is a problem. Fetching [url]http://www.reviewanygame.com[/url] ... HTTP/1.1 200 OK Date: Wed, 17 Feb 2010 04:18:03 GMT Server: Apache/2.2.3 (FH) X-Powered-By: PHP/5.2.11 Set-Cookie: [COLOR="Red"]PHPSESSID[/COLOR]=pg40edbrsljhg92rvp50h2ir85; path=/ Expires: Thu, … | |
Hello, I have been pulling my hair out on different places, trawling the web trying to find the answer to a fairly simple question. I am using the default membership to store my user details. I am trying to retrieve a customerid from a Userdata table in my database so … | |
Hello, I am looking for a few things... 1. How to put an upload field into a web page to that I can upload files to a directory on server. 2. I want to be able to choose different directories to upload it to (clients) 3. I would like to … | |
Hai, In one of my project I found a serious bug with session. In IE and Firefox It works fine but in Opera and Safari ... it doesn't working. I will give the testing code which I wrote Page 1 ( index.php ) [ICODE]session_start(); $_SESSION['uname']="I_am_Rajeesh"; header('Location: two.php');[/ICODE] Page 2 (two.php … | |
fedora8 login user then following error User's $HOME/.dmrc file is being ignored. this prevents the default session and language from being saved. File should be owned by user and have 644 permissions. User's $HOME directory must be owned by user and not writeable by other users. | |
l am wanting to build a php session script but l understand that there is more to it than just what w3schools shows, anyone got a good tutorial on it or time on msn ??? | |
Hi PPL, I have a table in my web page which will be displayed when I select an option from a dropdown box. The table appears as follows: [CODE] Username Assignment Date Update me work 2010-01-21 (submit button) you hello 2010-01-20 (submit button) [/CODE] Now when i click the submit … | |
Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set … | |
Hai I made a login system in php and every thing working fine in IE and mozilla. But in Safari and in Opera when I click sign out then it works fine and after that if I press back button in browser then it comes to the previous page (myaccount … | |
some of my session values are missing. Can anybody please tell what all reasons can be there?? on submitting the form its assigning to variable and its alerting using jquery. But after going any page session values are missing. Do any body had these type of issues. Am sure, many … | |
The goal of this project is to use if-else statements, anydbm, and turtle graphics in a Python program to make a database of colors. If the program is called colordb.py, then a session at the command prompt $ happens as follows: $ python colordb.py hit enter to give a color … | |
Ok, I am stuck. I have the following code to log in. I don't think it is 100% secure, but I am having an issue writing a script that will email a link for a user to reset their password. Any help would be appreciated... [code] <?php session_start(); if(isset($_GET['reg'])) { … | |
As a novice JSP (and non-programmer!) I've bee doing some customisation to a browsers driven application which provides a users with CTI functionality on their desktop. My task was to create a custom "tab" on their page, which gave a series of checkboxes, with an "Apply" button. The purpose of … | |
Hi all, I have the update.exe problem. The message keeps popping up on startup and then periodically throughout my session. It slows my network. I have reviewed other threads and run my hijack log which is below. could someone please take a look at the log and give me instructions … | |
While trying to address a new requirement we wanted to provide a generic soln and pass on our pain to the customer. :) [B]Application: [/B]Say I have some application listening to a port or JMS or something where it receives some encrypted messages/requests. To process the requests it need to … | |
Hi all, I've hosted my application at shared server. So, after 10 - 15 minutes my session object "userid" is expiring and throwing error "Session object userid is not instantiated" I want to check my session object exists or not. I've already used if(Session["useid"]=="") but it is throwing error. Is … | |
Post the 2nd try. And here my official statement: I do really hate hate hate hate board where you have 1. to register, 2. to log on, and 3. which have a session timeout. I puts lots and lots of work in a post only to get "ha ha, you … | |
Hi all, My code lists items based on the logged in users id. when listed these items have an edit function. When the use clicks edit, the url holds the id for that item. My problem is that its possible to change the url to show details of something thats … | |
Hi All, How you can help me with something. when a user logs in and is successful, i want the value of the user "type" to be stored in a session, which is then passed to the "login successful" page where i intend to use a switch statement to determine … | |
i have a page [QUOTE]edit.php[/QUOTE] and i wanted to be like this edit.php?at=profile edit.php?at=upgrade edit.php?at=im edit.php?at=delete and if there is no at='something' to include default theme(html) [CODE]<?php include "../app.php"; include $basepath . "inc/PasswordHash.php"; include $basepath . "inc/functions.php"; include $basepath . "inc/adodb5/adodb.inc.php"; // Session Start $adodbsessionstart = new UADODB; $adodbsessionstart->adodbSessionStart(); $db … | |
I'm trying to add the "Amazon Style Drop-in Content Box" from the Dynamic Drive site into a Joomla template. I don't know Joomla very well and I've followed the tutorials. Basically, this drop in box contains a SWF file that references an FLV video. The background is transparent and I … | |
Hi I have designed a simple login area on a website that creates a few session variables to use to query a database of products which works fine: [CODE]<?php session_start(); // dBase file include "dbConfig.php"; if (!$_POST['username'] || !$_POST['password']) { die("You need to provide a username and password.<p>Click <a href='main_login.html'>here</a> … | |
Hi all, The following script works fine by allowing me to set a session variable with the users password, but i can seem to extract other information that isnt included in the $_POST. I know usually i would use something like [code] while ($row = mysql_fetch_array($sql)) { $user_type = $row['user_type']; … | |
Hi guys. i am having problem regarding of passing session data from one page to another. In start.php i have this session initialization & assignment. [code=php] session_start(); $_SESSION['course']=$_POST['course']; [/code] where the method of the form that this course menu has is set to POST and the action is set to … | |
Hi, This is what I am thinking to do. Do you think this approach is useful? Thanks index.php 1.Get user's ip 2.Get session id 3.Combine them together and do SHA1 it 4.Store result in a $_SESSION["secret"] login.php 1.Get user's ip 2.Get session id 3.Combine them together and do SHA1 it … | |
Hi! I'm making a graph generator. Most is done but the only problem is that when i'm doing the 2nd or 3rd graph in the same session, the graph collapses . and after the end of execution of the program, i get "Null pointer assignment" I tried debugging but i … | |
![]() | Hi I am ravi, this is my first personal interview in my career. Please comment me over my answers and my way of answering:) The questions are: My interview questions 1. Q: Tell about yourself? Me: I am N.Ravikumar coming from Unjapalayam; I am pursuing my B.Sc Information Technology degree … |
Hi im just wondering how i could improve this to make it secure from either the jsp file itself or external java files. [CODE] <html> <head><title>JSP Page</title></head> <body> <jsp:useBean id="user" scope="session" class="shop.UserBean" /> <jsp:useBean id="dataFactory" scope="session" class="data.factory" /> <% String userName = request.getParameter("userName"); String userPassword = request.getParameter("userPassword"); user.setLogin(dataFactory.getUser(userName,userPassword)); user.setUser(userName); if … | |
Dear fellow techies! From the last few days, I am facing a major problem while burning my data DVDs. Everytime, the burn process fails in the beginning (around 1%). I use Nero basically but have tried CDBurnerXp and default windows burning options. I have also tried different optical medias but … | |
I want information about user's logon session. Please tell me how i can get it in web Application. | |
Below is a script which i use to return a random image in a specified directory. (It also sets a session variable to cache a list of images recently displayed, but that is irrelevant to my problem.) I am looking to have this script also find files in the sub-directories … | |
![]() | Hi Lads im writhing a login system for a personal project. the login part work nice but there are some includement stuff i cannot get figured out. when a user logs in the session will start and he will be redirected to his CP. now. the link to the cp … |
Hello Everyone, I am developing a new website which shall provide a user interface of multiple languages; starting with English, Persian and Arabic (We are considering Russian and Hebrew in addition to other languages in the 2nd phase). What I have done is to store a language code with the … | |
Hi, I'm trying to create a multilingual site and I've decided to go with the example shown [URL="http://www.phpsimplicity.com/tips.php?id=15"]here[/URL]. The problem is that I'm also trying to build the site with a method I've never used before. The navigation is done through the get-method. All content gets loaded into the index … | |
I'm getting the following warning; Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at C:\xampp\htdocs\ep\login.php:1) in C:\xampp\htdocs\ep\login.php on line 2 If i comment session_start(), everthing works fine. Where is the actual problem? Here is my code; [CODE=php] <? session_start(); include "config.php"; global $c; require('functions.php'); … | |
Hello, I'm fairly new to php. I have a two page's, one where user creates account. The other one is for the user to insert other information. [B]If [/B]user completes both pages I want to direct them to their personal page, [B]else[/B], direct them to the second page to insert … | |
Hi All, I use at work Rflection X to access Server Running on Solaris 10. There are applications running there so what we do is just connect to that using IP address. Then comes login windows and starts GUI I can login to commandline via putty but cannot start the … | |
Hiya, Ive been using sessions for my website login but dont actually seem to be able to get my head round the data and content of it! For example ... if im using a session that holds the username of the member which is used to indetify and check access … | |
Hello All, when I add/Delete data to my database (MySQL) using php, i discover that when i refresh the page my Add/delete script runs again and add (or attempt to delete) another copy of the record i added/deleted initially. How can I prevent a block of php script from running … | |
Hi, i use simple login with a login page where user place u/n and p/w. The data are compared to store data from access db. If matches, open a secure page. So far so goob. In secure page i wanr to show a gridview with user's data, so he can … | |
hi... i just wanted to know how we can access the variable of 1 form to another form.as far as i know, ther is no session management concept in C#. for ex., i want to access my login id into the next form. then what will be the procedure to … | |
i want to generate automatic emails. i got the following code by google. i also added the mail.jar file into lib of web inf. wen i execute this code i get exceptions "Could not connect to SMTP host: smtp.gmail.com, port: 25 (javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?)" and "Unrecognized SSL … | |
Hi all, I have two jsp pages say jsp1 and jsp2. In jsp1 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="one" scope="session" class="mypackage.myclass1" /> [/code] In jsp2 I have the following line: [code=jsp] <%@ page contentType="text/html;charset=UTF-8" language="Java" import="java.sql.*" %> <jsp:useBean id="two" scope="session" class="mypackage.myclass2" /> … | |
[code] //declare variables $thing = $_SESSION['username']; // get username from session $name = mysql_real_escape_string($_REQUEST['name']); $pwrd = mysql_real_escape_string($_RQUEST['pass']); //$mpwrd= md5($pwrd); $error = 0; $select = mysql_query("SELECT * FROM users WHERE username='$username'"); $numrows = mysql_num_rows($select); $check = mysql_query("SELECT * FROM users WHERE username='$name'"); $check2= mysql_num_rows($check); //if submitted if (isset($_POST['submit'])){ if(!$name){ $error ++; … | |
[code] public CheckBox[] cb = null; int z=0; protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { int count = (int)countcmd.ExecuteScalar(); Int32 k = Convert.ToInt32(Session["TZ"]); cb = new CheckBox[count - k]; OleDbCommand cmd = new OleDbCommand("Select Member_Name from Member_Master", con); dr = cmd.ExecuteReader(); while (dr.Read()) { //creating check box … | |
My apologies if this is posted in the wrong area. Serious memory error keeps my computer crashing constantly. No idea what's wrong. Have to quickly post this incase I get booted again. Usually a 5-10minute session on the laptop and I'm a goner. Have posted HJT and renamed the HJT … | |
Hi Friends, I am an java programmer and trying the code change in C++ now,Kindly guide me for the below issue I am facing, The code which I need to modify is Original code:- [code] /* **-------------------------------------------------------------------------------------------- ** Description : This class starts the event listener threads for BRANCH ** … | |
Hi, I have an application that is making request to server, in this case how can the server maintain the session. If I run the same URL from browser, all the session and page navigation are working. My application is some thing like an exe file, not on the browser. … | |
hi there, I have to display some user specific info;so i need to save my login page credentials to show only that user's info.So plz help me as how to store login page info in session variable and how to access that info in some other page in ASP.NET. thnx |
The End.