Date: 09/21/00
- Next message: Mikey: "RE: [phplib] $sess->mode='post' workaround"
- Previous message: Max Derkachev: "Re: [phplib] $sess->mode='post' workaround"
- In reply to: Max Derkachev: "Re: [phplib] $sess->mode='post' workaround"
- Next in thread: Mikey: "RE: [phplib] $sess->mode='post' workaround"
- Reply: Mikey: "RE: [phplib] $sess->mode='post' workaround"
- Reply: Max Derkachev: "Re: [phplib] $sess->mode='post' workaround"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> Spruce Weber wrote:
>
> > This is an interesting idea. I'm not positive, but I think you need to
make
> > sure your onClick event handler returns false so that the link that was
> > clicked on is not followed.
>
> While it is not so convenient to do such things with JavaScript (since it
could be not supported or forbidden at client,
> as much as cookies), I don't see any other ways to implement session id
propagation other than cookies or post, which does
> not put session crap in urls and a lot of mess in search engines. Then, I
don't see any method to make a client to post
> something when it intends to follow a link except for a javascript onClick
event. Maybe another ways around?
Yes, there is another way but I wouldn't recommend it to anyone - to make
all your links images. Thus you
can make those images submit buttons in forms with "ACTION" the page you
want to link to. And in those
forms there would be a hidden field - the session ID.
This is not convenient or practical - I just wanted to mention it.
> Anyway, I've made a slightly hacked variant of session.inc which
implements $sess->mode = 'post' workarounds and now
> testing it. I attached it to the message, so you could look at it and use
it.
> Comments and improvements are welcome :).
>
> --
> Best regards,
> Max A. Derkachev mailto:kot <email protected>
> Symbol-Plus Publishing Ltd.
> phone: +7 (812) 265-0054, 265-1228, phone/fax: 567-8775
> http://www.Books.Ru -- All Books of Russia
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Mikey: "RE: [phplib] $sess->mode='post' workaround"
- Previous message: Max Derkachev: "Re: [phplib] $sess->mode='post' workaround"
- In reply to: Max Derkachev: "Re: [phplib] $sess->mode='post' workaround"
- Next in thread: Mikey: "RE: [phplib] $sess->mode='post' workaround"
- Reply: Mikey: "RE: [phplib] $sess->mode='post' workaround"
- Reply: Max Derkachev: "Re: [phplib] $sess->mode='post' workaround"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

