3,454 Topics
MY HTML CODE IS GIVEN BELOW: [code=HTML] {foreach from=$heading_array item=hdng key=col_name name=headng_loop} <td width="40px;" id='column{$col_name}' name= {$col_name} sort="" {if $align_view.$col_name.CWDTH neq '0' or $align_view.$col_name.CWDTH neq ''} style="padding-left:3px;word-wrap:break-word;{*$align_view.$col_name.CWDTH*};"{/if} {if $wrapflag neq '' or $wrapflag neq 0}style='vertical-align:top;'{/if}>{if $drag_flg eq 1} <table height=100% cellSpacing=0 cellPadding=0 border=0 style=""> <thead> <tr> <td>{/if}{if $align_view.$col_name.CWDTH eq '0' …
[code] <%@page import="java.util.*"%> <%@include file="mycon.jsp" %> <% String[] weight = request.getParameterValues("weight"); int[] a = (int[]) session.getAttribute("qarray"); int[] b = (int[]) session.getAttribute("qnarray"); double nweight[] = new double[500]; char cat[] = new char[50]; char cat1[] = {'a','b','c','d','e','f','g'}; char cat2[]={'k','l','m','n','o','p'}; int n = 0; int count = 0, k = 0; double sum …
I am using vb6 and Oracle as Frontend and backend.Data Report is being used for reporting,but the problem is even after closing the report, the Session for that report still exists. I needed a way wherein, I can dispose the Session when the report's unload event is fired.
Without using some new language like Perl, how would one be able to access a web-page, given specific session information? And also, which C/C++ libraries are good for doing this kind of job? If this is at all a weird question, I'll explain. I'd like to be able to write …
Hello Tenchnocrats, I am getting the following error while invoking the "getSession" method of sessionmanager webservice deployed in weblogic OCSG. I have created a soap message properly but its giving error as "javax.xml.soap.SOAPException: No Security header in message but required by policy." The SOAP message created is by below code …
hi, currently i'm working on new project, where once login using a particular id, it can not be use again to login in same machine even with different browser or even in other machine. how can done this. can i create a separate table in database so i can save …
i want to display alert on the basis of responce text in AJAX, meaning to say i am getting responce text in id "responce " through php file by AJAX method, when responce is incorrect it shows alert before form submission the code is as follow, [ICODE] <?php session_start(); ?> …
Hi, I don't know what i have done but i want to recover code below. It is very long, i give you little part of it. Any idea how to recover it. Thanks [code] &lt;p&gt;&lt;span class=&quot;caps&quot;&gt;APRIL&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;span class=&quot;caps&quot;&gt;SAT&lt;/span&gt; 18&lt;br&gt; &lt;span class=&quot;caps&quot;&gt;OPEN TUTORIAL &lt;/span&gt;(10.00- 4.00)&lt;br&gt; This day will include a session …
I have a old web application in VS2003. It has a user Logon but some time it will store worng user Id in database, I can't figure it out what is the wrong. It is not happening everytime only sometime. I am trying to create that condition but It won't …
Hi there, I have a div tag and working fine till yesterday. Just now I found out a problem which has to be rectified quickly. I have a div tag. When time out is approaching then we need to pop up the message using div tag. Everything is working fine. …
Hi, I am writing a perl script and need some in extracting some data. Basically it is a Log Analyzer and there are multiple log files from where the data comes. i am done with the grep part of the userID with this code- [Code] #!/usr/bin/perl -w open(VALUE, "< arcotwebfort_20May09_00_03_55.log"); …
Hi , I am trying to bind a drop down and checkbox with values from two tables from database. The 1st table has categories and is binded to the DDL and the 2nd table has sub categories and is binded to checkbox and inter related by using the category ID …
log.info("Able to establish mail session"); props.setProperty("resource.loader", "class"); props.setProperty("class.resource.loader.class", "org.apache." + [CODE]"velocity.runtime.resource.loader.ClasspathResourceLoader"); props.setProperty("file.resource.loader.path", "/"); Velocity.init(props); Template template = Velocity.getTemplate("MarketingAlert.html"); log.info("Able to find Template."); VelocityContext vContext = new VelocityContext(); vContext.put("url", url); vContext.put("userId", createdBy.toUpperCase()); vContext.put("appName", applicationName); vContext.put("custName", customerName); StringWriter writer = new StringWriter(); template.merge(vContext, writer);[/CODE] IM working on enhancement...im getting the below exception: …
Hi Everyone, I'm new and i'm looking for a solution for my problem. There is an external website returning a value after the compilation of a two inputs form. I want to catch the page sending a value in my PHP page. My purpose is to verify if the external …
Ok, searched a bit and found a few relevant posts, but they didn't directly address my problem, so here I am... Basically, I'm trying to write a program that will, hopefully, do the following things in sequential order: 1) Accept certain login credentials (user test, password 1234) and auto-login to …
Hi, I have a perl-cgi script (on apache server) that is running fine when one user runs it. The perl-cgi scripts runs batch files using system command and has some other rules. How do i make it run for many users? My basic knowledge tells me that I have to …
Hello everyone: I'm a bit frustrated because I'm getting an error on one website but not on another one for the same web page. This tells me there's something different about the PHP settings that is different, but I'm not sure where to begin. This is the error I get: …
Hi. I am having problems getting PHP to insert data into a MYSQL data base. I am using the following variations of syntax. [code=php] mysql_query("INSERT INTO table member VALUES ('$var1', '$var2', '$var3')") or die("couldn't add new user"); [/code] and also with session variables as well [code=php] mysql_query("INSERT INTO table member …
Hi to ALL I tried to upload file using JSP and Oracle. The first page is page.jsp which the user choose the file /////////////// [code=jsp]<%@ page language="java" %> <%@ page session="true" %> <HTml> <HEAD><TITLE>Display file upload form to the user</TITLE></HEAD> <BODY> <%=session.getAttribute("Name")%> <FORM ENCTYPE="multipart/form-data" ACTION= "upload_page.jsp" METHOD=POST> <br><br><br> <center> <table …
Here is my code [code] Dim i As Integer Dim arrList As ArrayList If Session("Cart") Is Nothing Then arrList = New ArrayList() Else arrList = CType(Session("Cart"), ArrayList) Session("cart") = arrList Label1.Text = arrList.Count End If Dim s = arrList.Count For i = 0 To s - 1 Dim dvdid As …
Hi there, I have a div tag and working fine till yesterday. Just now I found out a problem which has to be rectified quickly. I have a div tag. When time out is approaching then we need to pop up the message using div tag. Everything is working fine. …
Hi everyone, I'm embarrased to ask as I am so new at this but here goes anyway: I have been trying to create a simple secure login screen that when successfully logged into, will allow the user access to other services. I found, modified a good tutorial and all works …
i made a script to create a directory and file within the directory for someone who is registering at my site also knows as [url]www.socialemo.com/theirusername/index.php[/url] but im stuck on the index.php file I DONT KNOW HOW TO WRITE HTML AND PHP TO THE FILE how am i supposed to write …
I want to say thanks in advance for any help. I have searched the many cfdirectory results and can not get what I need. I am doing a simple CFDIRECTORY tag. See below. [icode]<cfdirectory directory="MyDirectory\Statements\" action="list" name="Get_Statements" filter="*.pdf" recurse="no">[/icode] Then I am making a query of the directory list. [code=coldfusion]<cfquery …
the most important thing is that people cant access the members only page without loggin in first. the second most important thing is actually loggin the person in and being able to like store a session i guess thats what it is that makes it so they can visit thir …
Hi, I have a coding problem. I know it is all over the place because I am confuse to what to do with it. The way that I had it in the first coding example if a customer chooses two items of the same product but in different colors my …
Dear all, I use asp:button field in my gridview [CODE] <asp:GridView ID="GV" runat="server" DataSourceID="SDSInHouseRate" Width="100%" AutoGenerateColumns="False" OnRowCommand="GV_RowCommand" OnRowCreated="GV_RowCreated"> <Columns> <asp:buttonfield buttontype="Button" commandname="edit" text="Edit"/> <asp:buttonfield buttontype="Button" commandname="approve" text="Approve"/> <asp:BoundField DataField="Seq" HeaderText="Seq" SortExpression="Seq" /> <asp:BoundField DataField="CurrencyID" HeaderText="CurrencyID" SortExpression="CurrencyID" /> <asp:BoundField DataField="EffectiveDate" HeaderText="Effective Date" SortExpression="EffectiveDate" DataFormatString="{0:yyyy-MM-dd}" HtmlEncode="False" /> <asp:BoundField DataField="Remark" HeaderText="Remark" SortExpression="Remark" /> …
Hi, I use PHP and have a question. As cookies and sessions have their pros and cons, I don’t know which one is better for shopping card. If I use cookie then user my block it. Therefore, my e-commerce web site won’t serve the purposes. If I use session then …
Hi, I get an error when i try to echo my cookie. [inlinecode]Notice: unserialize() [function.unserialize]: Error at offset 0 of 12 bytes in...[/inlinecode] I cannot find a solution. Help please. Thanks [code] class MyCookie { public function __construct($cookieName, $sessionId) { if(! isset($_COOKIE[$cookieName])) { $cookieValue["SESSION"] = $sessionId; setcookie($cookieName, $cookieValue, time()+60*60*24*7); } …
Hi I am creating session for my website,i want to expire the session after particular time for the user logged in,i want to retrieve current time in PHP,i used a time() function in php to get current time,but i got sequence of number.can oyu help me how to get current …
Hi There, I need help badly on the div tags. I dont have much knowledge on div tags I have a div tag in my code and it should be show when there is an inactivity. Its working fine, until today I found a bug. When I scroll my browser …
Dear php pro guys i need your help please; i have 3 files; index.php login.php and member.php my major problem i cant prevent the link to be copied after logging in in php4 ---file:memeber.php--- if ($_SESSION["login"] !=1 -- it works great when the user log in and link can not …
[code]<%@ page import="java.sql.*" %> <%@ page import="java.io.*" %> <%@ page language="java" session="true" %> <html> <body> <% //Getting the text values from create login page String lid = request.getParameter("loginid"); String lpin = request.getParameter("loginpin"); String loginid = lid.trim(); String loginpin = lpin.trim(); [COLOR="red"]out.println(loginid); out.println(loginpin);[/COLOR] // Connect to Database to retrive all the …
Hello, I have been looking at tutorials and pages on the net regarding cookies and sessions. Originally I thought my script was using both but then noticed it doesnt. I wanted to know if there is anything wrong with this code as my new server doesnt seem to like my …
hi, i ll create a session for a program and save the login time. how can i give the session expire time and where can i give it. Thanks
Having trouble getting my AttachmentServlet.java and FilterServelt.java to compile the following is the code (for which the error applies) then the error for each. AttachmentServlet.java [code] HttpSession session = request.getSession(); ServletOutputStream out = response.getOutputStream(); int msgNum = Integer.parseInt(request.getParameter("message")); int partNum = Integer.parseInt(request.getParameter("part")); MailUserBean mailuser = (MailUserBean)session.getAttribute("mailuser"); [/code] cannot find symbol …
Hi I am using the iframe on parent page. At the top of this parent page I have included the header.jsp which is having logout link. After clicking on that link the session gets invalidate properly and application is directed on the login page. Now when I click on the …
Hey all, I know this is Windows Vista and Windows 7 forums but there was no category for Windows Server 2008 so I posted this here. I plan on setting up a window server 2008 and I am currently using their trial version to see if it can fulfill my …
Hi, How to get all session in an application which is login by different users....
Hey everyone I've made this website and want to use PHP to allow users to register and login. I've created a database and connected to it, i've also created the table to store data from the registration page. I've tested it and PHP for the registration page seems to be …
Hi There, I have created a javascript count down timer to be used in asp.net. Thanks to the author of the article for making my life half simple. Basically, I create a countdown time for user to register (20 mins). If the countdown is around 5 min (that means the …
I'm fairly new at PHP but up to this point I've been able to fix problems I've come across. My problem is I get this warning at the bottom of my members page after logging in. If you refresh that page it disappears. Here's the warning: [B]Warning: Unknown: Your script …
I like to script php, and lately i was looking for a way to create a 100% dynamic page in php, with the least possible overhead and create a rich user experiance. I say this is a "New" PHP structure because I have come up with the idea myself, that …
Hi. I am learing JSP and testing mail. but I don't know why error generate. Please help me. Source code. [code] package tags; import javax.mail.*; import javax.mail.internet.*; import java.util.*; public class HelloMail { public static void main(String args[])throws MessagingException { String name ="jsp learning"; String from = "kim.ilikeenglish.gc@gmail.com"; String to …
Hello there, I've been working on a shopping cart by following certain examples and tweaking the code here and there as needed, but this particular cart requires something similar to discount codes. This company provides free upgrades or 50% off certain items depending on weither or not the customer is …
Hi So... I've been reading up a little bit about cookies and security. Only to find that you should encrypt the data in them and that they can be hacked by using javascript code. Is this really the only way to hack/steal cookies? In my quest to create a safe …
I'm trying to create an array to display the last 5 products a customer has viewed. The array is a 2 dimensional array like below... $RView= array( array( ID => "1001", RefCode => "Ref_01", Name => "Name_01" ), ... array( ID => "1005", RefCode => "Ref_05", Name => "Name_05" ) …
Hello, I have a website which uses a session and then also creates a number of cookies. My knowledge of both sessions and cookies isnt great so I was wondering if anyone may know the reason for my problem .... Sometimes when I log into the site it allows access …
Hi there, I want to use a web timer control in asp.net but the problem is I dont know how to use it. :( The requirement is as follows: The user will login to register for exam. Solution I hv designed: Once he has login we will enable the login …
i am trying to create a friend suggest script where users having mutual friends will be suggested to become each others friend.... my table contains two fields -> username, friend somehow i managed to get the usernames having mutual friends with the session user... now my query result in a …
The End.