4,124 Topics

Member Avatar for
Member Avatar for Sanjanapm

[code] #!/usr/bin/perl $run_env = "test"; $parm_file = "wf_PBM_DHT_CS90_CH_Hist_Extract.parm"; $sys_id = "PWLP"; #div name based on the session's call $div = "WLD"; $CH_TYPE = "CS90CH"; #process name will be the process name in the trigger file $PROCESS_NAME = "CH_CS90"; #sys_name would map to the applicable Tier e.g. FAC=Facets, WGS=WGS, STR=STAR…. $sys_name …

Member Avatar for d5e5
0
230
Member Avatar for Blaine Tuisee

I have been running this application for some time and have just recently begun to receive this error message. I would be eternally grateful if someone could shed some light on what causes this error or it's possible sideffects. [CODE]04/27/2010 00:06:16.016 [ERROR] com.ghd.domain.GHSessionFactory.createSession(GHSessionFactory.java:129) - An open thread session is being …

0
102
Member Avatar for Feenix45

[CODE]<?php //redirect the user to login if session is invalid include("validate_session.php"); $alert =0; $userid=$_SESSION["userid"]; //Connecting to database include("db_connect.php"); foreach ($_POST as $key => $value) if (substr($key,0,8) =="txt_chk_") { $alert =1; $itemid=substr($key,8,3); $purtime=substr($key,11,8); $purdate=substr($key,19,10); $itemdate=substr($key,8); foreach ($_POST as $key1 => $value1) if ($key<>$key1) { $tempstr= substr($key1,0,strlen($key1)-strlen($itemdate)); if (substr($key1,strlen($tempstr))==$itemdate) { if ($tempstr=="txt_qty_") …

Member Avatar for kek1205
0
132
Member Avatar for Slade

This article will inform you more about forms Authentication using ASP .NET and Visual Basic .net (VB .NET). Before I continue I must stress that the web.config is xml and must be used with extreme sensitivity in mind. All tags must be closed etc. or else you will end up …

Member Avatar for kvprajapati
0
3K
Member Avatar for Jibe7

Hello and thank you for looking at this, I have been having troubles with my computer. It is running windows 7. Randomly Internet Explorer has a pop-up saying "You last browsing session closed unexpectedly". The odd thing is that internet explorer does not show up in applications and does not …

Member Avatar for pcs365_2
0
301
Member Avatar for chermesh

I'm trying to connect my new pc with a SyncMaster 940bw monitir and with an LG tv set. The monitor is connected by analog connection and the tv, by hdmi. The system is a tri-boot os system: winxp pro, Hebrew version of win7 and English version of win7. What's my …

Member Avatar for Ponomous
0
158
Member Avatar for Pritha17

hello, I'm using eclipse platform to try to transfer file using Java mail API, but facing the following exception java.lang.NoClassDefFoundError: com/sun/mail/util/SharedByteArrayInputStream I know this is a common problem, but i've tried all possible measures to get rid of this exception here's what i tried * I downloaded javamail-1.4.3 from sun …

Member Avatar for parry_kulk
1
4K
Member Avatar for chukka32

Hi all, I need a small bit of help with my Black Jack game in VB 2005. Basically I have the game pretty much complete seems to work perfectly, I have two counters set up, one for dealers games won and the second one for players games won which both …

Member Avatar for Oxiegen
0
85
Member Avatar for zura

helo, i'm newbie here.... i trying to make multiple login in one login page.. admin go to page admin.php and counselor goes to counselor.php.. i had try so many things n it doesn't work.. all this in database and it have it's own access level.. like admin =1 and counselor …

Member Avatar for colweb
0
67
Member Avatar for Robot1199

i need a little help here, what i need to do is create a ticket purchasing page where once the user has made a selection he/she is prompted for amount .And to pay that amount buttons are used .every time a button is clicked the amount reduces. I also need …

0
25
Member Avatar for atagaew

