273 Topics

Member Avatar for
Member Avatar for nick3592

hi i have done a header redirect to stop from the resending data in most browser but seem to have a problem with showing messages after that's done. After the user finishes doing something he or she gets redirected and there[s a message in a session either error or success. …

Member Avatar for Zagga
0
127
Member Avatar for bouhbob

Hi, I am pretty new to php, but I am loving it! Finding out what's wrong, and finding the solution. But this time I can't find it! You can see down there a copy screen of the website I'm doing. There is a menu to the left "Clothing, Bathtime..." When …

Member Avatar for EverWebby
0
1K
Member Avatar for Dartz654

When a user logs in, it redirects them to a page that prints their account name, thus showing that they are logged in. But if they leave the page and come back they get logged out, and if they refresh the page they get logged out. I don't know why …

Member Avatar for Dartz654
-1
144
Member Avatar for Towlie

I want to be able to access whatever the user types into my testCreation.html in a session created in testCheck.php. I then want that session to be accessed by testView.php. I can't seem to get to that point so any help is grealy appreciated. testCreation.html: [code=javascript] <html xmlns="http://www.w3.org/1999/xhtml" > <head …

Member Avatar for edup_pt
0
139
Member Avatar for Rick The Mad

Hi, I am creating a web application that will be accessed by several different users who need to be coupled and to interact. More specifically, I would like to let both of them call the same servlet instance and make the servlet start his operations only when both users already …

Member Avatar for ~s.o.s~
0
86
Member Avatar for tokenjoker187

I am trying to use the session start function but everytime I try to use it, it gives 2 errors: [QUOTE] Cannot send session cookie - headers already sent by (output started at /var/www/form/send.php:11) in /var/www/form/send.php on line 12[/QUOTE] [QUOTE]Cannot send session cache limiter - headers already sent (output started …

Member Avatar for tokenjoker187
0
181
Member Avatar for LloydFarrell

Hi all, I have been doing some reading into security with PHP session data and I have changed a few things around in my script - For example - I am now using $securecode=sha1(uniqid(rand())); as before I was using $securecode=md5(uniqid(rand())); As reading through daniweb has taught me that sha1 is …

Member Avatar for Zagga
0
515
Member Avatar for dnanetwork

how do you measure the size of session in (KB, MB....) how can you say my session object is consuming ? space in (Kb & MB) is there any limit to session size ( Some guy said 2GB :) ) Adapost help..!

Member Avatar for dnanetwork
0
98
Member Avatar for Stefano Mtangoo

Hi All, I have JSP and Servlet that need to "talk" to each other. Actually I need to get record from database, fill it in JSP file. I have created Servlet that does the query and gets the result. I need those results to be shown on JSP file. In …

Member Avatar for Stefano Mtangoo
0
135
Member Avatar for Chammarox

Hi All the members in DaniWeb :cool: I need to know how to end a created session when user log out from the web site..I have created a web-site for my assignment..and i put Sessions..Each time user log in to system it create session object and identifies the user.. What …

Member Avatar for paslanmaz
0
135
Member Avatar for realnsleo

Hi everyone!!!! i have a problem with storing session variables from a file called through ajax. i have a page with a form which i submit using ajax. the page is called add.php, when you hit submit, the form is sent using $(post) to a file called addaction.php where i …

Member Avatar for chrishea
0
78
Member Avatar for David Mac

The users of my web application are complaining that the 20 min default timeout is too short and they don't want to have to keep logging in. I have tried changing the timeout from the default 20 mins but whatever I set it to it seems to have a max …

Member Avatar for David Mac
0
281
Member Avatar for rukshilag

hi - i have coded a seacrch box and its results are displayed in a tabular form. i have also a print button which when pressed shud create a pdf based on that table that is displayed. for this i have a separate page called pdf.php. i am using ezpdf …

0
70
Member Avatar for LloydFarrell

hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session …

Member Avatar for qazplm114477
0
7K
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
98
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
150
Member Avatar for CoolAtt

