4,124 Topics

Member Avatar for
Member Avatar for abrars

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 …

Member Avatar for serkan sendur
0
64
Member Avatar for learnerasp

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

Member Avatar for Airshow
0
172
Member Avatar for Cheif Druid

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 …

Member Avatar for Cheif Druid
0
67
Member Avatar for SKANK!!!!!

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 …

0
71
Member Avatar for onsir

I have design report with ireport, if that report i run in netbeans its ok, but while i move to drive c: got error like this "error displaying report page. see the console for details" if i try in command prompt get message [code] java.lang.NullPointerException at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown …

0
105
Member Avatar for partyball

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 …

Member Avatar for partyball
0
108
Member Avatar for SKANK!!!!!

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 …

0
61
Member Avatar for Kusno

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

Member Avatar for shefeekj
1
174
Member Avatar for veledrom

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 …

Member Avatar for almostbob
0
97
Member Avatar for veledrom

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); } …

Member Avatar for veledrom
0
62
Member Avatar for vidhyaponnusamy

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 …

Member Avatar for BzzBee
0
96
Member Avatar for learnerasp

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 …

Member Avatar for billymcguffin
0
119
Member Avatar for charbel007

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 …

Member Avatar for charbel007
0
200
Member Avatar for pinaz

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

Member Avatar for pinaz
0
343
Member Avatar for justted

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 …

Member Avatar for somedude3488
0
752
Member Avatar for ranyapalanivel

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

Member Avatar for cwarn23
0
58
Member Avatar for dazzagaelic

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 …

Member Avatar for dazzagaelic
0
181
Member Avatar for rahul_ramteke

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 …

0
51
Member Avatar for phpdude89

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 …

0
81
Member Avatar for lijojoy_hai

Hi, How to get all session in an application which is login by different users....

Member Avatar for Ancient Dragon
0
113
Member Avatar for brandguru

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 …

Member Avatar for brandguru
0
119
Member Avatar for learnerasp

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 …

Member Avatar for essential
0
222
Member Avatar for moonie9

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 …

Member Avatar for moonie9
0
190
Member Avatar for Merlin33069

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 …

Member Avatar for Merlin33069
0
445
Member Avatar for mr psh

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 …

Member Avatar for deepalihanand
0
138
Member Avatar for kssi89

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 …

Member Avatar for ShawnCplus
0
90
Member Avatar for brechtjah

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 …

Member Avatar for blocblue
0
124
Member Avatar for ticallian

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

Member Avatar for ticallian
0
196
Member Avatar for justted

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 …

0
70
Member Avatar for vishy_85

hello all , im having a problem throwing corba system exception the following is my code [code] #include <createPlan.h> #include <writeLog.h> bool createPlanFunc(const schedule_Mgmt::planData & newPlanData1) ACE_THROW_SPEC (( CORBA::SystemException , schedule_Mgmt::alreadyExists , schedule_Mgmt::unknownErr )) { try { ofstream outfile("/cc/smc3/ss_pool4/elem_level_mgmt/tools/Schedule_Mgmt/Schedule_Mgmt/src/scheduleLog.txt",ios::app); bool repeatdelay_bool; bool notonweekend_bool; bool validity_bool; const char* prepeatdelay; const char* …

0
67
Member Avatar for barbz

Nothing happens when i select a feed.. can you help me figure out what's wrong/missing? [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <title>RSS Reader</title> <script type="text/javascript" src="jquery-1.2.6.min.js" charset="utf-8"> function get_rss_feed() { $("#feedContent").empty(); $.get('http://barbz.0fees.net/proxy.php?url='+$('#diffFeeds').val(), function(d) { $(d).find('item').each(function() { var …

Member Avatar for barbz
0
187
Member Avatar for learnerasp

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 …

Member Avatar for mahendrabilla
0
171
Member Avatar for engg.gaurav

how can i pass the array which have some record fetched from the database from one php page to another desire php page without using session

Member Avatar for ShawnCplus
0
50
Member Avatar for fraggie

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 …

Member Avatar for fraggie
0
55
Member Avatar for ajithraj

Hi I am using mozilla to test my application. I tested two subscription of my application in two different mozilla browsers simultaneously. Here I Found details are swapped. Because mozilla using the same Session ID for the two browser. This is a flaw in mozilla or whether this issue is …

Member Avatar for ajithraj
0
107
Member Avatar for baudday

