3,454 Topics

Member Avatar for
Member Avatar for s1986
Member Avatar for Thirusha

Hi I am using ajax and jsp in my web application. The user is required to fill out a few forms, for this i am using ajax to go through the forms, on one of the forms i need to set the session bean value and i am unsure as …

Member Avatar for ~s.o.s~
-1
91
Member Avatar for majestic0110

hi all, hope you are well. Just a quick question, been googling this one for a while but not found anything yet: How does IIS deal with session state? Many thanks for your time.

Member Avatar for majestic0110
0
140
Member Avatar for Thirusha

I have looked around this site but have not found anything to help me. I have a jsp page which takes user input, the page is then posted to a servlet using ajax, the servlet then sets a bean value. My problem is that when i go back to the …

Member Avatar for Thirusha
0
122
Member Avatar for OmniX

This error cropped up in another thread as I was trying to solve the problem. Problem: I am unable to use: [code] test.php code header("Location: test1.php"); and echo "<meta http-equiv='refresh' content='0;url=test.php'>"; [/code] Goals: For test.php to open test1.php in a new window and then test.php is refreshed. Solution: Ill leave …

Member Avatar for forzadraco
0
65
Member Avatar for Ankita B

Hi is there a way to save the selected radio box value into a session variable so that i can retrieve it and display on next page?..the selected value is displayed on the page but after navigation it shows the last value and not the selected one.. [CODE]String upid = …

0
81
Member Avatar for gurusundar

When i log on to my site and click a link in it. It is logging out automatically. [url]http://thelittleguynetwork.com/index.php[/url] username: demo and Password: demo can any one say me what may be wrong with this site. Please reply me.

Member Avatar for Designer_101
0
114
Member Avatar for Ankita B

Hi,I want to develop a webpage (page1.jsp) that has 2 textboxes,user id and user name,and abutton find user.when i click on find user button ,all the user id and names must be displayed on next page(page2.jsp) in one list.something like this... USER ID USER NAME 123 george 456 Emily 789 …

Member Avatar for ~s.o.s~
0
85
Member Avatar for dami06

Hi There, I am trying to get the information that i have put in the database to be displayed on the screen but i am getting this error Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\xampp\htdocs\capat\result.php on line 44 The error doesn't seem to go …

Member Avatar for dami06
0
228
Member Avatar for jiggy_g

Hello List! I'm having a problem getting a line break/feed on a page...I'm passing parameters from one page to another (this particular one is being passed to a textarea), and would like to pass them with page breaks between them... Here's my current code [code] <script language="javascript"> openIssuesWindoid('../../GUtilities/IssueCreator/IssueCreator.asp?name=<%=session("userFullName")%>&email=<%=session("userEmail")%>&summary=Station Type Change …

Member Avatar for ~s.o.s~
0
106
Member Avatar for lordx78

[code=php] <?php // auth.php // start session session_start(); // convert username and password from _POST or _SESSION if($_POST){ $_SESSION['username']=$_POST["username"]; $_SESSION['password']=$_POST["password"]; } // query for a user/pass match $result=mysql_query("select * from users where username='" . $_SESSION['username'] . "' and password='" . $_SESSION['password'] . "'"); // retrieve number of rows resulted $num=mysql_num_rows($result); …

Member Avatar for lordx78
0
109
Member Avatar for thirunavukaras

Hai. I created one windows application.I am add reference control to add Microsoft WebBrowser Control..In my application I am using HTTPWebRequest and HttpWebResponse class .To request some post message to corresponding URL.Then I will get response string. In response string i am go to create one .HTML extension file.Then I …

0
77
Member Avatar for aparnesh

What would be the best available solution for uploading files to a Web Server from ASP ? I have been using MS Posting Acceptor but it is giving bizarre problems ([URL="http://www.daniweb.com/forums/thread112267.html"]See here[/URL]). Also I came to know it has 2 rather unpleasant problems - destroys all session data after a …

Member Avatar for aparnesh
0
104
Member Avatar for nikk

Can you please tell me how to expire a session after a fixed interval of time.(i.e if the browser is inactive for some time - say, 5 mins) Once the session expires, and if user tries to access the page, then he is prompted for login again, am i right? …

Member Avatar for nikk
0
256
Member Avatar for kapil.goyal

i have a class in app_code folder which implements the Ihttphandler Interface.so when the execution enter in the Processrequest method i have to use the session variables created on login page.but there is no such Session Object present there. on login page i hav created session like this session("userid")=dr("user") i …

Member Avatar for Hausen
0
421
Member Avatar for serkan sendur

Hi fellas, i got two applications running under the same iis server. I want to pass session variables between these two applications, i.e. authenticate users in one application and allow them access in the other as well. What are my options to achieve this?

Member Avatar for serkan sendur
0
815
Member Avatar for muddpigeon

