279 Topics

Member Avatar for
Member Avatar for Farhad.idrees

hi i have one page where i will get Categories of Products and i want to make session of those Categories..But when i referesh page session break...my code is.. [CODE] session_start(); $_Session['P_Category'] = $_GET['P_Category']; ////line 8 $P_Category =$_Session['P_Category']; $query = "select * from tblProducts_info where P_Category = '$P_Category'"; $result = …

Member Avatar for mamdouh ramadan
0
96
Member Avatar for masterjiraya

you may download [URL="https://skydrive.live.com/embedicon.aspx/.Public/CLC.zip?cid=3e21e1e16478087a&sc=documents"]this[/URL] to see the whole thesis program. I'm more for now on functionality than design interface. this about a problem on the get_value.php to the receipt.php the problem: I can get now the value using session functions but the problem is.... the list of checked items from …

Member Avatar for ko ko
0
309
Member Avatar for G_Waddell

Hi We have two identical web servers in a farm and I need them to be able to share Session variables as I do not know which machine the user will be using at any given time i.e. if a user where to log in to a site on server1 …

Member Avatar for vikramrandhawa
0
231
Member Avatar for an00p

Hello Friends, I want the following issue to be resolved: 1. page results.php shows the users list (sql query results). This page also stores all user_id to an array $_SESSION['user_ids']. And when I click to view details of a user, user_view.php shows the details of that user. 2. I want …

Member Avatar for diafol
0
163
Member Avatar for megachip04

I have a form in account.php that is prefilled with the user's current info but can be changed and then when you submit, it updates the database. However, when returned to the page after the update, the prefilled text is not updated. It only updates if you re-log in. At …

Member Avatar for ddymacek
0
8K
Member Avatar for atrueresistance

Hello all, I am trying to transfer some variables to another page for editing. I am having troubles with the checkboxes. [CODE]GridView1.Rows(e.NewEditIndex).Cells(12).Text & "~\/~" & _[/CODE] is a checkbox and when passed and split it comes up as a empty string. I know there has to be a way to …

0
106
Member Avatar for klemme

Hi all, I am trying to create a small login system, but so far I suck at it. I have a form in one page. It contains only: EMAIL, PASSWORD. I want to do this: When the form has been submitted to the processing page, I am trying to check, …

Member Avatar for ko ko
0
183
Member Avatar for RazorRamon

Im thinking about taking on a chat room php based project. I want to make sure my logic is right though. This is very raw so please feel free to contribute if you see any problems that might occur. [B][U]MYSQL[/U][/B] [U]TABLES[/U] Username chatroom1 chatroom2 etc.. [B][U]PHP[/U][/B] [U]Sign up.php[/U] Insert username …

Member Avatar for FreddieBambino
0
176
Member Avatar for begueradj

Hello people, If I want to access to my admin back-end, you will get a form to input your name and password. I have created a class that sets my session in a file called [CODE]StartSession.class.php [/CODE]here it is: [CODE] <?php class StartSession{ static $admin_s; static $password_s; function __consrtuct($admin_session,$password_session){ session_start(); …

Member Avatar for burgercho
0
180
Member Avatar for arshi9464

i making a system, in which at max 10 users can login and work independently. But the problem is that when a user logs out, i am just redirecting him to the login page, i want to end that session, so that IF HE CLICKS ON THE BACK BUTTON, HE …

Member Avatar for javaAddict
0
81
Member Avatar for llamaboy

Hi all, I have few php pages. One is a dynamic form, one is an file holding some arrays, one is a script that is the action for the form and the other two are to update the array. What I am trying to do is append an array using …

Member Avatar for llamaboy
0
195
Member Avatar for designalex

Hi, its me again.:scared: im using the following code to destroy my session but instead of removing the session, it just empties the data, for e.g: when i start the session a file is created, after storing my data in the session the file could be 2 or 3 kb …

Member Avatar for SRocks
0
205
Member Avatar for vishalbhavsar

hi all, i tried following code for session management bt i dnt knw where it went wrong? can anyone please help me solve the problem. i want to restrict user going on the prevoius page after logging out when he clicks on the browser's BACK button. ****************************************************************** 1) i created …

Member Avatar for vishalbhavsar
0
404
Member Avatar for designalex

Hi, I am new at php so please I beg of you to go easy on me., I have looked on the site and read many tutorials but I am trying to understand the following: When I call session_start() at the beginning of a page a file gets saved to …

Member Avatar for diafol
0
186
Member Avatar for Nitin Daphale

In my project everywhere I get data(ex.customers) in a datatable and for further use I store it in session as [CODE]Session.Add("DtTblName",dt_Cust);[/CODE] And access through dt_Cust=(DataTable) Session["DtTblName"]; All is working fine, my concern is, Is it a right way to store heavy object like datatable store in session, to avoid database …

Member Avatar for Nitin Daphale
0
854
Member Avatar for mossa

I'm construted a php-class where I create and save some elements in an XMLfile. Outside that class I instantiate the class and save it in a _SESSION['obj'] if the session has not been created yet, otherwise I want to get the document back and add new elements to the XMLfile. …

Member Avatar for mossa
0
320
Member Avatar for raephel

Hi all, I'm facing problem while with invalidating session. Actually I want to redirect a user to the login page if the session is invalid either he presses back button or enters a url. Plz help me. Thanks.

Member Avatar for raephel
0
400
Member Avatar for pinkygirl

Hello! 1) I have no idea how to use Session objects, especially when it has to remember the Session of the logged user. When the user clicks logout, his session should be removed until the next time he logs in. 2) Also, how to validate the user in such a …

