4,124 Topics

Member Avatar for
Member Avatar for Newbie 123

Hi I have the following [CODE]$_SESSION('userid') = true;[/CODE] How is it i would get the user to logout? I guess by deleting the session? Thanks

Member Avatar for Newbie 123
0
81
Member Avatar for jbh6gc

Hello all, A friend and I are working on a website and we are having some issues with the timeout functionality. We set $_SESSION['activeTime'] to the current time at login and then We are using the code below at the top of every page to set the session time every …

Member Avatar for Designer_101
0
695
Member Avatar for brechtjah

Hi, I wanted to post my login system I will use for an upcoming site for rating. I want to ensure a safe login, so please, if you know anything about this and see a security leak somewhere... Please post, any remarks are welcome. How it works: the script generates …

Member Avatar for somedude3488
0
224
Member Avatar for baudday

Hi, I would like to set variables from session variables. Like this: [CODE=php] $fname=$_SESSION['fname']; $lname=$_SESSION['lname']; $email=$_SESSION['email']; $month=$_SESSION['month']; $day=$_SESSION['day']; $year=$_SESSION['year']; $city=$_SESSION['city']; $state=$_SESSION['state']; $uname=$_SESSION['uname']; $pass=$_SESSION['pass']; $encpass=$_SESSION['encpass'];[/CODE] I think this is triggering the following error: Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised …

Member Avatar for baudday
0
93
Member Avatar for anju458

I have to navigate between the records from the dept table. But when I am tryng to do that I get stuck at teh second record. and teh inc value gets reset to 0. Please let me know an alternative to this. I guess maintaining session state is an option …

Member Avatar for Ramy Mahrous
0
88
Member Avatar for weblover

hi all...how are u? i have a question , i'm creatingn a php login system for a forum but i'm new in php and i'm not able to put session timing for the login ..i want when the user login to register the session and then after login in ..if …

Member Avatar for Designer_101
0
108
Member Avatar for vishy_85

hello all , i have my idl defined as follows : [code=cplusplus] #ifndef schedule_Mgmt_idl #define schedule_Mgmt_idl module schedule_Mgmt { //*************************** Structures ******************************* struct planData { string planName; string planDescription; string scriptExec; string startDate; string startTime; string stopDate; string stopTime; string delayInt; boolean repeatDelay; boolean notOnWeekend; boolean validity; string tempTime; string …

Member Avatar for vishy_85
0
151
Member Avatar for tomdegetel

Hi, I have a web application running on a servlet container(2.3). All the servlets inherit from one single servlet that inherit from HttpServlet and implements a service() method. The service() method of the main page provides authentication mechanism and also a protection against 2x clicks and refresh from user's browser. …

0
38
Member Avatar for deepika1

i have installed a new open source cms i would like to add up the login session unset session and destroy the session i wanted to know where do i place the coding. i have no idea about php any help would be appreciated

Member Avatar for OmniX
0
62
Member Avatar for kritro

I have a query [code=language] SELECT radcheck.id, radcheck.UserName, radcheck.epost, radcheck.fylke, MAX( radacct.AcctStopTime ) AS AcctStopTime FROM radcheck LEFT JOIN radacct ON radcheck.UserName LIKE radacct.UserName WHERE AcctStopTime LIKE '%2009-03-19%' GROUP BY radcheck.id[/code] I'm looking for a way to use wilcards, > <, NOT LIKE etc on only the highest date value …

Member Avatar for kritro
0
101
Member Avatar for justinmyoung

I hate to come back so soon, since I was all proud of myself for working out the last issue. This is a different issue, and beyond the scope of my knowledge. The pagination itself WORKS FINE. However, I'm trying to use a tooltip script on an image hover, and …

Member Avatar for justinmyoung
0
181
Member Avatar for justinmyoung

here's the link to the script: [URL="http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm"]http://www.dynamicdrive.com/dynamicindex17/ajaxpaginate/index.htm[/URL] I got the script working, but I can't manage to move the numbers from the top...to the bottom. I tried nearly every combination I can think of. Here's a screenshot of where the numbers are placed currently: [IMG]http://www.justinmarcusdesign.com/image.jpg[/IMG] [B][COLOR="Red"]Here's the HTML:[/COLOR][/B] [ICODE] <!DOCTYPE …

Member Avatar for justinmyoung
0
193
Member Avatar for theighost

Hello, I have a bit of a problem, I am think its not the script that has the problem, but wanted to be sure before contacting the server masters. In my website, I can make cookies, and sessions, I can echo them successfully. But when I logout, it doesn't work, …

Member Avatar for theighost
0
103
Member Avatar for samespace

Hi! I recently started learning how to implement MVC. I'm supposed to update a photo caption, but whenever I hit the "Update!" button, an error message appears saying, "The server encountered an internal error () that prevented it from fulfilling this request." note: i'm using netbeans 6.5 This is in …

0
46
Member Avatar for zach175

