4,124 Topics

Member Avatar for
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
411
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
771
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
77
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
255
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
76
Member Avatar for zclevenger

I have a homework assignment i Am totally confused on. I started with a basic code to determine if a number is prime or not, but need guidance from here. I will post assignment details then what I have so far. Problem 1: Is it a prime number? Write a …

Member Avatar for Arob1000
0
344
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
79
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
72
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
108
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
148
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
132
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 gehher

Hello, I managed to wreck Windows Vista accidently in record breaking time, only a few minutes needed: 1. Remove all protocols from "connections". 2. Remove network device. 3. Wait until Vista detects it's a non genuine copy or it's trail has expired. 4. Reboot End result: DEAD VISTA Reason: 1. …

Member Avatar for jbennet
1
160
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
516
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
154
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
215
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
58
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
116
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
92
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
72
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
366
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
183
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
137
Member Avatar for nirmalarasu

Hi All, Currently Iam writing python ftp script to upload a file to FTP Server. The server where iam going to download a file expects the upload command in this format "put <filename> flash" I dont know how to send this same command in ftp session after login. I have …

Member Avatar for nirmalarasu
0
499
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
138
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
145
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
124
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
136
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
112
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
100
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
83
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
556
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
130
Member Avatar for justted

Hello everyone, I am developing a virtual pet site that is based on PHP, CSS and MySQL. I am currently learning PHP and MySQL myself but require some genius minds to help me develop my community and ideas ready for a big launch in March/April. [B]Things I require help with …

Member Avatar for Vai
0
87
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
65
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
127
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
313
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
72
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
Member Avatar for JackieW

I am relatively new to asp, and need some help. I have a form that a drop down box is dynamically populated with TeamNames, and this works. I then pass this information, via a submit button (action=get) to another page that I want to show the Team Name, then list …

Member Avatar for SheSaidImaPregy
0
97
Member Avatar for dami06

Hi, I'm trying to create a separate usernames with the same login page using php and MySQL. I have tried adding different things to my login code for it to work but no progress. Basically i want to create something like this: A staff would be able to have a …

Member Avatar for fenixZ
0
176
Member Avatar for Mushy-pea

Hi. I was at work in my call centre today when a colleage asked me to have a look at a customer issue. We support BT broadband customers, but we're not BT (they just pay us to do it). So, this guy is saying he's getting slow web page loading …

Member Avatar for leo002000
0
108
Member Avatar for Venom Rush

Hi there I'm having a bit of a problem. As the title suggests, I'm creating $_SESSION's such as [code=php]$_SESSION[''.$row[0].''][/code] dynamically which is working perfectly, but the problem is I don't know how to call that same variable on a template page that I click through to. At the moment I …

Member Avatar for Venom Rush
0
150
Member Avatar for lordx78

[code=php] <?php // connection to MySQL server mysql_connect('localhost','root','root'); mysql_select_db('administration'); // *** Validate request to login to this site. //session_start(); $loginFormAction = $_SERVER['PHP_SELF']; if (isset($accesscheck)) { $GLOBALS['PrevUrl'] = $accesscheck; session_register('PrevUrl'); } if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $password=$_POST['password']; //$MM_fldUserAuthorization = "level_usr"; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "index.html"; $MM_redirecttoReferrer = true; //mysql_select_db($database_connBlog, $connBlog); mysql_select_db($database, …

Member Avatar for nav33n
0
286
Member Avatar for Reena Balu

Hi, I am new to PHP. I have a login and logout pages are in php. i have to pass the user id or the session to my jsp page. The id should not pass in the url for security purpose and also the browser back button should not work …

Member Avatar for jwenting
0
59
Member Avatar for vedmack

Hi I have built a web site using Struts/Tiles... in one of the tiles i got iframe in which I load a XML file from the server like this <iframe name="showXml" frameborder="no" src="filename.xml" width="100%" height="100%" ></iframe> the problem is that after I'm updating the file in other Tile (and the …

0
56
Member Avatar for rrocket

Anyone have a clue what I am doing wrong here? I have tried to call this function a bunch of different ways, but here is the latest: mProfitPercent = GetProfitPercent Here is the function that I am trying to call: [code=asp] Function GetProfitPercent Dim rsRegx Set rsRegx = Nothing 'Set …

Member Avatar for rrocket
0
189
Member Avatar for dami06

Hi, Could anyone please tell me how to go about linking some folders which are already in php to the login page. For example once you have logged in successfully, the next thing you want to see is the admin homepage. How do you link the login page to the …

Member Avatar for dami06
0
189
Member Avatar for ediddy02

I was able to develop a simple user name and password code that would enable users log into my website before viewing the home page.This worked.Now i have tried to apply this code below to ensure that no link when typed into the browser from any of my web page …

Member Avatar for ManicCW
0
278
Member Avatar for justapimp

I have coldfusion file that I am calling from my ASP page using the response.redirect() method. Inside my url string, I am passing a variable/value pair as shown below. [code] Response.Redirect("http://www.gpsit.com/tools/glr/index.cfm?acctuid=" + accntData.Uid); [/code] The page that I am calling is: [code] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> …

0
73

The End.