4,124 Topics

Member Avatar for
Member Avatar for vaisakh

i created a session variable and try to call it on page load on another page the following error occur : System.NullReferenceException: Object reference not set to an instance of an object. code is Session("name")=request(religion_list.selecteditem.text) server.transfer("profile.aspx") // then call religion.selecteditem.Text = CStr(Session("name")) Session.Remove("name") plz help me to solve this

Member Avatar for web_developer
0
137
Member Avatar for kakumeii

Hey, I'm new here, so I have a question. I did a form in coldfusion that creates tables of data of students when they submit their info, but when a dates comes the superadmin can purge the old dates of the data and this deletes the entries with this date. …

Member Avatar for paulbaylis
0
82
Member Avatar for benyam_dessu

Dear colleague: I took web design with asp one and half year before. But I don't have full idea about Global and session variables. Now I have one project to do on my hand. As I remember these varuables are mandatory to develope a dynamic webpage. So I need to …

Member Avatar for campkev
0
68
Member Avatar for Naters_uk

What's wrong with this? I know i must have missed out something. But what's that i'm missing? [CODE]Dim ds As DataSet = New DataSet Dim da As SqlDataAdapter = New SqlDataAdapter("SELECT * FROM Member WHERE MemberUserName = @MemberUserName", Conn) da.SelectCommand.Parameters.Add("@MemberUserName", SqlDbType.VarChar) da.SelectCommand.Parameters("@MemberUserName").Value = Session("Username") ' Fill DataSet with the data …

Member Avatar for neerajtrivedi
0
347
Member Avatar for msaqib

hello people I am having 2-3 web forms on my website for guestbook and tutorial submission. But these days i am getting tons of spam guestbook entries n tutorials. I did lot of security measures but cant avoid them. I have places security code, session check and lt of other …

Member Avatar for msaqib
0
80
Member Avatar for stranoblaze

i'm posting this for my sister: Dell Dimension 8200 Series, Pentium 4 Processor at 1.7 GHz, 256MB RDRAM, 40 GB Hard Drive Problems with my PC: 1. About 3 years ago, I tried to upgrade from Windows ME to XP, but was never successful. Then I started to notice that …

Member Avatar for 'Stein
0
129
Member Avatar for dsureesh

hi all, iam sureesh, iam doing a online project in php, i want know how we can use sessions in php....... how to make session end when the user click the logout button

Member Avatar for Troy
0
118
Member Avatar for screwrup

[COLOR=SeaGreen]Hi guys, i hope u can help me solve this prob of mine. Im currently werking on this project and somehow im unable to insert this data into my database eventhough the data was being retrieved. Can anione help :sad: [/COLOR] <% option explicit %> <% response.buffer = true %> …

Member Avatar for DMR
0
211
Member Avatar for Mikecool509

Hello everyone. I have a pretty straight foreward problem. Here is an overview of what i am trying to accomplish 1. I am trying to allow "teachers" of my quiz site to create a class list and in that class list, they can have a list of students. I created …

Member Avatar for campkev
0
132
Member Avatar for KeithMcL

I figured it was time that a revised edition of this tutorial be written up. So, I asked Dani if it was ok and well..... here it is :D This revised edition includes how to make your forumhome, forumdisplay, showthread and who's online sections all show search engine friendly urls …

Member Avatar for alphinho
0
5K
Member Avatar for maryanne_njenga

[B]Boot Disks[/B] A very important, but separate, part of your backup strategy should be the creation and maintenance of boot disks. These disks are used in the event of an emergency with your system (they are in fact sometimes called emergency boot disks). They are designed to enable you to …

0
44
Member Avatar for Mikecool509