I have a C++ app that uses the CInternetSession API to try and download a file across the internet. I want to authenticate before allowing any file downloads. Right now, the application should be passing the username and password using: CHttpFile->pFile->SetOption(INTERNET_OPTION_USERNAME) AND INTERNET_OPTION_USERNAME(INTERNET_OPTION_PASSWORD) Is there any way to connect this …

0
47
Member Avatar for krunalpatel1410

hi, i m running several command in telnet/ssh command prompt it is a linux base server. now i want to add some [B]clear screen [/B]and [B]capture the [/B]command prompt data into text file. whole session can write into file. and this to facility can be given into menu bar specified …

0
55
Member Avatar for stevehart808

Hi all, I've got this problem where I'm using one "include header" for my website. It has in it the navigation and because my site is spread out in and out of folders I need to use absolute links to connect all the various pages. i.e [code] <a href="<?php echo …

Member Avatar for chrishea
0
109
Member Avatar for choudhuryshouvi

Hello all folks... I have an asp.net web application which uses Microsoft Sql Server 2000 as its backend....Our application is a Payroll Management System.. The system is fully completed and uploaded to the local server in our client offices....The system is build on WinXp platform...the apps is running in the …

Member Avatar for choudhuryshouvi
0
145
Member Avatar for ramesh.a

I have two website projects in vs 2008 and i need to integrate with these two projects and i want session to be shared amoung the projects, Is it possible in vs2008?

Member Avatar for ramesh.a
0
85
Member Avatar for avi_2009

