4,124 Topics

Member Avatar for
Member Avatar for dourvas

hallo there, i ve implemented a log in system which works just fine. i have a simple form username and psw and when the user pushes the button "ok" i check into mysql database if those names exists. if yes, i create a session and i keep some variables so …

Member Avatar for pritaeas
0
103
Member Avatar for nadnakinam

i'm getting warning in all pages where i used session function... warnings are displayed before redirecting to the page... some help to solve this... here the warning message, [COLOR="Red"]Warning:[/COLOR] session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php:2) in C:\Inetpub\vhosts\agamudaiyarsalem.com\httpdocs\profile edit.php on line …

Member Avatar for poojamakhija
0
92
Member Avatar for genieuk

Hi, I hope someone can help me. My site been using cookies and i have decided to scrap cookies after finding to many security holes which i myself was able to hack in testing. I have looked online and found nothing that is want i am after even my php …

Member Avatar for genieuk
0
243
Member Avatar for mldardy

I am having a problem with the code below especially bolded part. I have built a shopping cart page where if they select the item 'Real Estate Forms 2d' there will be a sales tax added for that item. If they select any other item they will not have a …

Member Avatar for guru_sarkar
0
126
Member Avatar for shuchi.vishnoi

There is a jsp page on which I have to access the selected value from a dropdown list and then compare it's value with the field 'role' stored in mysql database. I have to comapre both values to authenticate the user. I can access the role from dropdown list but …

Member Avatar for Thirusha
0
173
Member Avatar for shadwickman

Hello, I know you probably get quite a few threads asking this, but the DaniWeb search didn't pull up what I was looking for. So here we go: I have a page that I've made as "private" by including my access control script at the top. The access control script …

0
102
Member Avatar for arindamtech

Hello Php Champs, I am new in php , I am getting this problem Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent I have written the following code at the top of header.php [code=php]<?php ob_start(); session_name(); session_start(); ?>[/code] I am new, failed to understand what could …

Member Avatar for cwarn23
0
73
Member Avatar for j_limboo

Please advice once the session is created by A client and B client logs in with the same username and password I want to logout A client Is this possible? [CODE] <?php //Start session session_start(); //Check whether the session variable SESS_MEMBER_ID is present or not if(!isset($_SESSION['SESS_MEMBER_ID']) || (trim($_SESSION['SESS_MEMBER_ID']) == '')) …

Member Avatar for j_limboo
0
72
Member Avatar for grumps63

Hi, having a problem with Firefox automatically unwanted windows with advertising - often with unsuitable content for my son, so very annoying. I ran HiKackThis and here is the logfile - can anyone help. Thanks Logfile of Trend Micro HijackThis v2.0.2 Scan saved at 8:04:31 AM, on 10/8/2009 Platform: Windows …

Member Avatar for jholland1964
0
180
Member Avatar for adityam4444

Hi I have created a simple struts application for which I am supposed to handle multiple sessions. The application works very well. But the problem is, the session attributes get swapped when multiple users access it. For example, UserA logs in, username of UserB is shown on Header. UserB wants …

Member Avatar for nomemory
-1
82
Member Avatar for nadnakinam

Hi to all, page1 -- login page page2 -- secured page 1 [COLOR="Green"] No Problem[/COLOR], If user logged out successfully using logout button. session ends and doesn't allow user to go to secured pages. But... [COLOR="Red"]Problem[/COLOR], if user press backspace or back button in browser staying in page2, directed to …

Member Avatar for nadnakinam
0
252
Member Avatar for Sujata Bandyo

