473,513 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How can I transmit session id in login php

Dear friends,

I am a DBA and new to php. I am developing a
website using php 5.2.1 with mysql. I want to transmit session id in
login and useing certain form to only validated users.

Now My attached form can be used anybody by simple type full URL
in address bar. I want to use that form only validated users. I used
with some variable but it cann't worked in some other pages.

How can I transmit session id ?

I am stuck at this stage and nobody is helping me here???

Thankyou in advance.

situ

Jul 26 '07 #1
4 2892
On 26 Jul, 06:25, upendra...@gmail.com wrote:
Dear friends,

I am a DBA and new to php. I am developing a
website using php 5.2.1 with mysql. I want to transmit session id in
login and useing certain form to only validated users.

Now My attached form can be used anybody by simple type full URL
in address bar. I want to use that form only validated users. I used
with some variable but it cann't worked in some other pages.

How can I transmit session id ?

I am stuck at this stage and nobody is helping me here???

Thankyou in advance.

situ
"... nobody is helping me here???"

As far as I can see lots of people have tried to help you. The fact
that you are unable to follow their advice is down to you.

Jul 26 '07 #2
On Jul 26, 1:45 pm, Captain Paralytic <paul_laut...@yahoo.comwrote:
On 26 Jul, 06:25, upendra...@gmail.com wrote:
Dear friends,
I am a DBA and new to php. I am developing a
website using php 5.2.1 with mysql. I want to transmit session id in
login and useing certain form to only validated users.
Now My attached form can be used anybody by simple type full URL
in address bar. I want to use that form only validated users. I used
with some variable but it cann't worked in some other pages.
How can I transmit session id ?
I am stuck at this stage and nobody is helping me here???
Thankyou in advance.
situ

"... nobody is helping me here???"

As far as I can see lots of people have tried to help you. The fact
that you are unable to follow their advice is down to you.


plz don't go for "...nobody is helping here???" hear 'here' means
in my place where I live not in this supereb community...where lots of
time I got the right help...

Jul 26 '07 #3
On 26 Jul, 10:01, upendra...@gmail.com wrote:
On Jul 26, 1:45 pm, Captain Paralytic <paul_laut...@yahoo.comwrote:


On 26 Jul, 06:25, upendra...@gmail.com wrote:
Dear friends,
I am a DBA and new to php. I am developing a
website using php 5.2.1 with mysql. I want to transmit session id in
login and useing certain form to only validated users.
Now My attached form can be used anybody by simple type full URL
in address bar. I want to use that form only validated users. I used
with some variable but it cann't worked in some other pages.
How can I transmit session id ?
I am stuck at this stage and nobody is helping me here???
Thankyou in advance.
situ
"... nobody is helping me here???"
As far as I can see lots of people have tried to help you. The fact
that you are unable to follow their advice is down to you.

plz don't go for "...nobody is helping here???" hear 'here' means
in my place where I live not in this supereb community...where lots of
time I got the right help...- Hide quoted text -

- Show quoted text -
Well when you put "here" in this forum, then this forum is where
"here" is!

Jul 26 '07 #4
up********@gmail.com wrote:
Dear friends,

I am a DBA and new to php. I am developing a
website using php 5.2.1 with mysql. I want to transmit session id in
login and useing certain form to only validated users.

Now My attached form can be used anybody by simple type full URL
in address bar. I want to use that form only validated users. I used
with some variable but it cann't worked in some other pages.

How can I transmit session id ?

I am stuck at this stage and nobody is helping me here???

Thankyou in advance.

situ
Session ID is **Supposed** to be transferred by the browser automatically.
So your page need only to check from the session whether or not the user
has been authenticated or not.

PLEASE READ: http://www.php.net/manual/en/ref.session.php

Hendri kurniawan
Jul 26 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
7770
by: Paul | last post by:
Hmmm, didn't seem to work. I have set session.use_cookies = 1 and session.use_trans_sid = 1 in my php.ini file. Index.php contains:...
6
6555
by: Ruben van Engelenburg | last post by:
Hi all, I have a strange problem. I have a login procedure that uses a mysql database in which the users are stored. The login procedure is pretty straightforward. In every page I unclude my...
9
2398
by: Brian Burgess | last post by:
Hi all, Anyone know of any issues with setting the value of a Session object to the value of a submitted form item via 'Session("mySessionObj")=Request.Form("myFrmElem")' ? In my case the...
14
4034
by: Darrin J Olson | last post by:
I am trying to end a session for a site without having to completely close the browser to end it. When I access the site and log in it works fine. If I log out and in with a different account...
3
3550
by: Tom | last post by:
Hi I have a web application using asp.net and c#. User has to login to the application with his username and pwd. However, I do not allow other user uses the same username and pwd to login, i.e....
10
2165
by: Li Pang | last post by:
Hi, I created a html page from which I give a link to another web site. The new site is opened in a new window. When I opened multiple windows, they all have the same SessionID. I want ot know...
7
3342
by: le0 | last post by:
Hello Guys, I have this problem on my page. Im doing my "Logoff" portion, everytime I click "Logoff" then click the Back button in my browser the previous page still appears. Heres my code...
2
2627
by: Gordon Burditt | last post by:
I had this idea about preventing session fixation, and I'm wondering what anyone else thinks about it. The idea is, essentially, don't allow session ids that YOUR PHP didn't generate (and aren't...
43
3382
by: davidkoree | last post by:
I mean not about cookie. Does it have something to do with operating system or browser plugin? I appreciate any help.
0
7264
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7166
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7386
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5689
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5094
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4749
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3236
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
805
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
459
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.