Hi everyone. I am trying to show data from a sql data source. My Columns are as follows: QuizID (Which record the quiz # that the person took), DateTimeComplete (Which shows when the quiz was completed), Score (which is a numeric value that shows the person's score), and UserName(Which is …

Member Avatar for Mikecool509
0
118
Member Avatar for Alvein

Hi, This is a boring problem, long to explain. I will try to make things simple. There is a C library that has a function with this interface: [CODE]void ne_set_server_auth(ne_session *session, ne_request_auth callback, void *userdata);[/CODE] Where ne_request_auth is declared this way: [CODE]typedef int (*ne_request_auth)(void *userdata, const char *realm, int attempt, …

Member Avatar for Alvein
0
152
Member Avatar for Naters_uk

Sessions DO NOT end when a user closes their browser. There is no communication with the server when a browser is closed so there is no way the server can know to end the session. The same is true when you leave the site for another. Again no communication takes …

Member Avatar for f1 fan
0
194
Member Avatar for Naters_uk

Sessions DO NOT end when a user closes their browser. There is no communication with the server when a browser is closed so there is no way the server can know to end the session. The same is true when you leave the site for another. Again no communication takes …

Member Avatar for tgreer
0
119
Member Avatar for Dwy3r688

the inet 20099 problem i have has been fixed, thank you to whoever helped me out. Turns out i had about 40 different trojans and worms (check out the ewido logs, its almost scary) Here is my new HJT: Logfile of HijackThis v1.99.1 Scan saved at 1:54:48 PM, on 2/4/2006 …

0
80
Member Avatar for hint1979

Hello , I read artical listed on link [url]http://www.tgreer.com/aspnet_html_04.html[/url] What I am doing is. on aspx page 1)There are two dropdown list on my .aspx page 2) One ddl ( drop down list) is populated on change of another one 3) One place holder to accomodate dynamic controls On change …

Member Avatar for hint1979
0
117
Member Avatar for rcasinillo_s

Good day to you! Is somebody could explain and give examples to me what are the functions of session in the page and what are the purpose of it? I'm waiting for your detailed help... Thank you in advance... Roland

Member Avatar for rcasinillo_s
0
217
Member Avatar for fiercetiger_22

My computer is not running correctly. I lost my active desktop. When I try to go on-line, the home page has become C:\secure.html. I can not run any anti-virus software. Every time I try to go to a webpage for anti-virus software, it comes up to the Microsoft home page …

0
42
Member Avatar for fiercetiger_22

I saw the thread at 28035 and followed the recommendations contained there. I just ran HijackThis and here is my log. I'm not sure what else I need to do now. I am not very computer literate so I will need simple instructions to follow. Please Help!! Logfile of HijackThis …

0
64
Member Avatar for peppylepiu

Hi very new to this so please bear with me Im having trouble with my Internet browser at random times i cannot view certain pages and sometimes the internet will not let me view any pages and sometimes i can see the pages very strange. I have put a selective …

Member Avatar for DMR
0
178
Member Avatar for Pumpkin.kim

I'm frustrated... :( Upon trying to play DVDs in Windows Media Player 10, I got no video, only sound. So I installed the video codec I thought was missing. This worked well until I turned the computer off. When re-starting, the video image disappeared again. I've found I have to …

0
38
Member Avatar for nike123

Am not too sure what this code does can someone help me please? I know it starts a session but what all that xtra validation? // start the session session_start(); if (!get_magic_quotes_gpc()) { if (isset($_POST)) { foreach ($_POST as $key => $value) { $_POST[$key] = trim(addslashes($value)); } }

Member Avatar for nike123
0
152
Member Avatar for Dani

[b]Handy Linux User Commands [/b] [b]../[/b] represents one directory higher [b]cat filename[/b] display file contents [b]cat stuff1 stuff2 > allStuff[/b] combine files [b]cat someStuff >> allStuff[/b] append to a file [b]cd dirName[/b] go into the directory dirName [b]chmod [permission mode] file[/b] change the permission of a file (4=read, 2=write, 1=execute …

Member Avatar for jackfusion
0
552
Member Avatar for peppylepiu

Hi very new to this so please bear with me Im having trouble with my Internet browser at random times i cannot view certain pages and sometimes the internet will not let me view any pages and sometimes i can see the pages very strange. I have put a selective …

Member Avatar for swatkat
0
126
Member Avatar for hemanth.balaji

Hi, I get the following error when I connect to the Sybase database from my web-app. I put Set chained off in the procedure and nothing happenend. There seems to be a probelm in the Java Side. Exception : ------------ com.sybase.jdbc2.jdbc.SybSQLException: Stored procedure 'p_inter_status_dz' may be run only in unchained …

0
73
Member Avatar for hemanth.balaji

Hi, I get the following error when I connect to the Sybase database from my web-app. I put Set chained off in the procedure and nothing happenend. There seems to be a probelm in the Java Side. Exception : ------------ com.sybase.jdbc2.jdbc.SybSQLException: Stored procedure 'p_inter_status_dz' may be run only in unchained …

0
84
Member Avatar for jhoop2002

I worked on this site over the summer at an office, I'm now back on christmas break, and will work again this summer. With the help of many people online I got the following code to work. But now, it doesn't work. As far as I know, the code SHOULD …

Member Avatar for f1 fan
0
227
Member Avatar for Dani

I figured it was about time I updated my mod_rewrite tutorial for vBulletin. Therefore, I decided to provide you guys with the exact, full mod_rewrite that I use here at DaniWeb. It's written for a clean install of vB 3.0.7. [b]This version is not for the faint of heart![/b] Some …

Member Avatar for Matzefn1
0
5K
Member Avatar for gumby008

I am not new to computers and consider myself to be fairly competant. This is the first time I have received something that I can't fix on my own (knock on wood). I have never used HijackThis, but seems to be working fairly well for others. From other forums I …

Member Avatar for DMR
0
207
Member Avatar for Kali2005

[b][Moderator's note: post split from [url="http://www.daniweb.com/techtalkforums/thread33918.html"]this thread[/url]] [/b]Hi DMR, I have the same problem with the Hacktool.Rootkit virus, and tried to follow the directions you had provided in this thread but was unable to find the "Lockx.exe" file. Would you please view my startup log below, and advise on how …

Member Avatar for DMR
0
314
Member Avatar for tomac_1

Hi guys and gals, I have picked up a nasty virus and can't seem to get rid of it. It is appearing as a red circle with a white x in my system tray. I have run Ad-Aware, Spy-Bot, Pest Patrol and XoftSpy, all to no avail. Any help would …

Member Avatar for tomac_1
0
240
Member Avatar for stallwoes

Hi, I created a page the has drop menus based on database recordsets that filter each other . The only problem i run into is keeping the only problem i'm having is holding the view state of the first dropmenu after it reloads. I've tried cookies, session states...am i doing …

Member Avatar for william_stam
0
211
Member Avatar for paradox814

so I'm looking at the [URL=http://php.he.net/manual/en/function.setcookie.php]PHP docs[/URL] for setcookie and this is what I see: [PHP]bool setcookie ( string name [, string value [, int expire [, string path [, string domain [, bool secure]]]]] )[/PHP] they say if you want to have the cookie expire when the browser closes …

Member Avatar for Lafinboy
0
885
Member Avatar for ! !

[color=navy]Sony BMG Music's controversial copy-protection scheme can be defeated with a small piece of tape, ...Sony's XCP technology is stymied by sticking a fingernail-size piece of opaque tape on the outer edge of the CD. That, the pair said in a brief posted online, renders "session 2 -- which contains …

0
41
Member Avatar for pyari_priya1981

Hi all, I am facing problem in session variables. We are a Call Center and we have a CRM application in ASP.Net which has two interfaces, one is for tech executive level another is for auditor. When a auditor opens both simulatanously.Sometime Session variables clashes for both interfaces and forms …

Member Avatar for kedar_challa
0
177
Member Avatar for seemagaur

I am doing a website with asp.net. i have used session variable in my GLOBAL.ASAX file. the code is given below: Sub Session_Start(ByVal sender As Object, ByVal e As EventArgs) Session.Timeout = 100 Session("Loggedin") = "No" End Sub Sub Session_End(Sender As Object, E As EventArgs) ' Code that runs when …

Member Avatar for kedar_challa
0
164
Member Avatar for Lightninghawk

The output that I'm looking for is: ---Site ------Session ---------Class ........... students in class ---------Class ........... students in class ------Session ---------Class ........... students in class ---Site ect ect.... ~~~~~~~~~~~ The current outcome : ---Site ---------Class ........... students in class or sometimes ---Site ------Session ---Site... ~~~~~~~~~~~~ It's almost like it has …

Member Avatar for e3computer
0
343
Member Avatar for aarya

i m getting the error as Error Type: Microsoft VBScript compilation (0x800A0401) Expected end of statement /myweb/updat.asp, line 18, column 181 my code is <% if session("bvuser")="true" then struser=request("usercode") stremail=request("email") strfname=request("fname") strlname=request("lname") straddress=request("address") straddress1=request("address2") straddress2=request("address3") strcity=request("city") strcountry=request("country") strpassword=request("password") struser=session("usercode") dim rsupdat,Conn,sql Set Conn = Server.CreateObject("ADODB.Connection") Conn.Open "Driver={MySql ODBC 3.51 Driver}; …

Member Avatar for aarya
0
310
Member Avatar for edmicman

I've implemented a security method where a user goes to a page, if they are are session authenticated, they redirect to a central login page, and then if they login correctly they are redirected back to the originating page with the session variable true. I'm basically using javascipt to accomplish …

Member Avatar for edmicman
0
139
Member Avatar for ashneet

First of all i am new to PHP Session. THE PROBLEM: I do session_start(); command at the begening of every page so that php uses session but what i also what it to do is that if that person closes the browser and returns back to same website it should …

Member Avatar for ashneet
0
174
Member Avatar for oades11

I ran all antivirus software and spyware prevention software I could, but nothing worked. I really appreciate any help I could get. Here is my hackthis startuplist: StartupList report, 10/24/2005, 1:23:24 AM StartupList version: 1.52.2 Started from : C:\Documents and Settings\Mr X\Desktop\HijackThis.EXE Detected: Windows XP SP2 (WinNT 5.01.2600) Detected: Internet …

Member Avatar for oades11
0
545
Member Avatar for Mr.Jamie

Help!! I'm having loads of popups and I don't know why, I've scanned loads of times but nothing gets rid of them. PLease help...please.... StartupList report, 23/10/2005, 01:59:01 StartupList version: 1.52.2 Started from : C:\Documents and Settings\Jamie Lowry\My Documents\hijackthis\hijackthis\HijackThis.EXE Detected: Windows XP SP2 (WinNT 5.01.2600) Detected: Internet Explorer v6.00 SP2 …

Member Avatar for jermaldan
0
213
Member Avatar for hsharma65

i made the following jsp file <%@ page import="mybeans.NameBean" %> <jsp:useBean id="pageBean" class="mybeans.NameBean" scope="page" /> <jsp:setProperty name="pageBean" property="*" /> <jsp:useBean id="sessionBean" class="mybeans.NameBean" scope="session" /> <jsp:setProperty name="sessionBean" property="*" /> <HTML> <HEAD> <TITLE> The UseBean JSP </TITLE> </HEAD> <BODY BGCOLOR=red> <H3> Welcome to the UseBean JSP </H3> <P><B>Page bean: </B> <% if …

0
86
Member Avatar for ashneet

I have new with using sessions and i have a question to ask. I was wondering if it is to delete session if some one exit browser as i want to make my site secure so that some1 else dont sit on the comp and have all access to some1s …

0
66
Member Avatar for aarya

my login script working fine in my localhost. but when i hosted the site my session is not working.i have written session_start(); in my script i dont undertand y? weather all the php sites supports session.

Member Avatar for aarya
0
138
Member Avatar for banji319

am new to this but i was wander if anyone could help ave tried alot of stuff to try to fix it but no luck. when i go to sign in on it says "we were not able to sign u in there maybe a problem with our service or …

0
59
Member Avatar for muktidaniweb
Member Avatar for zawadzki14

I've got Windows Xp which i recently reinstalled. For about the first week the drives were reading now when i put in any DVD/CD i get an error saying: [U]the disk is not formatted or it is corrupted and windows cant read them.[/U] when all the disks i put in …

Member Avatar for goldeagle2005
0
228
Member Avatar for zeroth

I´ve just gotten an XP notebook from work that I´m using on my home network. If I´m not using it for awhile, I come back and it´s sitting there waiting for me to sign in and logon again. A real pain...especially as it loses the wireless connection every time. I´m …

Member Avatar for zeroth
1
95

The End.