Member Avatar for pinkygirl
0
105
Member Avatar for jrotunda85

So this may be a bit of a stupid question but I'm not sure I'm understanding this completely. Currently, my site uses sessions to store username and a UserID across the site; however, the session lacks the ability to remember a user should they close the browser. I want to …

Member Avatar for Wraithmanilian
0
111
Member Avatar for Sorcher

Hello! I am beating myself up here. I use [CODE]include "header";[/CODE] on all pages, at the top, the header contains everything within <header></header> on a html page. But should i use [CODE]session_start();[/CODE] inside the header or before i include header.php on all pages? The session on my website logs out …

Member Avatar for diafol
0
307
Member Avatar for Giggaman

I have the login page created that captures the userid & also an edit page that shows all info of a certain table in database. Trying to figure out when a user views the edit page to have it only show the info the user created. Making it only possible …

Member Avatar for Giggaman
0
286
Member Avatar for TronCraze

Hi all, I have a question regarding PHP login systems. Is it possible to have a login system within another login system. Here's an example: I login to a site and PHP creates the session. I then want to access another page with some higher-secure content so I ask the …

Member Avatar for ahmedelhamahmy
0
123
Member Avatar for lkrvk

Hi bro, this is my frame work of the simple login script. now i want a send the id input to the display.php, without changing this frame work coz i only know this way of making a simple login. [CODE] <?php if (isset($_SESSION['basic_is_logged_in'])) { unset($_SESSION['basic_is_logged_in']); } session_start(); $errorMessage = ''; …

Member Avatar for lkrvk
0
193
Member Avatar for d3rck

Hi everyone, I strongly believe that this topic will not just help me but everyone else using php. My question is how to manually change the settings where in the storage of the sessions is set to the database tables that we will create in the phpmyadmin (mysql)? I have …

Member Avatar for d3rck
0
108
Member Avatar for jrotunda85

I am trying to create a page where a registered user can go, view the information from their profile, and update that information if necessary. I've started putting something together however it's inefficient in my opinion. Here's what I'm trying to figure out: [LIST=1] [*]Is there a way to check …

Member Avatar for diafol
0
173
Member Avatar for feoperro

Hi, If I have a home.php file and I want to store it into a $_SESSION like $_SESSION['home'] = home.php - how do I do that? I tried using include but it doesn't work... I have to have it in a session because it fits into a bigger portion of …

Member Avatar for feoperro
0
126
Member Avatar for surajmatekar

I Want to Store User Name and User Role In Some Way That I Can Used On My Every Page But I Have Already used Session And Cookies So Guys If You Have Any Diffrent Ways Then Show Me Please Thanks

Member Avatar for surajmatekar
0
98
Member Avatar for tcollins412

i am writing a website that loges somebody in by cookies. i want to make it so if the person goes to the main page, (index) but did not log out from their last session it redirects them to the members page. how would i do that? also, how would …

Member Avatar for Stefano Mtangoo
0
116
Member Avatar for jrotunda85

Hey everyone, I'm relatively new to PHP coding and I have a question I've been having trouble finding the answer to - it may be I'm not sure [I]exactly[/I] what I'm needing or what it's called. I am trying to create a very rudimentary login in system where users will …

Member Avatar for jrotunda85
0
205
Member Avatar for devinodaniel

Hello friends, Props to anyone who can help me out on this because I have a feeling it's going to be quite complicated. I've searched and searched and can't seem to find the right answer so I've decided to resort to the brilliance of these forums. Here's my scenario: I …

Member Avatar for devinodaniel
0
1K

The End.