Hi Friends, I am having problem with the above code snippet. Initially it woked fine. But now it is giving an error of java.sql.SQLException: ORA-01722: invalid number. How can I resolve the exception? Thanks. [code=JSP] try { String ein=(String)session.getAttribute("EIN"); System.out.println("inside try block"); Class.forName("oracle.jdbc.driver.OracleDriver"); con=DriverManager.getConnection("jdbc:oracle:thin:@10.9.16.2:1521:TESTDB","HE","HE123"); Statement st=con.createStatement(); ResultSet rs=st.executeQuery("select distinct REV_OWNER …

Member Avatar for masijade
-1
2K
Member Avatar for AdventDeo

Is there any way to do this? I have multiple drop down lists and depending on which drop down is selected I want it to unset some sessions. Do I need to use AJAX for this?

Member Avatar for AdventDeo
0
218
Member Avatar for ragsnayak

Hi, I'm a newbie in Perl programming. I have to start/stop the Windows services running on the remote machine. So, I’m writing a script in Perl to accomplish this job. So far, I’ have completed the following tasks. • to access the windows services through Perl in my local machine. …

Member Avatar for mitchems
-1
100
Member Avatar for awwsnap

I'm not a gamer, I *only* play a 9 year old game, Counter Strike 1.6. But lately, it's been performing very poorly. Intel Pentium D 2.8GHz Nvidia 7300LE 256MB 1 GB DDR2 RAM I know the stats are terrible, but they're good enough for a TEN year old game. I'd …

Member Avatar for awwsnap
0
182
Member Avatar for bbxrider

my page is form, that creates 2 files when processing the submitted info, the files are closed and their objects are set to nothing and the very last of the process is a page redirect. however at that point, for instance i cannot delete the files, because they are still …

Member Avatar for kvprajapati
0
75
Member Avatar for bharath_neo

Hi, I am new to ajax and was taking look at code snippets. Most of the code open and send are like this: [code] var client = new XMLHttpRequest(); client.open("POST", "/log"); client.send(message); [/code] They open a connection and send the msg. Isnt connection open a costly call since the connection …

Member Avatar for ShawnCplus
0
58
Member Avatar for LurkerPatrol

Hi everyone, So I have a form that I'm running which has an option to upload a resume. The form itself is actually multi-page but it all sits inside 1 asp file. The way I manage that is to use a select function and case function and depending on the …

Member Avatar for LurkerPatrol
0
206
Member Avatar for MikeGore

Can someone help me convert this code into PHP plz [CODE]using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; public partial class scheduleGame : System.Web.UI.Page { protected projectServices.project objProj; protected void Page_Load(object sender, EventArgs e) { if (Session["proj_id"] == null) { Response.Redirect("login.aspx"); } if (!IsPostBack) …

Member Avatar for MikeGore
-2
80
Member Avatar for vytla

hi i am trying to clear session varibles its working fine but the problem is when i click back button in browser it is redireding to previous page here i want to do redirect to specied page pls helep me its urgent thanks in advance

Member Avatar for raju.manick
0
105
Member Avatar for nadnakinam

hi, i'm using php 5.3. version for my site development. If i use this function "session_is_registred()", i' getting message something like warning(not actual warning message) as following "Function session_is_registered() is deprecated in c:/.../.php" how can i erodicate this message? help to accomplish it... Thnx...

Member Avatar for fwdean
-1
90
Member Avatar for becraig

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 …

Member Avatar for becraig
-1
141
Member Avatar for abhipro

Hi, Is there any way of storing some variables, say username for a particular session in ASP.NET. E.g, If we let a user login in a page, then I want him to stay logged in for all the pages he traverses on the server. Currently, I am trying Server.Transfer and …

Member Avatar for padtes
0
139
Member Avatar for twilitegxa

I have the following pages: UserForm.aspx: [code=vb] <!-- UserForm.aspx --> <%@ Page Language="VB" ClassName="SenderClass" %> <script runat="server"> ' Readonly property for name Public ReadOnly Property Name() As String Get Return USerName.Text End Get End Property 'Readonly Property for phone Public ReadOnly Property Phone() As String Get Return UserPhone.Text End Get …

Member Avatar for twilitegxa
0
141
Member Avatar for cgyrob

Hi, I am working with the gridview in .net 3.5 and have run into something I can not explain. I am testing my delete methods when I realized that the row was actually being deleted before my event handler even finished processing. Am I dreaming or just missing something. I …

0
64
Member Avatar for InsightsDigital

We know that when school is in session during the Fall, it can also be a season of communal flu and the cooties. Thus, what do you think of Google's FluTrend - [url]http://www.google.org/flutrends/[/url] ? It is good for writing a blog posting or a report for a kid, but from …

Member Avatar for MktgRob
0
200
Member Avatar for MikeGore

I need to convert this into PHP. I heard of ASP to PHP convert programs but they don't work they just append $ to a couple of places thats all. Since my other posts have remained unanswered I don't really expect replies from here either, but I a desperate. Could …

Member Avatar for diafol
0
143
Member Avatar for ritu verma

[B]1) [/B]What I should answer person on interview on question “Can User Control be stored in library?” There are 3 types of controls: 1) User Control 2) Custom Control 3) Web parts you can reuse User control in the current project in which you have built it but you can't …

Member Avatar for sknake
0
74
Member Avatar for SID.SIL

Good Morning Friends I'm using a modal popup using Javascript that this opening normally through the following syntax: [code]jscript + = "<script language='javascript'>" jscript + = "window.showModalDialog ( 'DOCUMENTOS2.aspx','',' resizable = yes, menubar = no, scrollbars = no, width = 1850, height = 1650 ') "jscript + =" </ script> …

Member Avatar for Kusno
0
312
Member Avatar for armyguydave69