hi all, i want to use curl to automatically login on behalf of a user & get the SessionID for that user. i will configure php to store the sessionID in the url instead in a cookie on the user's browser. once curl has login on behalf of the user, …

Member Avatar for cwarn23
0
103
Member Avatar for gptArun

Hey All, How to get current user login values ? There is any Session variable or somethings like that ?

Member Avatar for Ramesh S
0
91
Member Avatar for CoolAtt

Hi All, I have [B]roundcube webmail,phpBB forum & wiki[/B] hosted on one machine using [B]apache virtual hosts[/B]. The problem is i have to log into each of the services(mail.domain.mu , forum.domain.mu ,wiki.domain.mu) to get access. All of the 3 sites uses LDAP for authentication and hence a user provides same …

0
117
Member Avatar for lll_ari_lll

hello friends, i am a newbie in php.. doing project for my college. doing it with a lot of help with this site n some others but stuck in the login page, it seems either there is some problem in databse connection or session registration.. when i put username n …

Member Avatar for lll_ari_lll
0
119
Member Avatar for ronaldpaul

In my project i wanna use the last_insert_id() to be stored in a session variable and after that i wanna use that session variable i.e., the value of last_insert_id() in another page. How can i carry the last_insert_id() to some other page using session or storing it in a session …

Member Avatar for CFROG
0
155
Member Avatar for karamjeet2004

i want to send value to another jsp page from sessions i add the attribute session=true in both jsp pages but i am getting error during running mode can u find any errors in code [B]try123.jsp[/B] [CODE]<% String val=(String)session.getAttribute("itemValue").toString(); %> <TD>IMAGE NAME</TD> <TD><INPUT TYPE=text NAME="img" VALUE="<%=val%>"></TD> </TR> <tr>[/CODE] [B]try.jsp[/B] [CODE]String …

Member Avatar for javaAddict
0
143
Member Avatar for dylank

Hey guys at DaniWeb! I have spent a lot of time debugging this PHP/AJAX page, and it finally (sort of) works. Index.php can read and write to processLogin.php so I have a page that can log you in without refreshing the page. However, I cant figure out how to set …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for :Francis:

I have a web application that I upload an image to, the image is subsequently saved to the server's temp folder and displayed via a webhandler on the aspx page. the code for the aspx: [code]<img src="PreviewImageQualityHandler.ashx" alt="Picture not loaded" runat="server" id="imagePreview" />[/code] The code for uploading the picture and …

0
70
Member Avatar for jpegny

Hi, I'm using visual studio 2008 and it's built in development webserver, with C# as the codebehind language. I'm trying to make a simple webapp in which you click a button which sets a session var (that part is working) and in the pageload i'm checking to see if it's …

Member Avatar for Ramesh S
0
79
Member Avatar for mruthyunjaya

Hi all, i am designing a web interface for a system for which I was forced to use C for CGI application. as you all know, no session management in C, i am using cookies after normal validation. my issue is, with 2 or more people accessing the website from …

0
90
Member Avatar for culebrin

Hi, There's not much to add to the title... after I assign the complex object to the session object, the following response.redirect method stops working and hangs the development server. (I tried without it and it works great) maybe there is some considerations to care about session objects, I don't …

0
96
Member Avatar for kjelle392

Hello friends! I'm just beginning with JavaScript (and Ajax). My loginscript now works with Ajax - that is; the script is sending a request to the servers PHP script to check username and password, but I wonder what that script should return - and how to use that response. Either …

Member Avatar for ryan_vietnow
0
349
Member Avatar for Clawsy

Hi I'm making a login panel which sends data to the same page and I use a class made by me and called 'user' that stored user information and autentification. When I refresh the page I check if any session was created before (it was created at first successfull login …

Member Avatar for darius_#2
0
229
Member Avatar for SKANK!!!!!

i found that your supposed to use this: session.gc_maxlifetime but i dont know how. does anyone know how i can destroy a log in session so the user wont be logged in 30 minutes later. ?

Member Avatar for SKANK!!!!!
0
235

The End.