theres problem with this page and its annoying me sooo much basically because of the cfml code in the page its knocked the html and style of the page away. the web site is due this friday and im really stuggling any help would be appreciated [CODE]<cfquery name="GetUser" datasource="2ndhandbooks"> SELECT …

0
80
Member Avatar for majestic0110

hi all I have a connection to a sql d/b that loads data into a gridview. now in this grid view I have edit buttons that process user onto the 'edit' page (a separate page). the data from the row that was selected for editing was sent to the next …

Member Avatar for majestic0110
0
263
Member Avatar for eparse

Hi, i'd some requests for my PHP, can anyone guide me? Q1: Any upload server can be used so that i can test my upload.php? My currently used web hosting may need permission. Q2: using <? session_start(); .....?> at every page and assign [code]$_SESSION['name']=$_POST['name'];[/code]. and at the second page it …

Member Avatar for nav33n
0
83
Member Avatar for lordx78

[code=php] <?php // connect to database include("inc/connect.php"); // include auth and nav include("inc/auth.php"); // begin content //include("inc/nav.php"); // close mysql connection //mysql_close(); // Check if the form has been submitted. if (isset($_POST['Submit'])) { //require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for …

Member Avatar for lordx78
0
97
Member Avatar for arif_iskandar

I got a problem in order to access the value for my radio button. I'm developing web application system that allow user to book something. so, i display the detail in list.But, i don't have any idea how to access the value.. this is the coding [code]<%@page import="java.util.*" %> <%@page …

0
77
Member Avatar for dami06

Hi, could someone please tell me how to about putting a login name to the homepage of a user when they sign in. for example, after they have logged in using their username and password. Their name would come up in the homepage, like welcome Amy. This is my checklogin.php …

Member Avatar for dami06
0
110
Member Avatar for nawaray

hi.... i did this form for sending emails... the form consists of: text boxex: from, to , subject , attachment... buttons: send , forward, ...etc when i fill the info and send the email it will go , but i don't know how to use the attachment , i have …

Member Avatar for choudhuryshouvi
0
162
Member Avatar for muddpigeon

i have a problem with this page and neither me or my lecutrer can spot it. all i want it to do is display the details of the person who has just logged in. can any one help?? [CODE]<cfquery name="GetStudent" datasource="2ndHandBooks"> SELECT * FROM students WHERE matno = #Form.MatNo# AND …

Member Avatar for hinde
0
144
Member Avatar for lordx78

[code=php] <?php session_start(); session_unset('YourVisitID'); session_destroy(); header("location:index.php"); ?> [/code] I've use the code above to destroy my session after login, but instead of destroying it, It creates another session called 'PHPSESID'. I'm using XAMPP localhost. Please advise.* * page redirection works fine

Member Avatar for nav33n
0
1K
Member Avatar for lordx78