Hi, I'm having a slight problem on my home page. Depending on if the user is logged in or not depends on what navbar they see. However, even if the user is logged in - it will sometimes tell the user he is logged out. If you refresh the page …

Member Avatar for armyguydave69
0
185
Member Avatar for veledrom

This is content of in.header.php [code] if(!isset($session_id) || empty($session_id)) { session_start(); $_SESSION["Inputs"]=array(); } [/code] This is index.php which also has form objects that POSTs other values to step1.php [code] require_once 'inc.header.php' $_SESSION["Inputs"]["name"]="MyName"; $_SESSION["Inputs"]["surname"]="MySurname"; [/code] This is step1.php [code] require_once 'inc.header.php' $_SESSION["Inputs"]["age"]=$_POST["textboxAge"]; print_r($_SESSION["Inputs"]); [/code] Problem is print_r prints only [inlinecode]Array ()[/inlinecode]. …

Member Avatar for veledrom
0
177
Member Avatar for bustanji83

the below action working just on the first mail in inbox how can i customized it to work on all mail item ----------------------------------------------------------------------------- Public Class ThisAddIn Private WithEvents mailItem As Outlook.MailItem Private WithEvents items As Outlook.Items Private Sub ThisAddIn_Startup(ByVal sender As Object, ByVal e As System.EventArgs) _ Handles Me.Startup Dim …

0
49
Member Avatar for DdoubleD

See attached project. This is a very small test project so I can learn. Here are my questions: 1) I've overridden the Install and Uninstall in my Installer component based class, but they don't seem to get called...why? I am setting a breakpoint in the Install override and running in …

Member Avatar for DdoubleD
0
581
Member Avatar for alex0514

what im trying to do: 1. register 2.login 3.go to "my profile" where user are able to edit their username, password and so on. my problem: i have success to do the register n login page, but after login, the page "my profile couldn't show all the details that the …

Member Avatar for alex0514
0
78
Member Avatar for f_atencia

Hi all, I have an SQL Datasource: [code=asp.net]<asp:SqlDataSource ID="shownMovie" runat="server" ConnectionString="<%$ ConnectionStrings:MovieTix %>" SelectCommand="SELECT movie.title, movie.category FROM [movie],[session],[theatre],[cinema] WHERE cinema.cinemaLocation=theatre.cinemaLocation AND theatre.theatreNumber=session.theatreNumber AND session.movieID=movie.movieID AND ([movieID] = @movieID)"> <SelectParameters> <asp:ControlParameter ControlID="GridView1" Name="movieID" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:SqlDataSource>[/code] However, i get the following error message: Ambiguous column name 'movieID'. Basically I …

Member Avatar for jbisono
0
140
Member Avatar for BeckyAnne87

Hi, I am having a little access/control issue. I can add a user to the database using a signup page, go back to the login page, and then log in using the new user. but if i click on a link to go to anoher page that requires the user …

Member Avatar for BeckyAnne87
0
135
Member Avatar for Mongz

Hi once again Im trying to use sessions, im passing a value from login page and using it on another page, now i recieve this error "Object reference not set to an instance of an object." here im passing it Session["UserName"] = Login1.UserName; then accessing on different page like this …

Member Avatar for sknake
0
66
Member Avatar for mjc225

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 …

Member Avatar for Kusno
0
222
Member Avatar for CLivingSUP

Hi guys, listen I have a questioned need to be answered: I am trying to setup exchange email accounts off site, best way to do this is using remote desktop to the computer then create a VPN connection on the company internet line with the exchange on it, and it …

0
37
Member Avatar for Renzokouken_22

 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at D:\xampp\htdocs\plaincart\library\config.php:1) in D:\xampp\htdocs\plaincart\library\config.php on line 7 Hello guys.. Above are the errors that …

Member Avatar for Renzokouken_22
0
243
Member Avatar for deboogeek

I googled for a software that can save complete windows sessions but couldn't find one. Is there any such software that will save the curren windows session, including any open explorer windows, applications, files etc? I really need this since I have to open quite many files and then close …

0
45
Member Avatar for becraig

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 …

Member Avatar for peter_budo
0
72
Member Avatar for AutoPython

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?

Member Avatar for AutoPython
0
331
Member Avatar for OmniX

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 …

0
79
Member Avatar for hwd888

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? …

0
87
Member Avatar for mjc225

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 …

Member Avatar for sknake
0
102
Member Avatar for mohankumar554

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 …

Member Avatar for Ramy Mahrous
-1
208
Member Avatar for srihari3d

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();?> …

0
47
Member Avatar for freshfitz

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" …

Member Avatar for freshfitz
0
304
Member Avatar for ronny22

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 …

Member Avatar for darkagn
0
157

The End.