Hi Everyone: I am trying to use google code rest-client ([url]http://code.google.com/p/rest-client/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount[/url]) to query a REST web server. But, I could not use it properly as after logging in to the web server, the session expires immediately. I am just wondering if it is by design or I am doing something …

0
76
Member Avatar for avi_2009

Hi Everyone: I am trying to use google code rest-client ([url]http://code.google.com/p/rest-client/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+Size+DownloadCount[/url]) to query a REST web server. But, I could not use it properly as after logging in to the web server, the session expires immediately. I am just wondering if it is by design or I am doing something …

0
40
Member Avatar for atplerry

Hello i have problem loading my gridview with data if i include a where clause to it to pull out records using either session or querystring but without a query string it will retrieve out information but i have been working on this for days but no solution your concern …

0
94
Member Avatar for david.1982

Hi Everyone, New ASP.NET (C#) programmer here. Have a quick question that I'm sure you all will laugh at me for asking :) I'm using a Master Page to control my site's pages. On the master page I have a User Control that consists of two Labels, one for success …

Member Avatar for david.1982
0
277
Member Avatar for Watcint

Hey guys weather its windows 7 or vista i found these grate steps online to start,run and shutdown your vista operating system and make all those 3 main things happen much faster and smoothley. 1. Restrict the no. of start-ups. Why have programs starting up when you dont really use …

Member Avatar for jeff_win_team
0
177
Member Avatar for PinoyDev

Good day.! How to clear all session variable when they click back on the internet explorer.?Assuming that i am on info.php page, when i click back on that page, all session on the whole site will be set to null. Pls help if this is possible. Thank you.God bless on …

Member Avatar for PinoyDev
0
154
Member Avatar for senthil12345

Hi all, I am using JCIFS jar to connect samba server. Is there any possible to increase session time.

Member Avatar for verruckt24
0
68
Member Avatar for ceyesuma

[i] Topic The topic of this question is: tracking the content of an array in a session bean debug sessionbean1.java [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is to try to find the best …

0
57
Member Avatar for ceyesuma

Name: The name of this file is table_autoincrementedId Hello and Thank you in advance for any assistance. Purpose: The project is a Visual web JavaServerFaces project that is in the same folder and that imports the app library. Modeled after the tutorial at Using Java Persistence API Within a Visual …

Member Avatar for ceyesuma
0
117
Member Avatar for alex_p0pa

Hello, this is my first post about such things and the reason for this is that i have to make some webparts in asp and i've tried everything but i can't make it work. What i need is a webpart that has a listbox with items generated after i get …

0
76
Member Avatar for vipinsgangwar

Hi all, i am in a typical situation. wen i am signing into my application. After copying the i am signing out. now i paste the copied url in the same browser, the page got opened. while have checked that the session is null. Can anyone provide me the solution …

Member Avatar for Bandar.M.A
0
75
Member Avatar for gagan22

Hi everyone, I found that problem is not in session probem is that when i am login in one php page where i already used session but when i am doing login with login name and password . I have seen that when i am printing value login name and …

Member Avatar for nav33n
0
203
Member Avatar for rajivkalra

We are using a widget which makes ajax calls to the server and is associated with the web application that is using state service mode to store session. W e need to check at the time of making an ajax call that whether we can query state service to check …

0
42
Member Avatar for veledrom

Hi, Can i use sleep() for 1 hour? I mean is there any expiry time for it or browser or session so on. Purpose is to send 2000 emails every one hour. Thanks

Member Avatar for digital-ether
0
198
Member Avatar for ceyesuma

[i] Name: The name of this question is: carbon_copy [/i] [icode] Hello and Thank you in advance for any assistance. [/icode] [u] [b] Purpose: [/b] [/u] [b] The purpose of this code is create a desktop app and web app. The web app has the destop apps library. Create a …

0
59
Member Avatar for staticuky

Im looking to do a bit of research on a topic, however I do not really know what to search to start. What do you call the implied software or terminology for a workstation-server system; where a user must log in with a username and password to gain access to …

Member Avatar for SouthSeaPirate
0
103
Member Avatar for vartikachandra

i have to invoke a servlet from jsp and pass many variables to the servlet. my jsp code is:: [code] <%@ page import="java.io.*" %> <%@ page import="java.lang.*" %> <%@ page import="java.sql.*" %> <%@ page import="javax.servlet.*" %> <%@ page import="javax.servlet.http.*" %> <%@ page import="java.util.*" %> <% String flag1=(String)session.getAttribute("flag"); out.println(flag1); if(flag1=="signin") { …

Member Avatar for peter_budo
0
1K
Member Avatar for webCurious

Hi, There is a problem with session ID haunting me for a couple of days. In Mozilla Firefox, the session ID changes every time the page is refreshed. But in IE it does not change and is working correctly. Is this because of some browser settings? Since I am checking …

Member Avatar for webCurious
0
610
Member Avatar for rlaknar

I am trying to develop pages in JSP for e-mail.I have created login page and other pages.Now after the user authentication is finished and I need to send the user name to retrieve mails.I heard sessions can be used.I don't know anything about session creation and passing attributes of a …

Member Avatar for verruckt24
0
95
Member Avatar for AniWeb

Hello All, How I can edit rows of gridview using Command Field ‘Edit,Update,Cancel’ of the gridview? I bind the gridview with the Session variable, which contain and returns the DataTable, the coding is as follows:- [code] protected void Page_Load(object sender, EventArgs e) { GridView1.DataSource = (DataTable)Session["MyShoppingCart"]; GridView1.DataBind(); }[/code] One more …

Member Avatar for greeny_1984
0
343
Member Avatar for lehe

Hi, These days I have to install a higher version of bash under my $HOME on my office server. I hope to make the new bash automatically run both when I ssh to my server and when I boot into my office computer which loads my $HOME on the server. …

Member Avatar for eggi
0
166
Member Avatar for atplerry

Hello i am designing a website that the security need to be taking care of now i am in thought on what decision to make on either using Query String OR session/cookies but i dont know the use of query string but i have use session to complete the website …

0
102
Member Avatar for jaiprakash15

Dear Friends, I am working on a project where i have a JSP page(ex1.jsp) and in that JSP page i have 2 frames((ex2.jsp on top) and (ex3.jsp in bottom))...When ex1.jsp is called..it has to load ex2.jsp frame and ex3.jsp by passing some paramenters to it.. Please see the code.. [code] …

Member Avatar for jaiprakash15
0
472
Member Avatar for samaybhavsar

HI All, I want to make my own chat system, something similar to HCL, CrafySyntax. To start with I have some questions. 1) When does a session ends ? 2) How do I get to know on the server end if the session has ended ? 3) How will I …

0
44
Member Avatar for somesh_nag

Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If …

Member Avatar for ravinder007
0
1K
Member Avatar for shasha821110

Hi, all i want to have the "add to cart" function in my website which use session function: Well basically the cart is mostly like others website cart: remember which have already been added and could add something more Assume i have class.php, A.php and B.php In my A.php [CODE=php]<?php …

Member Avatar for shasha821110
0
90
Member Avatar for Craig2231

Hi everyone, Im making a game that requires a login. Ive got stuck on a problem; When a user tries to log in, it wont accept it, its in the database, the script checks the database, but it still says no Here is my login check: [code=php]<? session_start(); header("Cache-control: private"); …

Member Avatar for Craig2231
0
110
Member Avatar for sorryrobotxoxo

So I was watching some Katt Williams and tons of pop-up's started to happen. Obviously the site was bad. Ever since then, i've had lots of problems. Right before the log in screen i get an application error. It says spoolsv.exe or something is the application. It also pop's up …

Member Avatar for jholland1964
0
222
Member Avatar for ceyesuma

[I] Name: [/I] The name of this question is bundled_resources [ICODE] Hello and Thank you in advance for any assistance. [/ICODE] [U] [B] Purpose: [/B] [/U] [B] The purpose of this code is to change the label of a commandButton by hijacking the resource bundle functionality and setting the label …

0
39
Member Avatar for ravengal_420

I am having problems with my computer; my internet is almost at a stand still. I was downloading at 40KB/sec (which is pretty pathetic) and now I am 15KB/sec. I dont know if it is something on my computer or just my computer itself. Anyways here is my hijack log …

Member Avatar for jholland1964
0
194
Member Avatar for ceyesuma

[code] [/code] Hello I have a couple classes here and a resource bundles and a JSF that sends the key to the class (MessageProvider) and MessageManager.java gets the resource for the selectOneMenu component label. I would like to change the label on the submit button depending on the choice from …

Member Avatar for ceyesuma
0
104

The End.