[COLOR="Green"]admin.php[/COLOR] [code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; $errors = array(); if(empty($_POST['username'])) { $errors[] = 'You think whom going to fill up the USERNAME for you?'; } if(empty($_POST['password'])) { $errors[] = 'You think whom …

Member Avatar for lordx78
0
545
Member Avatar for namsSoftee

Hi Frndz, My code is like this: Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click sql = "select LS from Tests_Attended where Emp_ID = " & Session("EmpID") cmd = New OleDbCommand(sql, con) ds = cmd.ExecuteReader If ds.HasRows = True Then ds.Read() If ds.Item("LS") = True Then …

Member Avatar for namsSoftee
0
161
Member Avatar for JeniF

Good day all! I have been working on a project that requires me to to the following: Select a user from a list, on submit go to next page. The next page contains the session variable $id of the selected user. On this page, I am assigning menu permissions. I …

Member Avatar for nav33n
0
239
Member Avatar for JCVM

I found this code that I have to change to work as I need it to I have this event procedure to open a query that gives me the approvers based on the amount of the request so I open the approver Form that has the email addresses I need …

0
72
Member Avatar for s1986

how do i disable the BACK button of IE.can it be done using session.if so can anyone please explain me how it works and give me a bit of information about this session thing as i have no idea about it and when i searched the web it left me …

Member Avatar for SheSaidImaPregy
0
132
Member Avatar for eddy556

Hi, I have a JSP which searches through a database of categories and displays each one with a unique link if clicked. When the link is clicked it sends it to itself and saves it into a variable. <jsp:forward> is then called which should send the variable as a parameter …

0
100
Member Avatar for lordx78

[code=php] <?php # Script 9.1 - login.php // Send NOTHING to the Web browser prior to the setcookie() lines! // Check if the form has been submitted. if (isset($_POST['submitted'])) { require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for an email address. …

Member Avatar for lordx78
0
85
Member Avatar for TobbeK

I thought this was a simple task to do, but not. I just want the option stay selected when a value from the session variable exists, AND it does after the form has been submitted. So why can't the option value stay selected as long as session is populated. If …

Member Avatar for TobbeK
0
377
Member Avatar for scorpionz

Hi this is Scorpion I have create 5 pages on PHP and 1 login Page. Now the issue is that if user didnt login to the Website, then he cannot view those pages and simply he/she must direct to login page if click to other categories of Page. I have …

Member Avatar for nav33n
0
205
Member Avatar for Texpert

Hi, I have two drop down lists boxes, upon page load first DDL gets populated and depending on user's selection on first DDL second DDL (child DDL) gets populated, works fine. My problem is when user goes back and makes another selection on first (parent) DDL (note that it's not …

Member Avatar for SolTec
0
146
Member Avatar for carobee

hi all, i have a login page and a couple of other php pages. what i want is that nobody should be able to view my other php pages without logging in. i have tried with sessions but sadly session is not working with me. can anybody tell me of …

Member Avatar for Nick Evan
0
147
Member Avatar for carobee

hi there, i have started session in my first page(login page). on fulfilling the validations the user is taken to the next page. in the second page, first i check whether session is set or not, and if it is not set the flash an error message to the user …

Member Avatar for carobee
0
154
Member Avatar for eddy556

I have a string stored in a session variable.....how do I get that string back out as I get the error:Type mismatch: cannot convert from Object to String Is there a toString() method or something? Thanks

Member Avatar for ~s.o.s~
0
133
Member Avatar for dami06

Hi, Could someone please tell me what is wrong with this code because i have tried loading it but it's not giving me any error to know where the problem lies. [code=php] <?php /** * * Global configuration file for CAPAT */ // Site Setup error_reporting(0); session_start(); // Turn off …

Member Avatar for dami06
0
152
Member Avatar for SheSaidImaPregy

First question in a long time. I was wondering if anyone know how to search all current sessions within the website? I want to be able to loop through all the current sessions (with a specific session name if possible) on my current website at one time. I am trying …

Member Avatar for SheSaidImaPregy
0
122
Member Avatar for nikk

I'm creating a website using JSP, HTML pages and MS SQL. Can u please tell me how to create a session and how to retrive it each time while checking user status i.e how to check if user is signed in or not? Please help. Thank you.

Member Avatar for ~s.o.s~
0
110
Member Avatar for nemo

i am designing a page where the user enters the start date for a uni session say 04/02/2008 in dd/mm/yyyy format and then the user selects the duration for the session in weeks, say 22. our system needs to calculate the end date for the session by adding 22 weeks …

Member Avatar for ~s.o.s~
0
90
Member Avatar for successalways

Private Sub cmdLogin_Click(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles cmdLogin.Click 'Declare connection string and assign 'a value to it. Dim str1 As String = "Data Source=PROSERVER;" & _ "Initial Catalog=SqlMagMemberApp;" & _ "Integrated Security=SSPI" 'Instantiate a connection. Dim cnn1 As SqlClient.SqlConnection = _ New SqlClient.SqlConnection(str1) cnn1.Open() 'Declare …

Member Avatar for SolTec
0
581
Member Avatar for Nick Evan

I have a problem with session in combination with DNS. I use have a webpage where some areas are restricted. So I use a log-in screen which sets the session username and writes the sessionid in a DB. When you try to access a restricted page, a script checks if …

Member Avatar for Nick Evan
0
136
Member Avatar for VanPetrol

Hi, I will be making a small site (my first in php) that will be available in 3 languages (eng, jap, chinese). my idea is to have index.php page in the root, and then (also in the root) 3 folders (en, ja, zh) with a version for the site in …

Member Avatar for nlso
0
124
Member Avatar for mbhawk

I am rather new at this code and am attempting to modify existing code to use clob datatypes, which I have never used before. The database tables have been set up for clob data. When trying to use dbms_lob.writeappend, I am getting the following error..Command text was not set for …

0
72
Member Avatar for nandhinijp

If i click the back button in browser i got some problem. i click the login and redirected to another page.after that i click the back btn its navigated to login page.but it didnt clear my session value login=true.still that user in login stage but that login page looking normal …

Member Avatar for nandhinijp
0
145
Member Avatar for niladri.user

Can u pls. tell me? how to create a web page with a session locking functio. & also with login & logout facilities?

Member Avatar for nav33n
0
331
Member Avatar for rajeshnrh74

Hi, my project is based on VB6 Activex Dll , Activex Exe and ASP 3.0 In Activex Dll I'm storing Session ID in one variable. How can I get the value (Session ID) stored in that variable in Activex Exe? My code is as follows: 1) VB6 Activex Dll Code: …

-1
85
Member Avatar for nirmalarasu

Hi , Currently i am writing telnet python script for connecting remote server. I would like to save the telnet session activites in a file. Is there any better way to grap the remote output in a local machine file. example Login: --------- Password: ********* Login successful --> show port …

Member Avatar for nirmalarasu
0
1K

The End.