I've been working at this and I just can't get this. Can anyone please tell me why this just will not work? [CODE=php] function procNewsStory() { global $session, $database; $admin = $session->username; $date = time(); $title=$_POST['title']; $story=$_POST['story']; $story_id = time(); $q = "INSERT INTO " .TBL_SITE_NEWS. " VALUES ('$admin', '$time', …

Member Avatar for baudday
0
292
Member Avatar for Ortal

So Ive been working really hard to get a working ASP captcha to incorporate into my form (note, classic ASP not .net). I FINALLY got it working in a test area, the form looks like this: [CODE] <form action="<%=Request.ServerVariables("SCRIPT_NAME")%>" method="post"> <table border="0" width="570" align="center" cellpadding="1" cellspacing="0"> <tr> <td align="right" valign="center"><%=font4%><font …

Member Avatar for navertech
0
156
Member Avatar for darkagn

Hi all, We are experiencing the following problem with the latest versions of IE and FF in regards to sessions. If anyone has encountered these problems before, any insight would be valuable. [B]In FF:[/B] An ongoing problem where sessions are saved across multiple tabs and windows in the same machine. …

Member Avatar for nutty2chat
0
237
Member Avatar for veledrom

Hi, This is my array and i want to make [2] => 1 to [2] => 4 How do i do it? Thanks [code] Array ( [SESSION] => hs6f5ul7q9dic13nv7crikf0p2 [USER] => Guest [5] => 3 [1] => 3 [2] => 1 [7] => 1 ) [/code] This code doesn't do …

Member Avatar for veledrom
0
63
Member Avatar for khanayub_chand

I am using VB6 and Oracle in my project.When I open an .exe one session gets created. If the application is doing some insert or Update to my Datatbase then, I want a Session to be created and after completing that transaction(DML Statement) ,I want that sesssion to be destroyed …

Member Avatar for debasisdas
0
84
Member Avatar for aixing

I'm having some problems in creating sessions in JSP pages. I'm new to it so I need some advices. [CODE]<%@ page import="entity.*" %> <% [COLOR="Red"]HttpSession session=request.getSession(true);[/COLOR] String id = request.getParameter("idNo"); String fullName = request.getParameter("fullName"); String maritalStatus = request.getParameter("maritalStatus"); String height = request.getParameter("height"); String weight = request.getParameter("weight"); String gender = request.getParameter("gender"); …

Member Avatar for peter_budo
0
102
Member Avatar for Ethan James

Hi Guys I need some help. I am trying to modify a website which is based on template engines and I am not sure how to do the following. I have added a drop down box to the header.tmp and the form action posts the user selection (user_loc) to another …

Member Avatar for Airshow
0
115
Member Avatar for Alv45525

helo guys...am doing my website in asp.net and its gonna be an ecommerce site with shopping cart and all..I learned that i will need to makke use of session in the login form and pass it to the other forms...can anyone help and gimme some explanation

Member Avatar for Alv45525
0
190
Member Avatar for jaechamp

Hello everyone please help me? I'm not computer wiz but can get by. I'm using window xp professional with sp3 and ie 7. the problem is i'm trying to use nettalk but it keep saying the line is busy or invalid session description. I'd use this nettalk on my computer …

0
30
Member Avatar for poparosa

Hi. Intel Xeon CPU 2.40Ghz -- 2GB Ram Windows 2003 R2 Standard edition - (SP 2 applied) SQLServer 2008 Management Studio 2008 (v 10.0.1600.22) I am trying to add a maintenance job using the wizard to perform a backup and I get almost to the end and then I see …

Member Avatar for poparosa
0
79
Member Avatar for shki_80

HI All, I have ollowing code to delete the image by using File.Delete(fileNamefordel + ".jpg"); function. It works fine on local server but not on uploaded server. string fileNamefordel = Server.MapPath("StdImage") + "\\" + (Session["lCandidateID"]).ToString(); if (File.Exists(fileNamefordel + ".png")) { File.Delete(fileNamefordel + ".png"); } if (File.Exists(fileNamefordel + ".gif")) { File.Delete(fileNamefordel …

Member Avatar for serkan sendur
0
299
Member Avatar for ramdaol

I have a network with 2 desktops running Windows Vista, 1 desktop running Windows XP, and 2 laptops running Windows Vista. I have a Linksys NLSU2 disk server with a 250 Gb drive attached to it. This drive is shared all over the network. From one of the desktops running …

Member Avatar for ramdaol
0
138
Member Avatar for justinmyoung

I'm working on implementing a php registration/login script. When a user registers and then login - they are directed to a page that I would like to display a form, such as you would see in a contest. The person would fill out the form, entering the information into the …

Member Avatar for rm_daniweb
0
3K
Member Avatar for Debangana

Hi I have written a ftp script in perl.It seems to work fine but for some servers it throws an error "Bad file number" while trying to close the connection.What can be the reason for this?How should I resolve it? Following is the ftp section from my code: [code]if (!$ftp->get($ftp_FileList, …

Member Avatar for Debangana
0
236
Member Avatar for nschessnerd

Hey, I want to integrate a phpbb login with my site so i added the following code: [code]<?php define('IN_PHPBB', true); $phpbb_root_path = "../forum/"; $phpEx = substr(strrchr(__FILE__, '.'), 1); include($phpbb_root_path . 'common.' . $phpEx); include($phpbb_root_path . 'includes/functions_display.' . $phpEx); include($phpbb_root_path . 'includes/bbcode.' . $phpEx); // Start session management $user->session_begin(); $auth->acl($user->data); ?>[/code] …

0
60

The End.