Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

using session managment in perl
hi all,
i have created a user screen which when one logs in can access some
applications and logs out..
but my problem is when i press back button on my browser i am going
back to my user page..this should not happen..i must get a error
message that u are logged out or login screen must appear...
can any one please guide me how should i approch for such kind of
conditions..
thanks in advance
madan chowdary


Report this thread to moderator Post Follow-up to this message
Old Post
madan
07-25-06 08:58 AM


Re: using session managment in perl
why dont u use cookies?

madan wrote:
> hi all,
> i have created a user screen which when one logs in can access some
> applications and logs out..
> but my problem is when i press back button on my browser i am going
> back to my user page..this should not happen..i must get a error
> message that u are logged out or login screen must appear...
> can any one please guide me how should i approch for such kind of
> conditions..
> thanks in advance
> madan chowdary


Report this thread to moderator Post Follow-up to this message
Old Post
rajeev.networld@gmail.com
07-25-06 12:58 PM


Re: using session managment in perl
yep...i want to create sessions rether than going for cookies...


Report this thread to moderator Post Follow-up to this message
Old Post
narra.madan@gmail.com
07-25-06 12:58 PM


Re: using session managment in perl
narra.madan@gmail.com wrote in news:1153834667.772755.248810
@p79g2000cwp.googlegroups.com:

> yep...i want to create sessions rether than going for cookies...

What does that even mean?

Please quote an appropriate amount of context.

* Cookies and session management go hand in hand in most cases.

* CGI questions are off-topic in this newsgroup. Methods for managing CGI
sessions are independent of the particular language used to implement them,
and should be discussed in a CGI group.

* On the other hand, if you have some Perl code that is, say, using
CGI::Session, and is not behaving as you expect, then by all means, ask a
specific question, *AFTER* reading the posting guidelines for this group.

Sinan

Report this thread to moderator Post Follow-up to this message
Old Post
A. Sinan Unur
07-25-06 11:59 PM


Re: using session managment in perl
A. Sinan Unur wrote:
> * CGI questions are off-topic in this newsgroup.

Only if they have no Perl content.

> Methods for managing CGI
> sessions are independent of the particular language used to implement them
,
> and should be discussed in a CGI group.

How to do it in Perl is well as on-topic here as are e.g.
- how to send emails using Perl,
- how to access a database using Perl, or
- how to parse a text file using Perl.

> * On the other hand, if you have some Perl code that is, say, using
> CGI::Session, and is not behaving as you expect, then by all means, ask a
> specific question, *AFTER* reading the posting guidelines for this group.

Precisely.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
07-25-06 11:59 PM


Re: using session managment in perl
NNTP-Posting-Host: pam-jy03p01.human.cornell.edu
X-Trace: ruby.cit.cornell.edu 1153847663 1299 128.253.251.245 (25 Jul 2006 1
7:14:23 GMT)
X-Complaints-To: newsmgr@cornell.edu
NNTP-Posting-Date: Tue, 25 Jul 2006 17:14:23 +0000 (UTC)
User-Agent: Xnews/5.04.25
Xref: number1.nntp.dca.giganews.com comp.lang.perl.misc:610396

Gunnar Hjalmarsson <noreply@gunnar.cc> wrote in
news:4imuqmF4gnj6U1@individual.net:

> A. Sinan Unur wrote: 
>
> Only if they have no Perl content.

There was no Perl content in the OP:

http://groups.google.com/group/comp...81bcc45d6684b5b

Sinan

Report this thread to moderator Post Follow-up to this message
Old Post
A. Sinan Unur
07-25-06 11:59 PM


Re: using session managment in perl
A. Sinan Unur wrote:
> Gunnar Hjalmarsson <noreply@gunnar.cc> wrote in
> news:4imuqmF4gnj6U1@individual.net: 
>
> There was no Perl content in the OP:
>
> http://groups.google.com/group/comp...81bcc45d6684b5b

True, but that does not make the above unqualified statement correct.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
07-25-06 11:59 PM


Re: using session managment in perl
Gunnar Hjalmarsson <noreply@gunnar.cc> wrote in news:4in3alF4clkvU1
@individual.net:

> A. Sinan Unur wrote: 
>
> True, but that does not make the above unqualified statement correct.
>

No, but the rest of the message explained what to do to make the post
topical. I did not see the point of your correction, especially given that
I stated, in the same post:

On the other hand, if you have some Perl code that is, say, using
CGI::Session, and is not behaving as you expect, then by all means,
ask a specific question, *AFTER* reading the posting guidelines for
this group.


I still do not see the point of your correction. Not every fact needs to be
mentioned in the same sentence, and, overall, my response did convey the
fact that Perl questions might have something to do with CGI are not ruled
out, just CGI questions that have no Perl content.

I am going to stop now.

Sinan

Report this thread to moderator Post Follow-up to this message
Old Post
A. Sinan Unur
07-25-06 11:59 PM


Re: using session managment in perl
A. Sinan Unur wrote:
> Gunnar Hjalmarsson wrote: 
>
> No, but the rest of the message explained what to do to make the post
> topical. I did not see the point of your correction,

Maybe I'm oversensitive...

> my response did convey the
> fact that Perl questions might have something to do with CGI are not ruled
> out, just CGI questions that have no Perl content.

Unfortunately, that's not an undisputed fact. I often see remarks here,
apparently with the aim to discourage people from posting anything CGI
related. That's the reason for my oversensitiveness.

OTOH, you often post helpful replies to CGI related Perl questions, so
it was kind of unfair to 'pick' on you. Sorry about that. ;-)

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

Report this thread to moderator Post Follow-up to this message
Old Post
Gunnar Hjalmarsson
07-25-06 11:59 PM


Re: using session managment in perl
Gunnar Hjalmarsson <noreply@gunnar.cc> wrote in
news:4info7F4jedoU1@individual.net:

> A. Sinan Unur wrote:

[ back and forth argument snipped  ;-) ]
 
>
> Unfortunately, that's not an undisputed fact. I often see remarks
> here, apparently with the aim to discourage people from posting
> anything CGI related. That's the reason for my oversensitiveness.

Understood. I think we both agree that it is unfortunate when legitimate
Perl questions that are related to CGI are considered off-topic.

> OTOH, you often post helpful replies to CGI related Perl questions, so
> it was kind of unfair to 'pick' on you. Sorry about that. ;-)

No need to apologize. We both stated our positions, and re-reading my
posts, I think I might be the oversensitive one ;-)

Sinan
--
A. Sinan Unur <1usa@llenroc.ude.invalid>
(remove .invalid and reverse each component for email address)

comp.lang.perl.misc guidelines on the WWW:
http://augustmail.com/~tadmc/clpmis...guidelines.html


Report this thread to moderator Post Follow-up to this message
Old Post
A. Sinan Unur
07-25-06 11:59 PM


Sponsored Links




Last Thread Next Thread Next
Pages (2): [1] 2 »
Search this forum -> 
Post New Thread

PERL Miscellaneous archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 03:16 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.