Hi guys! I have really frustrating situation going with my computer. Almost every day my computer is going down with BSOD that saying that something is wrong with my Tcpip.sys. Googled for solutions for days, scanned for viruses with different programs, installed firewall, but nothing, nothing came out. Please, help! …

0
43
Member Avatar for SMHouston

I'm having a little trouble understanding saving state data properly. What I have is 3 forms, which go into a summary, and then the user can click on register and register for the seminars. The data is then submitted to a database. Each form has a next and back button. …

Member Avatar for SMHouston
0
174
Member Avatar for tien113

hi, i have some problem with my project, can u help me??? I google but no solution found...:( I used hibernate, strust 2 and spring to manage transaction. I want to try catch username in New.java, username is a PK, this pape throw can throw excetption error but the server …

Member Avatar for tien113
0
2K
Member Avatar for indu_ss4

Hi! i'm a new user of jsf. I'm developing a web application in jsf 2.0 . There is a page in my application for which i have given session scope. In this page i retrieve values in a datatable from mysql database according to the chosen combo box values. I …

Member Avatar for indu_ss4
0
1K
Member Avatar for magic88

Hey guys, In JSP I used to create my sessions in my servlet like this: [CODE]session.setAttribute("user", username);[/CODE] and then call it from a JSP page like this: [CODE]<%= session.getAttribute("user") %>[/CODE] However this does not work in JSPX pages and its driving me crazy. Can any one help me? Any help …

Member Avatar for peter_budo
0
98
Member Avatar for IndranilM

Hello i have a login page so once the user enters the correct details he enters into the home page. Now i want to implement 2 things 1. once he clicks the button 'log out' he must be redirected to a page saying" logged out successfully " n even if …

Member Avatar for IndranilM
0
248
Member Avatar for sushil231088

How to know the session time out is finished and the session is no more? I actually want to make the user logout automatically after one minute.

Member Avatar for diafol
0
43
Member Avatar for vitroblue

hi i want to display the selected values from a "select" object into a new window with jsp but no matter what i do, it always writes "null" can you help me? this is mi code [CODE] <form id="form1" name="form1" method="post" onsubmit="revisar()" action="echo.jsp"> <table width="699" border="0" cellspacing="10" cellpadding="4"> <tr> <th …

Member Avatar for javaAddict
0
160
Member Avatar for nonshatter

Hey, I have a combo box and want to populate it with the selected value upon page reload. For a normal text field I would usually do something like this: [CODE] <input type="text" name="title" value="<?php echo $_SESSION['sellform']['title']; ?>"> [/CODE] How could I do the same for a drop-down box? E.g: …

Member Avatar for whiteyoh
0
1K
Member Avatar for Moderns

Hi, In part of my form, I have 3 inputs (one textarea and two text inputs), I am validating their value format using AJAX (each input triggers error message on its label in case format is wrong). Also I have one button, "NOT submit button" (type = button). Now, when …

Member Avatar for Moderns
0
113
Member Avatar for Ycefire

Hello, I have some troubles with mine code which selects data from database and show them in the GridView. ASPX page: 1grid view, 1 button and 2 text boxes code behind: [CODE] Protected Sub cmdVyhledat_Click() Handles cmdVyhledat.Click SqlDataSource1.DataBind() GridView1.DataBind() End Sub Protected Sub gridview_refresh() Handles SqlDataSource1.DataBinding If (txtCisloReklamace.Text <> "") …

Member Avatar for Mohtshm
0
218
Member Avatar for melphic

Hi all, in my app a user places an order and should be assigned a new session id. Then they should be able to place a new order using this session id so as not to ovewrite their previous orders data. Unfortunately the only way I can get a new …

Member Avatar for melphic
0
104
Member Avatar for samlabs821

[code=Java]public class logout extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { process(request,response); } public void process(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { HttpSession session = request.getSession(); session.invalidate(); response.sendRedirect("index.jsp"); } }[/code] session is …

Member Avatar for lara.harsh
0
130
Member Avatar for gdp_87

Hi i am new to asp.net and have followed a tutorial in creating a shopping cart and thats working fine. I would like to modify it to produce the products from my database rather than get static products from a class which it does now. Sorry for the masses of …

Member Avatar for gdp_87
0
434
Member Avatar for shanprab
Member Avatar for mitulmodi.rcc
0
101
Member Avatar for steve48

I have an integer variable Purchaser1PersonKey that I would like to pass as a session variable to another page. I have made Purchaser1PersonKey the CommandArgument of my LinkButton. I must be doing something wrong because when I breakpoint on response. redirect the session variable is empty. Any help will be …

Member Avatar for kvprajapati
0
53
Member Avatar for QWaz

Hi, I'm fairly new to php and am having a lot of trouble with a simple little select problem. I have tried it about 20 different ways and it just keeps spitting out errors and not working My code is: [code] <?php session_start(); // built in php function to start …

Member Avatar for QWaz
0
951
Member Avatar for Ycefire

Hello, Im having some troubles with strings connecting. [CODE] retezec = "" & Session("jmeno") & ")" & " AND (table1.application_ID = " & txtCisloReklamace.Text Dim ret As String = "SELECT table.data, table.XX, table2.name FROM table INNER JOIN table2 ON table.kod_vyrobku = table2.kod_vyrobku WHERE (table1.some_value= " & retezec & ")"[/CODE] When …

Member Avatar for Ycefire
0
55
Member Avatar for rohitmanhas_12

I am building an application in MasterPage. Now I have an Login page from which my user is redirected to the masterpage when he is loging in. For authentication I am using FormsAuthentication and it works fine. Now when the user is on the MaseterPage I have a logout button. …

Member Avatar for miraclebos
0
85
Member Avatar for andypooz

I'm desperately trying to do some coursework and its not going well. I've been searching for example code for registering a new user to a database. I have a database connection and data access servlets but its riddled with errors. Its building but throwing up apache errors of all types. …

0
54
Member Avatar for rohitmanhas_12

cud anyone tell me what is session in asp.net and how to use it in login pages.... iam working on ASP.NET using C#....

Member Avatar for kvprajapati
0
142
Member Avatar for Ycefire

Hi there, I'm havin a session with value of ID. I need to create a query for GridView to show only values linked with user mentioned in session. So my question is if theres any way how to modify my code which isnt working. [code] <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:DbConnStr …

Member Avatar for Ycefire
0
112
Member Avatar for niths

[QUOTE]hi all, i having a problem. i hav selected a value by radio button and i should pass that value to the 3rd page. so i think i can get that by using session. so can any one help me. thank u.. [/QUOTE] [CODE] <td><input name="radio" type="radio" id="radio[]" checked="checked" value="<?php …

Member Avatar for prem2
0
131
Member Avatar for tomkaczocha

Hi guys, I hope you can help me with a bug. I have an update form to update data in a mysql database. Whenever a user wants to update the picture they uploaded it through the html form. For some reason my mysql querie on line 67 is not updating …

Member Avatar for tomkaczocha
0
145
Member Avatar for danjoe15

The Catch section is always executed even if the Try section has been executed. I am trying to send the user to one page if the delete worked properly and a different page if the delete did not work because of relationships between tables: [CODE] Protected Sub btnDeleteBuilding_Click(ByVal sender As …

Member Avatar for danjoe15
0
105
Member Avatar for tbelczak

I have way too many hours into this and I feel as though it is due to a configuration difference somewhere between the two servers. Here is code for two simple scripts: [B]TEST1.PHP[/B] [code=php] <?php session_start(); $cart[0] = array('item_number' => '12345', 'qty' => '5'); $_SESSION['cart'] = serialize($cart); header('Location: test2.php'); exit(); …

Member Avatar for tbelczak
0
222
Member Avatar for leena_patra

i am trying to make ajax call to a jsp and setting up a few variables using(retrieved from the session) # delimiter using out.println and then use this variable in the response object of onSuccess call back function. and then i have to remove that from the session. But if …

0
67
Member Avatar for Ycefire

Hi there, I'm a beginner in ASP.NET with VB and I'm stuck on problem with a SQL query. I'd like to ask you for advice what does my page or config file miss. thats how my form looks like [CODE] <form id="form1" runat="server"> <div style="margin: 0 auto; width: 180px;"> <asp:Label …

Member Avatar for Ycefire
0
805
Member Avatar for Danny_501

Hi all, Im using hibernate in netbeans to map to a mysql database, but am having problems.... when I open a session: [CODE]Session session = SessionFactoryUtil.getInstance().openSession(); session.beginTransaction();[/CODE] it prints out this in the console:... [COLOR="Red"]12/04/2010 9:50:26 AM org.hibernate.cfg.annotations.Version <clinit> INFO: Hibernate Annotations 3.3.1.GA 12/04/2010 9:50:26 AM org.hibernate.cfg.Environment <clinit> INFO: Hibernate …

0
108
Member Avatar for Mobix

Hello, after one delphi session every one of my single floats has been saving into a wordpad as this weird 2.73500000000000E+0003 2.00000000000000E+0002 notation, same goes with printing is there any way to reverse this ?

Member Avatar for FlamingClaw
0
187
Member Avatar for dan_ord

Hi everyone, having a real headache over arrays at the moment. Had a search through the forums but can't find what im after so i'll begin here. I'm in the process of setting up a shopping cart. I'm pretty much there with it all, however there is one thing which …

Member Avatar for NettSite
0
72
Member Avatar for aditya_22cent

I have created a text box in html and if the string entered by user is a alphabet it will not show any message ,else it should display a error message..These checking validations of textbox is done in java and called in jsp; ---------------------------------------------------------- [B]a.html [/B] [code=html]<font size="4">Enter the search …

Member Avatar for javaAddict
0
136
Member Avatar for kurakar

While i am installing joomla on my domain, showing the error Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\sites\frontpage1\parsuae\webroot\cominfo\installation\installer\models\model.php on line 453 What is this[code]Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:\sites\frontpage1\parsuae\webroot\cominfo\installation\installer\models\model.php on line 453 Code Below, Please help me <?php /** * @version $Id: model.php …

Member Avatar for Encrypted
0
239
Member Avatar for sumansaha1

Hi, i am using a flag in the database to detect if the user is logged in or not. But this flag is updated only if the user logs in or logs out.If the user closes the browser or somehow gets out of the site without logging out he has …

Member Avatar for Freon22
0
100
Member Avatar for elmaami

Hi all I want a help from you about how to make web server and client ,send and receive data over network securely by using encryption algorithms like DES,3DES and hash techniques. I want the encryption to use a shared secret key which is valid for one session.This is generated …

0
37
Member Avatar for rohitmanhas_12

I need to control timeout values for each user. Im having trouble to make it work. When the session timouts out I want to redirect the user to the login page...cud anyone help me with this..

Member Avatar for kvprajapati
0
65
Member Avatar for prad27

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at W:\www\prads_website\index.php:15) in W:\www\prads_website\inc\adminloginpage.php on line 2 Hi everyone, I am new to all this so I do apologise if ive made silly mistakes. I keep getting this message and ive banged my head searching through …

Member Avatar for prad27
0
150
Member Avatar for Asimina

i have this php code below: i want to display users that are online . if they are not active the next 20 min then there name will not be displayed and there status will be turned OFF in th database table tng_users field status but i also want all …

Member Avatar for metalix
0
167
Member Avatar for novellino

I am trying to make a form using html and JSP, get the data and save them in an XML file. I use also Tomcat 1.6 as server. For generating the XML I am using the XStream library. I have a Customer.java class with get and set methods for a …

Member Avatar for novellino
0
528
Member Avatar for metalix

I spent a long time figuring this out on the internet so I will post this now to hopefully help others with the same problem. this is to display the currently logged in user using mysql. this is so they log in with a username, and it displays actual name. …

Member Avatar for cwarn23
0
114

The End.